This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to use hal_timer_start ()

my example  project:  wireless_uart_raw_first_pca10056

chip : nrf52840.

i want to make my application timer in the my example project. time tick is 100 msec. in every 100 msec, i want to do my own work in the my example project.

however,

in wireless_uart_raw_first_pca10056 project, i cannot see these APIs ""   nrf_drv_timer_init, nrf_drv_timer_ms_to_ticks "".

these APIs are shown in the nRF5_SDK_15.3.0_59ac345\nRF5_SDK_15.3.0_59ac345\examples\peripheral\timer.

question is how to make application timer in the  wireless_uart_raw_first_pca10056 project ??

thanks a lot.

Parents
  • You could find which SDK examples make use of a particular API call by just searching the 'examples' folder for, eg, "hal_timer_start"

    A valuable part of any software developer's toolkit is something that can do searches through groups of files & folder trees...

    The standard Linux command-line utility is 'grep' - GUI tools are available for Windows.

    A decent programmer's editor should include such a facility (SES has 'find in files').

Reply
  • You could find which SDK examples make use of a particular API call by just searching the 'examples' folder for, eg, "hal_timer_start"

    A valuable part of any software developer's toolkit is something that can do searches through groups of files & folder trees...

    The standard Linux command-line utility is 'grep' - GUI tools are available for Windows.

    A decent programmer's editor should include such a facility (SES has 'find in files').

Children
No Data
Related