|
Contiki-NG
|
Modules | |
| Bluetooth Low Energy drivers | |
| Device drivers | |
Files | |
| file | dbg.c |
| Hardware specific implementation of putchar() and puts() functions. | |
| file | rtimer-arch.c |
| Implementation of the architecture dependent rtimer functions for the nRF52. | |
| file | rtimer-arch.h |
| Architecture dependent rtimer implementation header file. | |
Functions | |
| unsigned int | dbg_send_bytes (const unsigned char *s, unsigned int len) |
| Print a stream of bytes. More... | |
| int | dbg_putchar (int c) |
| Print a character to debug output. More... | |
| static void | timer_event_handler (nrf_timer_event_t event_type, void *p_context) |
| Handler for timer events. More... | |
| void | rtimer_arch_init (void) |
| Initialize platform rtimer. More... | |
| void | rtimer_arch_schedule (rtimer_clock_t t) |
| Schedules an rtimer task to be triggered at time t. More... | |
| rtimer_clock_t | rtimer_arch_now () |
| Returns the current real-time clock time. More... | |
Variables | |
| static const nrf_drv_timer_t | timer = NRF_DRV_TIMER_INSTANCE(PLATFORM_TIMER_INSTANCE_ID) |
| Timer instance used for rtimer. | |
| int dbg_putchar | ( | int | c | ) |
| unsigned int dbg_send_bytes | ( | const unsigned char * | seq, |
| unsigned int | len | ||
| ) |
| void rtimer_arch_init | ( | void | ) |
Initialize platform rtimer.
Initialized the architecture-dependent part of rtimer.
Definition at line 74 of file rtimer-arch.c.
| rtimer_clock_t rtimer_arch_now | ( | ) |
Returns the current real-time clock time.
Definition at line 102 of file rtimer-arch.c.
| void rtimer_arch_schedule | ( | rtimer_clock_t | t | ) |
Schedules an rtimer task to be triggered at time t.
Schedule the call to rtimer_run_next at the time t.
| t | The time when the task will need executed. |
t is an absolute time, in other words the task will be executed AT time t, not IN t rtimer ticks.
This function schedules a one-shot event with the nRF RTC.
Definition at line 91 of file rtimer-arch.c.
|
static |
Handler for timer events.
| event_type | type of an event that should be handled |
| p_context | opaque data pointer passed from nrf_drv_timer_init() |
Definition at line 57 of file rtimer-arch.c.
References rtimer_run_next().
1.8.13