Microchip® Advanced Software Framework

rdc_driver Struct Reference

The structure of a RDC (radio duty cycling) driver in Contiki.

#include <rdc.h>

Data Fields

unsigned short(* channel_check_interval )(void)
 Returns the channel check interval, expressed in clock_time_t ticks. More...
 
void(* init )(void)
 Initialize the RDC driver. More...
 
void(* input )(void)
 Callback for getting notified of incoming packet. More...
 
const char * name
 
int(* off )(int keep_radio_on)
 Turn the MAC layer off. More...
 
int(* on )(void)
 Turn the MAC layer on. More...
 
void(* send )(mac_callback_t sent_callback, void *ptr)
 Send a packet from the Rime buffer. More...
 
void(* send_list )(mac_callback_t sent_callback, void *ptr, struct rdc_buf_list *list)
 Send a packet list. More...
 

unsigned short(* rdc_driver::channel_check_interval)(void)

Returns the channel check interval, expressed in clock_time_t ticks.

Referenced by channel_check_interval(), default_timebase(), and main().

void(* rdc_driver::init)(void)

Initialize the RDC driver.

Referenced by netstack_init().

void(* rdc_driver::input)(void)

Callback for getting notified of incoming packet.

Referenced by PROCESS_THREAD().

const char* rdc_driver::name

Referenced by main().

int(* rdc_driver::off)(int keep_radio_on)

Turn the MAC layer off.

Referenced by off(), and PROCESS_THREAD().

int(* rdc_driver::on)(void)

Turn the MAC layer on.

Referenced by on().

void(* rdc_driver::send)(mac_callback_t sent_callback, void *ptr)

Send a packet from the Rime buffer.

Referenced by send_packet().

void(* rdc_driver::send_list)(mac_callback_t sent_callback, void *ptr, struct rdc_buf_list *list)

Send a packet list.

Referenced by send_packet(), and transmit_packet_list().