Contiki-NG
|
Implementation of the rtimer module for the CC13xx/CC26xx. More...
Files | |
file | rtimer-arch.c |
Implementation of the arch-specific rtimer functions for the CC13xx/CC26xx. | |
file | rtimer-arch.h |
Header file for the CC13xx/CC26xx rtimer driver. | |
Functions | |
void | rtimer_arch_init (void) |
We don't need to do anything special here. More... | |
void | rtimer_arch_schedule (rtimer_clock_t t) |
This function schedules a one-shot event with the AON RTC. More... | |
rtimer_clock_t | rtimer_arch_now () |
Returns the current real-time clock time. More... | |
Implementation of the rtimer module for the CC13xx/CC26xx.
void rtimer_arch_init | ( | void | ) |
We don't need to do anything special here.
Initialized the architecture-dependent part of rtimer.
The RTC is initialised elsewhere
Definition at line 54 of file rtimer-arch.c.
rtimer_clock_t rtimer_arch_now | ( | ) |
Returns the current real-time clock time.
The value is read from the AON RTC counter and converted to a number of rtimer ticks
Definition at line 81 of file rtimer-arch.c.
void rtimer_arch_schedule | ( | rtimer_clock_t | t | ) |
This function schedules a one-shot event with the AON RTC.
Schedules an rtimer task to be triggered at time t.
This functions converts to a value suitable for the AON RTC.
Definition at line 66 of file rtimer-arch.c.