53 extern const uint8_t cc1020_config_19200[];
54 extern const uint8_t cc1020_config_115200[];
57 void cc1020_init(
const uint8_t* config);
59 void cc1020_set_rx(
void);
60 void cc1020_set_tx(
void);
61 void cc1020_set_power(uint8_t pa_power);
62 int cc1020_carrier_sense(
void);
63 uint8_t cc1020_get_rssi(
void);
64 uint8_t cc1020_get_packet_rssi(
void);
65 int cc1020_sending(
void);
67 int cc1020_send(
const void *buf,
unsigned short size);
68 int cc1020_read(
void *buf,
unsigned short size);
69 void cc1020_set_receiver(
void (*recv)(
const struct radio_driver *));