![]() |
nRF5 SDK for Thread and Zigbee v1.0.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API |
Hardware access layer for managing the radio (RADIO). More...
Macros | |
#define | NRF_RADIO_TASK_SET (1UL) |
#define | NRF_RADIO_EVENT_CLEAR (0UL) |
Enumerations | |
enum | nrf_radio_task_t { NRF_RADIO_TASK_TXEN = offsetof(NRF_RADIO_Type, TASKS_TXEN), NRF_RADIO_TASK_RXEN = offsetof(NRF_RADIO_Type, TASKS_RXEN), NRF_RADIO_TASK_START = offsetof(NRF_RADIO_Type, TASKS_START), NRF_RADIO_TASK_STOP = offsetof(NRF_RADIO_Type, TASKS_STOP), NRF_RADIO_TASK_DISABLE = offsetof(NRF_RADIO_Type, TASKS_DISABLE), NRF_RADIO_TASK_CCASTART = offsetof(NRF_RADIO_Type, TASKS_CCASTART), NRF_RADIO_TASK_CCASTOP = offsetof(NRF_RADIO_Type, TASKS_CCASTOP), NRF_RADIO_TASK_EDSTART = offsetof(NRF_RADIO_Type, TASKS_EDSTART), NRF_RADIO_TASK_EDSTOP = offsetof(NRF_RADIO_Type, TASKS_EDSTOP), NRF_RADIO_TASK_RSSISTART = offsetof(NRF_RADIO_Type, TASKS_RSSISTART) } |
RADIO tasks. More... | |
enum | nrf_radio_event_t { NRF_RADIO_EVENT_READY = offsetof(NRF_RADIO_Type, EVENTS_READY), NRF_RADIO_EVENT_ADDRESS = offsetof(NRF_RADIO_Type, EVENTS_ADDRESS), NRF_RADIO_EVENT_END = offsetof(NRF_RADIO_Type, EVENTS_END), NRF_RADIO_EVENT_DISABLED = offsetof(NRF_RADIO_Type, EVENTS_DISABLED), NRF_RADIO_EVENT_RSSIEND = offsetof(NRF_RADIO_Type, EVENTS_RSSIEND), NRF_RADIO_EVENT_BCMATCH = offsetof(NRF_RADIO_Type, EVENTS_BCMATCH), NRF_RADIO_EVENT_CRCOK = offsetof(NRF_RADIO_Type, EVENTS_CRCOK), NRF_RADIO_EVENT_CRCERROR = offsetof(NRF_RADIO_Type, EVENTS_CRCERROR), NRF_RADIO_EVENT_FRAMESTART = offsetof(NRF_RADIO_Type, EVENTS_FRAMESTART), NRF_RADIO_EVENT_EDEND = offsetof(NRF_RADIO_Type, EVENTS_EDEND), NRF_RADIO_EVENT_CCAIDLE = offsetof(NRF_RADIO_Type, EVENTS_CCAIDLE), NRF_RADIO_EVENT_CCABUSY = offsetof(NRF_RADIO_Type, EVENTS_CCABUSY), NRF_RADIO_EVENT_TXREADY = offsetof(NRF_RADIO_Type, EVENTS_TXREADY), NRF_RADIO_EVENT_RXREADY = offsetof(NRF_RADIO_Type, EVENTS_RXREADY), NRF_RADIO_EVENT_MHRMATCH = offsetof(NRF_RADIO_Type, EVENTS_MHRMATCH), NRF_RADIO_EVENT_PHYEND = offsetof(NRF_RADIO_Type, EVENTS_PHYEND) } |
RADIO events. More... | |
enum | nrf_radio_int_mask_t { NRF_RADIO_INT_READY_MASK = RADIO_INTENSET_READY_Msk, NRF_RADIO_INT_ADDRESS_MASK = RADIO_INTENSET_ADDRESS_Msk, NRF_RADIO_INT_END_MASK = RADIO_INTENSET_END_Msk, NRF_RADIO_INT_DISABLED_MASK = RADIO_INTENSET_DISABLED_Msk, NRF_RADIO_INT_RSSIEND_MASK = RADIO_INTENSET_RSSIEND_Msk, NRF_RADIO_INT_BCMATCH_MASK = RADIO_INTENSET_BCMATCH_Msk, NRF_RADIO_INT_CRCOK_MASK = RADIO_INTENSET_CRCOK_Msk, NRF_RADIO_INT_CRCERROR_MASK = RADIO_INTENSET_CRCERROR_Msk, NRF_RADIO_INT_FRAMESTART_MASK = RADIO_INTENSET_FRAMESTART_Msk, NRF_RADIO_INT_EDEND_MASK = RADIO_INTENSET_EDEND_Msk, NRF_RADIO_INT_CCAIDLE_MASK = RADIO_INTENSET_CCAIDLE_Msk, NRF_RADIO_INT_CCABUSY_MASK = RADIO_INTENSET_CCABUSY_Msk, NRF_RADIO_INT_PHYEND_MASK = RADIO_INTENSET_PHYEND_Msk } |
RADIO interrupts. More... | |
enum | nrf_radio_short_mask_t { NRF_RADIO_SHORT_READY_START_MASK = RADIO_SHORTS_READY_START_Msk, NRF_RADIO_SHORT_END_DISABLE_MASK = RADIO_SHORTS_END_DISABLE_Msk, NRF_RADIO_SHORT_DISABLED_TXEN_MASK = RADIO_SHORTS_DISABLED_TXEN_Msk, NRF_RADIO_SHORT_DISABLED_RXEN_MASK = RADIO_SHORTS_DISABLED_RXEN_Msk, NRF_RADIO_SHORT_ADDRESS_RSSISTART_MASK = RADIO_SHORTS_ADDRESS_RSSISTART_Msk, NRF_RADIO_SHORT_ADDRESS_BCSTART_MASK = RADIO_SHORTS_ADDRESS_BCSTART_Msk, NRF_RADIO_SHORT_END_START_MASK = RADIO_SHORTS_END_START_Msk, NRF_RADIO_SHORT_RXREADY_CCASTART_MASK = RADIO_SHORTS_RXREADY_CCASTART_Msk, NRF_RADIO_SHORT_CCAIDLE_TXEN_MASK = RADIO_SHORTS_CCAIDLE_TXEN_Msk, NRF_RADIO_SHORT_CCABUSY_DISABLE_MASK = RADIO_SHORTS_CCABUSY_DISABLE_Msk, NRF_RADIO_SHORT_FRAMESTART_BCSTART_MASK = RADIO_SHORTS_FRAMESTART_BCSTART_Msk, NRF_RADIO_SHORT_READY_EDSTART_MASK = RADIO_SHORTS_READY_EDSTART_Msk, NRF_RADIO_SHORT_EDEND_DISABLE_MASK = RADIO_SHORTS_EDEND_DISABLE_Msk, NRF_RADIO_SHORT_TXREADY_START_MASK = RADIO_SHORTS_TXREADY_START_Msk, NRF_RADIO_SHORT_RXREADY_START_MASK = RADIO_SHORTS_RXREADY_START_Msk, NRF_RADIO_SHORT_PHYEND_DISABLE_MASK = RADIO_SHORTS_PHYEND_DISABLE_Msk, NRF_RADIO_SHORT_PHYEND_START_MASK = RADIO_SHORTS_PHYEND_START_Msk } |
Types of RADIO shortcuts. More... | |
enum | nrf_radio_cca_mode_t { NRF_RADIO_CCA_MODE_ED = RADIO_CCACTRL_CCAMODE_EdMode, NRF_RADIO_CCA_MODE_CARRIER = RADIO_CCACTRL_CCAMODE_CarrierMode, NRF_RADIO_CCA_MODE_CARRIER_AND_ED = RADIO_CCACTRL_CCAMODE_CarrierAndEdMode, NRF_RADIO_CCA_MODE_CARRIER_OR_ED = RADIO_CCACTRL_CCAMODE_CarrierOrEdMode } |
Types of RADIO Clear Channel Assessment modes. More... | |
enum | nrf_radio_state_t { NRF_RADIO_STATE_DISABLED = RADIO_STATE_STATE_Disabled, NRF_RADIO_STATE_RX_RU = RADIO_STATE_STATE_RxRu, NRF_RADIO_STATE_RX_IDLE = RADIO_STATE_STATE_RxIdle, NRF_RADIO_STATE_RX = RADIO_STATE_STATE_Rx, NRF_RADIO_STATE_RX_DISABLE = RADIO_STATE_STATE_RxDisable, NRF_RADIO_STATE_TX_RU = RADIO_STATE_STATE_TxRu, NRF_RADIO_STATE_TX_IDLE = RADIO_STATE_STATE_TxIdle, NRF_RADIO_STATE_TX = RADIO_STATE_STATE_Tx, NRF_RADIO_STATE_TX_DISABLE = RADIO_STATE_STATE_TxDisable } |
Types of RADIO States. More... | |
enum | nrf_radio_crc_status_t { NRF_RADIO_CRC_STATUS_ERROR = RADIO_CRCSTATUS_CRCSTATUS_CRCError, NRF_RADIO_CRC_STATUS_OK = RADIO_CRCSTATUS_CRCSTATUS_CRCOk } |
Types of CRC status. More... | |
enum | nrf_radio_mode_t { NRF_RADIO_MODE_NRF_1MBIT = RADIO_MODE_MODE_Nrf_1Mbit, NRF_RADIO_MODE_NRF_2MBIT = RADIO_MODE_MODE_Nrf_2Mbit, NRF_RADIO_MODE_BLE_1MBIT = RADIO_MODE_MODE_Ble_1Mbit, NRF_RADIO_MODE_BLE_2MBIT = RADIO_MODE_MODE_Ble_2Mbit, NRF_RADIO_MODE_IEEE802154_250KBIT = RADIO_MODE_MODE_Ieee802154_250Kbit } |
Types of RADIO modes (data rate and modulation). More... | |
enum | nrf_radio_preamble_length_t { NRF_RADIO_PREAMBLE_LENGTH_8BIT = RADIO_PCNF0_PLEN_8bit, NRF_RADIO_PREAMBLE_LENGTH_16BIT = RADIO_PCNF0_PLEN_16bit, NRF_RADIO_PREAMBLE_LENGTH_32BIT_ZERO = RADIO_PCNF0_PLEN_32bitZero, NRF_RADIO_PREAMBLE_LENGTH_LONG_RANGE = RADIO_PCNF0_PLEN_LongRange } |
Types of preamble length. More... | |
enum | nrf_radio_crc_includes_addr_t { NRF_RADIO_CRC_INCLUDES_ADDR_INCLUDE = RADIO_CRCCNF_SKIPADDR_Include, NRF_RADIO_CRC_INCLUDES_ADDR_SKIP = RADIO_CRCCNF_SKIPADDR_Skip, NRF_RADIO_CRC_INCLUDES_ADDR_IEEE802154 = RADIO_CRCCNF_SKIPADDR_Ieee802154 } |
Types of CRC calculatons regarding address. More... | |
enum | nrf_radio_ramp_up_mode_t { NRF_RADIO_RAMP_UP_MODE_DEFAULT = RADIO_MODECNF0_RU_Default, NRF_RADIO_RAMP_UP_MODE_FAST = RADIO_MODECNF0_RU_Fast } |
Types of radio ramp-up mode. More... | |
Functions | |
__STATIC_INLINE void | nrf_radio_int_enable (uint32_t radio_int_mask) |
Function for enabling interrupts. More... | |
__STATIC_INLINE void | nrf_radio_int_disable (uint32_t radio_int_mask) |
Function for disabling interrupts. More... | |
__STATIC_INLINE bool | nrf_radio_int_get (nrf_radio_int_mask_t radio_int_mask) |
Function for getting the state of a specific interrupt. More... | |
__STATIC_INLINE uint32_t * | nrf_radio_task_address_get (nrf_radio_task_t radio_task) |
Function for getting the address of a specific task. More... | |
__STATIC_INLINE void | nrf_radio_task_trigger (nrf_radio_task_t radio_task) |
Function for setting a specific task. More... | |
__STATIC_INLINE uint32_t * | nrf_radio_event_address_get (nrf_radio_event_t radio_event) |
Function for getting address of a specific event. More... | |
__STATIC_INLINE void | nrf_radio_event_clear (nrf_radio_event_t radio_event) |
Function for clearing a specific event. More... | |
__STATIC_INLINE bool | nrf_radio_event_get (nrf_radio_event_t radio_event) |
Function for getting the state of a specific event. More... | |
__STATIC_INLINE void | nrf_radio_shorts_enable (uint32_t radio_short_mask) |
Function for setting shortcuts. More... | |
__STATIC_INLINE void | nrf_radio_shorts_disable (uint32_t radio_short_mask) |
Function for clearing shortcuts. More... | |
__STATIC_INLINE void | nrf_radio_shorts_set (uint32_t radio_short_mask) |
Function for setting shortcuts. More... | |
__STATIC_INLINE uint32_t | nrf_radio_shorts_get (void) |
Function for getting shortcuts. More... | |
__STATIC_INLINE nrf_radio_state_t | nrf_radio_state_get (void) |
Function for getting present state of the radio module. | |
__STATIC_INLINE void | nrf_radio_packet_ptr_set (const void *p_radio_packet_ptr) |
Function for setting Packet Pointer to given location in memory. More... | |
__STATIC_INLINE nrf_radio_crc_status_t | nrf_radio_crc_status_get (void) |
Function for getting CRC status of last received packet. | |
__STATIC_INLINE void | nrf_radio_cca_mode_set (nrf_radio_cca_mode_t radio_cca_mode) |
Function for setting Clear Channel Assessment mode. More... | |
__STATIC_INLINE void | nrf_radio_cca_ed_threshold_set (uint8_t radio_cca_ed_threshold) |
Function for setting CCA Energy Busy Threshold. More... | |
__STATIC_INLINE void | nrf_radio_cca_corr_threshold_set (uint8_t radio_cca_corr_threshold_set) |
Function for setting CCA Correlator Busy Threshold. More... | |
__STATIC_INLINE void | nrf_radio_cca_corr_counter_set (uint8_t radio_cca_corr_counter_set) |
Function for setting limit of occurances above Correlator Threshold. More... | |
__STATIC_INLINE void | nrf_radio_mode_set (nrf_radio_mode_t radio_mode) |
Function for setting Radio data rate and modulation settings. More... | |
__STATIC_INLINE void | nrf_radio_config_length_field_length_set (uint8_t radio_length_length) |
Function for setting Length of LENGTH field in number of bits. More... | |
__STATIC_INLINE void | nrf_radio_config_preamble_length_set (nrf_radio_preamble_length_t radio_preamble_length) |
Function for setting length of preamble on air. More... | |
__STATIC_INLINE void | nrf_radio_config_crc_included_set (bool radio_length_contains_crc) |
Function for setting if LENGTH field contains CRC. More... | |
__STATIC_INLINE void | nrf_radio_config_max_length_set (uint8_t radio_max_packet_length) |
Function for setting maximum length of packet payload. More... | |
__STATIC_INLINE void | nrf_radio_crc_length_set (uint8_t radio_crc_length) |
Function for setting CRC length. More... | |
__STATIC_INLINE void | nrf_radio_crc_includes_address_set (nrf_radio_crc_includes_addr_t radio_crc_skip_address) |
Function for setting if address filed should be included or excluded from CRC calculation. More... | |
__STATIC_INLINE void | nrf_radio_crc_polynominal_set (uint32_t radio_crc_polynominal) |
Function for setting CRC polynominal. More... | |
__STATIC_INLINE uint32_t | nrf_radio_crc_polynominal_get (void) |
Function for getting CRC polynominal. More... | |
__STATIC_INLINE uint8_t | nrf_radio_rssi_sample_get (void) |
Function for getting RSSI sample result. More... | |
__STATIC_INLINE void | nrf_radio_mhmu_search_pattern_set (uint32_t radio_mhmu_search_pattern) |
Function for setting MAC Header Match Unit search pattern configuration. More... | |
__STATIC_INLINE void | nrf_radio_mhmu_pattern_mask_set (uint32_t radio_mhmu_pattern_mask) |
Function for setting MAC Header Match Unit pattern mask configuration. More... | |
__STATIC_INLINE void | nrf_radio_ramp_up_mode_set (nrf_radio_ramp_up_mode_t ramp_up_mode) |
Function for setting radio ramp-up mode. More... | |
__STATIC_INLINE void | nrf_radio_frequency_set (uint32_t radio_frequency) |
Function for setting radio frequency. More... | |
__STATIC_INLINE uint32_t | nrf_radio_frequency_get (void) |
Function for getting radio frequency. More... | |
__STATIC_INLINE void | nrf_radio_tx_power_set (int8_t radio_tx_power) |
Function for setting radio transmit power. More... | |
__STATIC_INLINE void | nrf_radio_ifs_set (uint32_t radio_ifs) |
Function for setting Inter Frame Spacing. More... | |
__STATIC_INLINE uint32_t | nrf_radio_ifs_get (void) |
Function for getting Inter Frame Spacing. More... | |
__STATIC_INLINE void | nrf_radio_bcc_set (uint32_t radio_bcc) |
Function for setting Bit counter compare. More... | |
__STATIC_INLINE uint32_t | nrf_radio_bcc_get (void) |
Function for getting Bit counter compare. | |
__STATIC_INLINE uint8_t | nrf_radio_ed_sample_get (void) |
Function for getting Energy Detection level. | |
__STATIC_INLINE void | nrf_radio_ed_loop_count_set (uint32_t radio_ed_loop_count) |
Function for setting number of iterations to perform ED scan. More... | |
__STATIC_INLINE void | nrf_radio_power_set (bool radio_power) |
Function for setting power mode of the radio peripheral. More... | |
Hardware access layer for managing the radio (RADIO).
enum nrf_radio_cca_mode_t |
Types of RADIO Clear Channel Assessment modes.
enum nrf_radio_event_t |
RADIO events.
enum nrf_radio_int_mask_t |
RADIO interrupts.
enum nrf_radio_mode_t |
Types of RADIO modes (data rate and modulation).
Types of RADIO shortcuts.
enum nrf_radio_state_t |
Types of RADIO States.
enum nrf_radio_task_t |
RADIO tasks.
__STATIC_INLINE void nrf_radio_bcc_set | ( | uint32_t | radio_bcc | ) |
Function for setting Bit counter compare.
[in] | radio_bcc | Bit counter compare [bits]. |
__STATIC_INLINE void nrf_radio_cca_corr_counter_set | ( | uint8_t | radio_cca_corr_counter_set | ) |
Function for setting limit of occurances above Correlator Threshold.
When not equal to zero the correlator based signal detect is enabled.
[in] | radio_cca_corr_cnt | Limit of occurances above Correlator Threshold |
__STATIC_INLINE void nrf_radio_cca_corr_threshold_set | ( | uint8_t | radio_cca_corr_threshold_set | ) |
Function for setting CCA Correlator Busy Threshold.
[in] | radio_cca_corr_threshold | Correlator Busy Threshold. |
__STATIC_INLINE void nrf_radio_cca_ed_threshold_set | ( | uint8_t | radio_cca_ed_threshold | ) |
Function for setting CCA Energy Busy Threshold.
[in] | radio_cca_ed_threshold | Energy Detection threshold value. |
__STATIC_INLINE void nrf_radio_cca_mode_set | ( | nrf_radio_cca_mode_t | radio_cca_mode | ) |
Function for setting Clear Channel Assessment mode.
[in] | radio_cca_mode | Mode of CCA |
__STATIC_INLINE void nrf_radio_config_crc_included_set | ( | bool | radio_length_contains_crc | ) |
Function for setting if LENGTH field contains CRC.
[in] | radio_length_contains_crc | True if LENGTH field should contain CRC. |
__STATIC_INLINE void nrf_radio_config_length_field_length_set | ( | uint8_t | radio_length_length | ) |
Function for setting Length of LENGTH field in number of bits.
[in] | radio_length_length | Length of LENGTH field in number of bits. |
__STATIC_INLINE void nrf_radio_config_max_length_set | ( | uint8_t | radio_max_packet_length | ) |
Function for setting maximum length of packet payload.
[in] | radio_max_packet_length | Maximum length of packet payload. |
__STATIC_INLINE void nrf_radio_config_preamble_length_set | ( | nrf_radio_preamble_length_t | radio_preamble_length | ) |
Function for setting length of preamble on air.
[in] | radio_preamble_length | Length of preamble on air. |
__STATIC_INLINE void nrf_radio_crc_includes_address_set | ( | nrf_radio_crc_includes_addr_t | radio_crc_skip_address | ) |
Function for setting if address filed should be included or excluded from CRC calculation.
[in] | radio_crc_skip_address | Include or exclude packet address field out of CRC. |
__STATIC_INLINE void nrf_radio_crc_length_set | ( | uint8_t | radio_crc_length | ) |
Function for setting CRC length.
[in] | radio_crc_length | CRC length in number of bytes [0-3]. |
__STATIC_INLINE uint32_t nrf_radio_crc_polynominal_get | ( | void | ) |
Function for getting CRC polynominal.
__STATIC_INLINE void nrf_radio_crc_polynominal_set | ( | uint32_t | radio_crc_polynominal | ) |
Function for setting CRC polynominal.
[in] | radio_crc_polynominal | CRC polynominal to set. |
__STATIC_INLINE void nrf_radio_ed_loop_count_set | ( | uint32_t | radio_ed_loop_count | ) |
Function for setting number of iterations to perform ED scan.
[in] | radio_ed_loop_count | Number of iterations during ED procedure. |
__STATIC_INLINE uint32_t * nrf_radio_event_address_get | ( | nrf_radio_event_t | radio_event | ) |
Function for getting address of a specific event.
This function can be used by the PPI module.
[in] | radio_event | Event. |
__STATIC_INLINE void nrf_radio_event_clear | ( | nrf_radio_event_t | radio_event | ) |
Function for clearing a specific event.
[in] | radio_event | Event. |
__STATIC_INLINE bool nrf_radio_event_get | ( | nrf_radio_event_t | radio_event | ) |
Function for getting the state of a specific event.
[in] | radio_event | Event. |
true | If the event is not set. |
false | If the event is set. |
__STATIC_INLINE uint32_t nrf_radio_frequency_get | ( | void | ) |
Function for getting radio frequency.
__STATIC_INLINE void nrf_radio_frequency_set | ( | uint32_t | radio_frequency | ) |
Function for setting radio frequency.
[in] | radio_frequency | Frequency above 2400 MHz [MHz] |
__STATIC_INLINE uint32_t nrf_radio_ifs_get | ( | void | ) |
Function for getting Inter Frame Spacing.
__STATIC_INLINE void nrf_radio_ifs_set | ( | uint32_t | radio_ifs | ) |
Function for setting Inter Frame Spacing.
[in] | radio_ifs | Inter frame spacing [us]. |
__STATIC_INLINE void nrf_radio_int_disable | ( | uint32_t | radio_int_mask | ) |
Function for disabling interrupts.
[in] | radio_int_mask | Mask of interrupts. |
__STATIC_INLINE void nrf_radio_int_enable | ( | uint32_t | radio_int_mask | ) |
Function for enabling interrupts.
[in] | radio_int_mask | Mask of interrupts. |
__STATIC_INLINE bool nrf_radio_int_get | ( | nrf_radio_int_mask_t | radio_int_mask | ) |
Function for getting the state of a specific interrupt.
[in] | radio_int_mask | Interrupt. |
true | If the interrupt is not enabled. |
false | If the interrupt is enabled. |
__STATIC_INLINE void nrf_radio_mhmu_pattern_mask_set | ( | uint32_t | radio_mhmu_pattern_mask | ) |
Function for setting MAC Header Match Unit pattern mask configuration.
[in] | radio_mhmu_pattern_mask | Pattern mask. |
__STATIC_INLINE void nrf_radio_mhmu_search_pattern_set | ( | uint32_t | radio_mhmu_search_pattern | ) |
Function for setting MAC Header Match Unit search pattern configuration.
[in] | radio_mhmu_search_pattern | Search Pattern Configuration. |
__STATIC_INLINE void nrf_radio_mode_set | ( | nrf_radio_mode_t | radio_mode | ) |
Function for setting Radio data rate and modulation settings.
[in] | radio_mode | Mode of radio data rate and modulation. |
__STATIC_INLINE void nrf_radio_packet_ptr_set | ( | const void * | p_radio_packet_ptr | ) |
Function for setting Packet Pointer to given location in memory.
[in] | p_radio_packet_ptr | Pointer to tx or rx packet buffer. |
__STATIC_INLINE void nrf_radio_power_set | ( | bool | radio_power | ) |
Function for setting power mode of the radio peripheral.
[in] | radio_power | If radio should powered on. |
__STATIC_INLINE void nrf_radio_ramp_up_mode_set | ( | nrf_radio_ramp_up_mode_t | ramp_up_mode | ) |
Function for setting radio ramp-up mode.
[in] | ramp_up_mode | Radio ramp-up mode. |
__STATIC_INLINE uint8_t nrf_radio_rssi_sample_get | ( | void | ) |
Function for getting RSSI sample result.
__STATIC_INLINE void nrf_radio_shorts_disable | ( | uint32_t | radio_short_mask | ) |
Function for clearing shortcuts.
[in] | radio_short_mask | Mask of shortcuts. |
__STATIC_INLINE void nrf_radio_shorts_enable | ( | uint32_t | radio_short_mask | ) |
Function for setting shortcuts.
[in] | radio_short_mask | Mask of shortcuts. |
__STATIC_INLINE uint32_t nrf_radio_shorts_get | ( | void | ) |
Function for getting shortcuts.
__STATIC_INLINE void nrf_radio_shorts_set | ( | uint32_t | radio_short_mask | ) |
Function for setting shortcuts.
[in] | radio_short_mask | Mask of shortcuts. |
__STATIC_INLINE uint32_t * nrf_radio_task_address_get | ( | nrf_radio_task_t | radio_task | ) |
Function for getting the address of a specific task.
This function can be used by the PPI module.
[in] | radio_task | Task. |
__STATIC_INLINE void nrf_radio_task_trigger | ( | nrf_radio_task_t | radio_task | ) |
Function for setting a specific task.
[in] | radio_task | Task. |
__STATIC_INLINE void nrf_radio_tx_power_set | ( | int8_t | radio_tx_power | ) |
Function for setting radio transmit power.
[in] | radio_tx_power | Transmit power of the radio. |