9.12 rtcounter_example.h File Reference
Includes
Functions
- void
-
rtc_example_create_sched_oneshot (void)
Call this function to run a 1000-tick timer once. The timer will not be rescheduled in the associated callback function.
Parameters:
- none
Returns:
None
- void
-
rtc_example_create_sched_periodic (void)
Call this function to run a 1000-tick timer continuously. The callback function reschedules the timer continuously.
Parameters:
- none
Returns:
None
- void
-
rtc_example_create_sched_periodic_with_payload (void)
Call this function to run a 1000-tick timer 10 times, with the counter sent as a payload.
Parameters:
- none
Returns:
None
- uint32_t
-
rtc_example_stopwatch_mode (void)
Call this function to count how many timer ticks have elapsed since the start of a timer
Parameters:
- Type: void
Returns: