libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
radio_common.c File Reference
Include dependency graph for radio_common.c:

Go to the source code of this file.

Functions

void radio_set_txpower (enum radio_txpower txpower)
 Set radio transmission power. More...
 
void radio_set_lsbfirst (void)
 Set bit transmission order to LSB first. More...
 
void radio_set_msbfirst (void)
 Set bit transmission order to MSB first. More...
 
void radio_enable_whitening (void)
 Enable on the air data whitening. More...
 
void radio_disable_whitening (void)
 Disable on the air data whitening. More...
 
void radio_set_crclen (uint8_t crc_len)
 Set CRC length in number of bytes. More...
 
void radio_disable_crc (void)
 Disable CRC calculation. More...
 
void radio_enable (void)
 Enable the peripheral. More...
 
void radio_disable (void)
 Disable the peripheral. More...
 
void radio_set_balen (uint8_t ba_len)
 Set Base Address length. More...
 
void radio_set_maxlen (uint8_t maxlen)
 Set maximum transmission length in number of bytes. More...
 
void radio_set_crc_skipaddr (bool is_skip_addr)
 Exclude access address from CRC calculation. More...
 
void radio_configure_ble (void)
 Configure the radio to be used in BLE mode. More...
 
void radio_configure_packet (uint8_t lf_len_bits, uint8_t s0_len_bytes, uint8_t s1_len_bits)
 Configure the packet. More...
 
void radio_set_frequency (uint8_t freq)
 Set radio frequency. More...
 
void radio_set_datawhiteiv (uint8_t iv)
 Set Data Whitening Initialization Vector. More...
 
void radio_set_addr (uint8_t addr_index, uint32_t base, uint8_t prefix)
 
void radio_set_tx_address (uint8_t addr_index)
 
void radio_set_packet_ptr (uint8_t *packet_ptr)
 
void radio_enable_tx (void)
 
void radio_enable_rx (void)