49 static volatile rtimer_clock_t next_trigger;
87 if((int32_t)(t - now) < 7) {
146 ENERGEST_ON(ENERGEST_TYPE_IRQ);
155 ENERGEST_OFF(ENERGEST_TYPE_IRQ);
Header file for the ARM Nested Vectored Interrupt Controller.
void nvic_interrupt_disable(uint32_t intr)
Disables interrupt intr.
void rtimer_arch_init(void)
We don't need to explicitly initialise anything but this routine is required by the API...
#define SMWDTHROSC_STLOAD_STLOAD
STx upload status signal.
void rtimer_isr()
The rtimer ISR.
Header file with prototypes for interrupt control on the cc2538 Cortex-M3 micro.
#define SMWDTHROSC_ST3
ST count/compare value 3.
#define lpm_exit()
Perform an 'Exit Deep Sleep' sequence.
void nvic_interrupt_enable(uint32_t intr)
Enables interrupt intr.
#define NVIC_INT_SM_TIMER
SM Timer.
#define SMWDTHROSC_ST0
ST count/compare value 0.
#define SMWDTHROSC_ST2
ST count/compare value 2.
#define rtimer_arch_now()
Header file for the energy estimation mechanism
#define INTERRUPTS_ENABLE()
Enables all CPU interrupts.
#define SMWDTHROSC_STLOAD
Compare value load status.
void nvic_interrupt_unpend(uint32_t intr)
Sets intr to no longer pending.
Header file for the real-time timer module.
#define SMWDTHROSC_ST1
ST count/compare value 1.
#define INTERRUPTS_DISABLE()
Disables all CPU interrupts.
#define RTIMER_NOW()
Get the current clock time.
rtimer_clock_t rtimer_arch_next_trigger()
Get the time of the next scheduled rtimer trigger.
Header file with register declarations and bit masks for the cc2538 Sleep Timer and Watchdog...
void rtimer_arch_schedule(rtimer_clock_t t)
Schedules an rtimer task to be triggered at time t.
void rtimer_run_next(void)
Execute the next real-time task and schedule the next task, if any.