This is the radio_get_set header file which contains interfaces for Getting and Setting the Radio and Transciver parameters.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | RADIO_DEFAULT_FREQ DEFAULT_CALIBRATION_FREQ |
Functions | |
void | Radio_WriteConfiguration (uint16_t symbolTimeout) |
This function prepares the transceiver for transmit and receive according to modulation set. More... | |
void | Radio_WriteFrequency (uint32_t frequency) |
This function sets the transmit frequency. More... | |
void | Radio_WriteMode (RadioMode_t newMode, RadioModulation_t newModulation, uint8_t blocking) |
This function sets the radioMode and modulation in order to set the transceiver to transmit and receive at a set modulation. More... | |
#define RADIO_DEFAULT_FREQ DEFAULT_CALIBRATION_FREQ |
void Radio_WriteConfiguration | ( | uint16_t | symbolTimeout | ) |
This function prepares the transceiver for transmit and receive according to modulation set.
symbolTimeout | - Sets the symbolTimeout parameter. |
void Radio_WriteFrequency | ( | uint32_t | frequency | ) |
This function sets the transmit frequency.
frequency | - Sets the transmit radio frequency. |
Referenced by RADIO_FHSSChangeChannel().
void Radio_WriteMode | ( | RadioMode_t | newMode, |
RadioModulation_t | newModulation, | ||
uint8_t | blocking | ||
) |
This function sets the radioMode and modulation in order to set the transceiver to transmit and receive at a set modulation.
newMode | - Sets the transceiver mode. |
newModulation | - Sets the modulation. |
blocking | - Sets if its blocking call or not. |
References delay_ms, MODE_CAD, MODE_RXSINGLE, MODE_SLEEP, MODULATION_FSK, MODULATION_LORA, RADIO_RegisterRead(), RADIO_RegisterWrite(), REG_DIOMAPPING2, REG_OPMODE, and SystemBlockingWaitMs().
Referenced by RADIO_ReadRandom().