43 PROCESS(blink_process,
"Blink");
44 AUTOSTART_PROCESSES(&blink_process);
#define PROCESS(name, strname)
Declare a process.
#define PROCESS_BEGIN()
Define the beginning of a process.
#define PROCESS_END()
Define the end of a process.
#define PROCESS_WAIT_EVENT_UNTIL(c)
Wait for an event to be posted to the process, with an extra condition.
void leds_on(unsigned char leds)
Turn on multiple LEDs.
#define LEDS_ALL
The OR mask representation of all device LEDs.
void leds_off(unsigned char leds)
Turn off multiple LEDs.
#define CLOCK_SECOND
A second, measured in system clock time.
#define PROCESS_EXITHANDLER(handler)
Specify an action when a process exits.
int etimer_expired(struct etimer *et)
Check if an event timer has expired.
PROCESS_THREAD(cc2538_rf_process, ev, data)
Implementation of the cc2538 RF driver process.
Header file for the LED HAL.
void etimer_set(struct etimer *et, clock_time_t interval)
Set an event timer.