テスト用
Fork of nRF51822 by
Diff: nordic/nrf-sdk/app_common/app_timer.h
- Revision:
- 37:c29c330d942c
- Parent:
- 0:eff01767de02
- Child:
- 45:3c4df37ed83e
--- a/nordic/nrf-sdk/app_common/app_timer.h Thu Jul 03 10:01:02 2014 +0100 +++ b/nordic/nrf-sdk/app_common/app_timer.h Mon Jul 07 13:43:31 2014 +0100 @@ -44,7 +44,6 @@ #include <stdint.h> #include <stdbool.h> #include <stdio.h> -#include "nordic_global.h" #include "app_error.h" #include "app_util.h" #include "app_scheduler.h" @@ -123,6 +122,13 @@ * making sure that the buffer is correctly aligned. It will also connect the timer module * to the scheduler (if specified). * + * @note This module assumes that the LFCLK is already running. If it isn't, the module will + * be non-functional, since the RTC will not run. If you don't use a softdevice, you'll + * have to start the LFCLK manually. See the rtc_example's \ref lfclk_config() function + * for an example of how to do this. If you use a softdevice, the LFCLK is started on + * softdevice init. + * + * * @param[in] PRESCALER Value of the RTC1 PRESCALER register. This will decide the * timer tick rate. Set to 0 for no prescaling. * @param[in] MAX_TIMERS Maximum number of timers that can be created at any given time.