![]() |
nrfx 4.5.0
|
Hardware access layer for managing the RADIO peripheral. More...
Data Structures | |
| struct | nrf_radio_packet_conf_t |
| Packet configuration. More... | |
| struct | nrf_radio_cteinline_conf_t |
| Configuration for CTE inline mode. More... | |
| struct | nrf_radio_dfectrl_conf_t |
| Direction finding configuration. More... | |
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_RSSISTART = offsetof(NRF_RADIO_Type, TASKS_RSSISTART) , NRF_RADIO_TASK_RSSISTOP = offsetof(NRF_RADIO_Type, TASKS_RSSISTOP) , NRF_RADIO_TASK_BCSTART = offsetof(NRF_RADIO_Type, TASKS_BCSTART) , NRF_RADIO_TASK_BCSTOP = offsetof(NRF_RADIO_Type, TASKS_BCSTOP) , NRF_RADIO_TASK_EDSTART = offsetof(NRF_RADIO_Type, TASKS_EDSTART) , NRF_RADIO_TASK_EDSTOP = offsetof(NRF_RADIO_Type, TASKS_EDSTOP) , NRF_RADIO_TASK_CCASTART = offsetof(NRF_RADIO_Type, TASKS_CCASTART) , NRF_RADIO_TASK_CCASTOP = offsetof(NRF_RADIO_Type, TASKS_CCASTOP) , NRF_RADIO_TASKS_AUXDATADMASTART = offsetof(NRF_RADIO_Type, TASKS_AUXDATADMASTART) , NRF_RADIO_TASKS_AUXDATADMASTOP = offsetof(NRF_RADIO_Type, TASKS_AUXDATADMASTOP) , NRF_RADIO_TASK_PLLEN = offsetof(NRF_RADIO_Type, TASKS_PLLEN) , NRF_RADIO_TASK_CHANGEPHASE = offsetof(NRF_RADIO_Type, TASKS_CHANGEPHASE) , NRF_RADIO_TASKS_CSTONESSTART = offsetof(NRF_RADIO_Type, TASKS_CSTONESSTART) , NRF_RADIO_TASK_SOFTRESET = offsetof(NRF_RADIO_Type, TASKS_SOFTRESET) } |
| 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_PAYLOAD = offsetof(NRF_RADIO_Type, EVENTS_PAYLOAD) , NRF_RADIO_EVENT_END = offsetof(NRF_RADIO_Type, EVENTS_END) , NRF_RADIO_EVENT_DISABLED = offsetof(NRF_RADIO_Type, EVENTS_DISABLED) , NRF_RADIO_EVENT_DEVMATCH = offsetof(NRF_RADIO_Type, EVENTS_DEVMATCH) , NRF_RADIO_EVENT_DEVMISS = offsetof(NRF_RADIO_Type, EVENTS_DEVMISS) , 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_EDSTOPPED = offsetof(NRF_RADIO_Type, EVENTS_EDSTOPPED) , NRF_RADIO_EVENT_CCAIDLE = offsetof(NRF_RADIO_Type, EVENTS_CCAIDLE) , NRF_RADIO_EVENT_CCABUSY = offsetof(NRF_RADIO_Type, EVENTS_CCABUSY) , NRF_RADIO_EVENT_CCASTOPPED = offsetof(NRF_RADIO_Type, EVENTS_CCASTOPPED) , NRF_RADIO_EVENT_RATEBOOST = offsetof(NRF_RADIO_Type, EVENTS_RATEBOOST) , 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) , NRF_RADIO_EVENT_SYNC = offsetof(NRF_RADIO_Type, EVENTS_SYNC) , NRF_RADIO_EVENT_CTEPRESENT = offsetof(NRF_RADIO_Type, EVENTS_CTEPRESENT) , NRF_RADIO_EVENT_PLLREADY = offsetof(NRF_RADIO_Type, EVENTS_PLLREADY) , NRF_RADIO_EVENTS_SOAERROR = offsetof(NRF_RADIO_Type, EVENTS_SOAERROR) , NRF_RADIO_EVENTS_CSATTACKDETECTEND = offsetof(NRF_RADIO_Type, EVENTS_CSATTACKDETECTEND) , NRF_RADIO_EVENTS_FRAMESTART = offsetof(NRF_RADIO_Type, EVENTS_FRAMESTART) , NRF_RADIO_EVENTS_END = offsetof(NRF_RADIO_Type, EVENTS_END) , NRF_RADIO_EVENTS_DISABLED = offsetof(NRF_RADIO_Type, EVENTS_DISABLED) , NRF_RADIO_EVENTS_BCMATCH = offsetof(NRF_RADIO_Type, EVENTS_BCMATCH) , NRF_RADIO_EVENTS_RXADDRESS = offsetof(NRF_RADIO_Type, EVENTS_RXADDRESS) , NRF_RADIO_EVENTS_AUXDATADMAEND = offsetof(NRF_RADIO_Type, EVENTS_AUXDATADMAEND) , NRF_RADIO_EVENTS_CSTONESEND = offsetof(NRF_RADIO_Type, EVENTS_CSTONESEND) } |
| 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_PAYLOAD_MASK = RADIO_INTENSET_PAYLOAD_Msk , NRF_RADIO_INT_END_MASK = RADIO_INTENSET_END_Msk , NRF_RADIO_INT_DISABLED_MASK = RADIO_INTENSET_DISABLED_Msk , NRF_RADIO_INT_DEVMATCH_MASK = RADIO_INTENSET_DEVMATCH_Msk , NRF_RADIO_INT_DEVMISS_MASK = RADIO_INTENSET_DEVMISS_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_EDSTOPPED_MASK = RADIO_INTENSET_EDSTOPPED_Msk , NRF_RADIO_INT_CCAIDLE_MASK = RADIO_INTENSET_CCAIDLE_Msk , NRF_RADIO_INT_CCABUSY_MASK = RADIO_INTENSET_CCABUSY_Msk , NRF_RADIO_INT_CCASTOPPED_MASK = RADIO_INTENSET_CCASTOPPED_Msk , NRF_RADIO_INT_RATEBOOST_MASK = RADIO_INTENSET_RATEBOOST_Msk , NRF_RADIO_INT_TXREADY_MASK = RADIO_INTENSET_TXREADY_Msk , NRF_RADIO_INT_RXREADY_MASK = RADIO_INTENSET_RXREADY_Msk , NRF_RADIO_INT_MHRMATCH_MASK = RADIO_INTENSET_MHRMATCH_Msk , NRF_RADIO_INT_PHYEND_MASK = RADIO_INTENSET_PHYEND_Msk , NRF_RADIO_INT_SYNC_MASK = RADIO_INTENSET_SYNC_Msk , NRF_RADIO_INT_CTEPRESENT_MASK = RADIO_INTENSET_CTEPRESENT_Msk , NRF_RADIO_INT_PLLREADY_MASK = RADIO_INTENSET01_PLLREADY_Msk , NRF_RADIO_INT_RXADDRESS_MASK = RADIO_INTENSET01_RXADDRESS_Msk , NRF_RADIO_INT_AUXDATADMAEND_MASK = RADIO_INTENSET01_AUXDATADMAEND_Msk , NRF_RADIO_INT_CSTONESEND_MASK = RADIO_INTENSET01_CSTONESEND_Msk , NRF_RADIO_INT_SOAERROR_MASK = RADIO_INTENSET01_SOAERROR_Msk , NRF_RADIO_INT_CSATTACKDETECTEND_MASK = RADIO_INTENSET01_CSATTACKDETECTEND_Msk } |
| RADIO interrupts. More... | |
| enum | nrf_radio_short_mask_t { NRF_RADIO_SHORT_READY_START_MASK = RADIO_SHORTS0_READY_START_Msk , NRF_RADIO_SHORT_END_DISABLE_MASK = RADIO_SHORTS0_END_DISABLE_Msk , NRF_RADIO_SHORT_DISABLED_TXEN_MASK = RADIO_SHORTS0_DISABLED_TXEN_Msk , NRF_RADIO_SHORT_DISABLED_RXEN_MASK = RADIO_SHORTS0_DISABLED_RXEN_Msk , NRF_RADIO_SHORT_ADDRESS_RSSISTART_MASK = RADIO_SHORTS0_ADDRESS_RSSISTART_Msk , NRF_RADIO_SHORT_END_START_MASK = RADIO_SHORTS0_END_START_Msk , NRF_RADIO_SHORT_ADDRESS_BCSTART_MASK = RADIO_SHORTS0_ADDRESS_BCSTART_Msk , NRF_RADIO_SHORT_PHYEND_PLLEN_MASK = RADIO_SHORTS0_PHYEND_PLLEN_Msk , NRF_RADIO_SHORT_PHYEND_TXEN_MASK = RADIO_SHORTS0_PHYEND_TXEN_Msk , NRF_RADIO_SHORT_PHYEND_RXEN_MASK = RADIO_SHORTS0_PHYEND_RXEN_Msk , NRF_RADIO_SHORT_RXREADY_CCASTART_MASK = RADIO_SHORTS0_RXREADY_CCASTART_Msk , NRF_RADIO_SHORT_CCAIDLE_TXEN_MASK = RADIO_SHORTS0_CCAIDLE_TXEN_Msk , NRF_RADIO_SHORT_CCABUSY_DISABLE_MASK = RADIO_SHORTS0_CCABUSY_DISABLE_Msk , NRF_RADIO_SHORT_FRAMESTART_BCSTART_MASK = RADIO_SHORTS0_FRAMESTART_BCSTART_Msk , NRF_RADIO_SHORT_READY_EDSTART_MASK = RADIO_SHORTS0_READY_EDSTART_Msk , NRF_RADIO_SHORT_EDEND_DISABLE_MASK = RADIO_SHORTS0_EDEND_DISABLE_Msk , NRF_RADIO_SHORT_CCAIDLE_STOP_MASK = RADIO_SHORTS0_CCAIDLE_STOP_Msk , NRF_RADIO_SHORT_TXREADY_START_MASK = RADIO_SHORTS0_TXREADY_START_Msk , NRF_RADIO_SHORT_RXREADY_START_MASK = RADIO_SHORTS0_RXREADY_START_Msk , NRF_RADIO_SHORT_PHYEND_DISABLE_MASK = RADIO_SHORTS0_PHYEND_DISABLE_Msk , NRF_RADIO_SHORT_PHYEND_START_MASK = RADIO_SHORTS0_PHYEND_START_Msk , NRF_RADIO_SHORT_PHYEND_RESTARTHDT_MASK = RADIO_SHORTS0_PHYEND_RESTARTHDT_Msk , NRF_RADIO_SHORT_ADDRESSMISMATCH_RESTARTHDT_MASK = RADIO_SHORTS0_ADDRESSMISMATCH_RESTARTHDT_Msk , NRF_RADIO_SHORT_HECCERROR_RESTARTHDT_MASK = RADIO_SHORTS0_HECCERROR_RESTARTHDT_Msk , NRF_RADIO_SHORT_HECPERROR_RESTARTHDT_MASK = RADIO_SHORTS0_HECPERROR_RESTARTHDT_Msk , NRF_RADIO_SHORT_SOAERROR_RESTARTHDT_MASK = RADIO_SHORTS0_SOAERROR_RESTARTHDT_Msk , NRF_RADIO_SHORT_ADDRESSMISMATCH_DISABLE_MASK = RADIO_SHORTS0_ADDRESSMISMATCH_DISABLE_Msk , NRF_RADIO_SHORT_PLLREADY_TXEN_MASK = RADIO_SHORTS0_PLLREADY_TXEN_Msk , NRF_RADIO_SHORT_PLLREADY_RXEN_MASK = RADIO_SHORTS0_PLLREADY_RXEN_Msk , NRF_RADIO_SHORT_HECCERROR_DISABLE_MASK = RADIO_SHORTS0_HECCERROR_DISABLE_Msk , NRF_RADIO_SHORT_HECPERROR_DISABLE_MASK = RADIO_SHORTS0_HECPERROR_DISABLE_Msk , NRF_RADIO_SHORT_SOAERROR_DISABLE_MASK = RADIO_SHORTS0_SOAERROR_DISABLE_Msk , NRF_RADIO_SHORT_DISABLED_LOOPBACKEN_MASK = RADIO_SHORTS1_DISABLED_LOOPBACKEN_Msk , NRF_RADIO_SHORT_DISABLED_CHNOINCR_MASK = RADIO_SHORTS1_DISABLED_CHNOINCR_Msk , NRF_RADIO_SHORT_CHNOUPDATED_TXEN_MASK = RADIO_SHORTS1_CHNOUPDATED_TXEN_Msk , NRF_RADIO_SHORT_CHNOUPDATED_RXEN_MASK = RADIO_SHORTS1_CHNOUPDATED_RXEN_Msk , NRF_RADIO_SHORT_CHNOUPDATED_LOOPBACKEN_MASK = RADIO_SHORTS1_CHNOUPDATED_LOOPBACKEN_Msk , NRF_RADIO_SHORT_CTEEND_DISABLE_MASK = RADIO_SHORTS1_CTEEND_DISABLE_Msk , NRF_RADIO_SHORT_CTEEND_START_MASK = RADIO_SHORTS1_CTEEND_START_Msk , NRF_RADIO_SHORT_DFEEND_STOP_MASK = RADIO_SHORTS1_DFEEND_STOP_Msk } |
| 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 , NRF_RADIO_CCA_MODE_ED_TEST1 = RADIO_CCACTRL_CCAMODE_EdModeTest1 } |
| RADIO Clear Channel Assessment modes. More... | |
| enum | nrf_radio_state_t { NRF_RADIO_STATE_DISABLED = RADIO_STATE_STATE_Disabled , NRF_RADIO_STATE_RXRU = RADIO_STATE_STATE_RxRu , NRF_RADIO_STATE_RXIDLE = RADIO_STATE_STATE_RxIdle , NRF_RADIO_STATE_RX = RADIO_STATE_STATE_Rx , NRF_RADIO_STATE_RXDISABLE = RADIO_STATE_STATE_RxDisable , NRF_RADIO_STATE_TXRU = RADIO_STATE_STATE_TxRu , NRF_RADIO_STATE_TXIDLE = RADIO_STATE_STATE_TxIdle , NRF_RADIO_STATE_TX = RADIO_STATE_STATE_Tx , NRF_RADIO_STATE_TXDISABLE = RADIO_STATE_STATE_TxDisable } |
| Types of RADIO states. More... | |
| enum | nrf_radio_txpower_t { NRF_RADIO_TXPOWER_POS10DBM = RADIO_TXPOWER_TXPOWER_Pos10dBm , NRF_RADIO_TXPOWER_POS9DBM = RADIO_TXPOWER_TXPOWER_Pos9dBm , NRF_RADIO_TXPOWER_POS8DBM = RADIO_TXPOWER_TXPOWER_Pos8dBm , NRF_RADIO_TXPOWER_POS7DBM = RADIO_TXPOWER_TXPOWER_Pos7dBm , NRF_RADIO_TXPOWER_POS6DBM = RADIO_TXPOWER_TXPOWER_Pos6dBm , NRF_RADIO_TXPOWER_POS5DBM = RADIO_TXPOWER_TXPOWER_Pos5dBm , NRF_RADIO_TXPOWER_POS4DBM = RADIO_TXPOWER_TXPOWER_Pos4dBm , NRF_RADIO_TXPOWER_POS3DBM = RADIO_TXPOWER_TXPOWER_Pos3dBm , NRF_RADIO_TXPOWER_POS2DBM = RADIO_TXPOWER_TXPOWER_Pos2dBm , NRF_RADIO_TXPOWER_POS1DBM = RADIO_TXPOWER_TXPOWER_Pos1dBm , NRF_RADIO_TXPOWER_0DBM = RADIO_TXPOWER_TXPOWER_0dBm , NRF_RADIO_TXPOWER_NEG1DBM = RADIO_TXPOWER_TXPOWER_Neg1dBm , NRF_RADIO_TXPOWER_NEG2DBM = RADIO_TXPOWER_TXPOWER_Neg2dBm , NRF_RADIO_TXPOWER_NEG3DBM = RADIO_TXPOWER_TXPOWER_Neg3dBm , NRF_RADIO_TXPOWER_NEG4DBM = RADIO_TXPOWER_TXPOWER_Neg4dBm , NRF_RADIO_TXPOWER_NEG5DBM = RADIO_TXPOWER_TXPOWER_Neg5dBm , NRF_RADIO_TXPOWER_NEG6DBM = RADIO_TXPOWER_TXPOWER_Neg6dBm , NRF_RADIO_TXPOWER_NEG7DBM = RADIO_TXPOWER_TXPOWER_Neg7dBm , NRF_RADIO_TXPOWER_NEG8DBM = RADIO_TXPOWER_TXPOWER_Neg8dBm , NRF_RADIO_TXPOWER_NEG9DBM = RADIO_TXPOWER_TXPOWER_Neg9dBm , NRF_RADIO_TXPOWER_NEG10DBM = RADIO_TXPOWER_TXPOWER_Neg10dBm , NRF_RADIO_TXPOWER_NEG12DBM = RADIO_TXPOWER_TXPOWER_Neg12dBm , NRF_RADIO_TXPOWER_NEG14DBM = RADIO_TXPOWER_TXPOWER_Neg14dBm , NRF_RADIO_TXPOWER_NEG16DBM = RADIO_TXPOWER_TXPOWER_Neg16dBm , NRF_RADIO_TXPOWER_NEG18DBM = RADIO_TXPOWER_TXPOWER_Neg18dBm , NRF_RADIO_TXPOWER_NEG20DBM = RADIO_TXPOWER_TXPOWER_Neg20dBm , NRF_RADIO_TXPOWER_NEG22DBM = RADIO_TXPOWER_TXPOWER_Neg22dBm , NRF_RADIO_TXPOWER_NEG28DBM = RADIO_TXPOWER_TXPOWER_Neg28dBm , NRF_RADIO_TXPOWER_NEG30DBM = RADIO_TXPOWER_TXPOWER_Neg30dBm , NRF_RADIO_TXPOWER_NEG40DBM = RADIO_TXPOWER_TXPOWER_Neg40dBm , NRF_RADIO_TXPOWER_NEG46DBM = RADIO_TXPOWER_TXPOWER_Neg46dBm , NRF_RADIO_TXPOWER_NEG70DBM = RADIO_TXPOWER_TXPOWER_Neg70dBm , NRF_RADIO_TXPOWER_NEG100DBM = RADIO_TXPOWER_TXPOWER_Neg100dBm } |
| Types of RADIO TX power. 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_NRF_250KBIT = RADIO_MODE_MODE_Nrf_250Kbit , NRF_RADIO_MODE_NRF_4MBIT_H_0_5 = RADIO_MODE_MODE_Nrf_4Mbit0_5 , NRF_RADIO_MODE_NRF_4MBIT_H_0_25 = RADIO_MODE_MODE_Nrf_4Mbit0_25 , NRF_RADIO_MODE_NRF_4MBIT_BT_0_6 = RADIO_MODE_MODE_Nrf_4Mbit_0BT6 , NRF_RADIO_MODE_NRF_4MBIT_BT_0_4 = RADIO_MODE_MODE_Nrf_4Mbit_0BT4 , NRF_RADIO_MODE_BLE_1MBIT = RADIO_MODE_MODE_Ble_1Mbit , NRF_RADIO_MODE_BLE_2MBIT = RADIO_MODE_MODE_Ble_2Mbit , NRF_RADIO_MODE_BLE_LR125KBIT = RADIO_MODE_MODE_Ble_LR125Kbit , NRF_RADIO_MODE_BLE_LR500KBIT = RADIO_MODE_MODE_Ble_LR500Kbit , 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_addr_t { NRF_RADIO_CRC_ADDR_INCLUDE = RADIO_CRCCNF_SKIPADDR_Include , NRF_RADIO_CRC_ADDR_SKIP = RADIO_CRCCNF_SKIPADDR_Skip , NRF_RADIO_CRC_ADDR_IEEE802154 = RADIO_CRCCNF_SKIPADDR_Ieee802154 , NRF_RADIO_CRC_ADDR_S0 = RADIO_CRCCNF_OFFSET_SO , NRF_RADIO_CRC_ADDR_S1 = RADIO_CRCCNF_OFFSET_S1 } |
| Types of CRC calculatons regarding address. More... | |
| enum | nrf_radio_dfe_op_mode_t { NRF_RADIO_DFE_OP_MODE_AOD = RADIO_DFEMODE_DFEOPMODE_AoD , NRF_RADIO_DFE_OP_MODE_AOA = RADIO_DFEMODE_DFEOPMODE_AoA } |
| Direction Finding operation modes. More... | |
| enum | nrf_radio_dfe_switch_state_t { NRF_RADIO_DFE_SWITCH_STATE_IDLE = RADIO_DFESTATUS_SWITCHINGSTATE_Idle , NRF_RADIO_DFE_SWITCH_STATE_OFFSET = RADIO_DFESTATUS_SWITCHINGSTATE_Offset , NRF_RADIO_DFE_SWITCH_STATE_GUARD = RADIO_DFESTATUS_SWITCHINGSTATE_Guard , NRF_RADIO_DFE_SWITCH_STATE_REF = RADIO_DFESTATUS_SWITCHINGSTATE_Ref , NRF_RADIO_DFE_SWITCH_STATE_SWITCHING = RADIO_DFESTATUS_SWITCHINGSTATE_Switching , NRF_RADIO_DFE_SWITCH_STATE_ENDING = RADIO_DFESTATUS_SWITCHINGSTATE_Ending } |
| States of Direction Finding switching state machine. More... | |
| enum | nrf_radio_dfe_sample_state_t { NRF_RADIO_DFE_SAMPLE_STATE_IDLE = RADIO_DFESTATUS_SAMPLINGSTATE_Idle , NRF_RADIO_DFE_SAMPLE_STATE_SAMPLING = RADIO_DFESTATUS_SAMPLINGSTATE_Sampling } |
| States of Direction Finding sampling state machine. More... | |
| enum | nrf_radio_cteinline_time_range_t { NRF_RADIO_CTEINLINE_TIME_RANGE_20 = RADIO_CTEINLINECONF_CTETIMEVALIDRANGE_20 , NRF_RADIO_CTEINLINE_TIME_RANGE_31 = RADIO_CTEINLINECONF_CTETIMEVALIDRANGE_31 , NRF_RADIO_CTEINLINE_TIME_RANGE_63 = RADIO_CTEINLINECONF_CTETIMEVALIDRANGE_63 } |
| Valid ranges of CTE time, expressed in 8 us units. More... | |
| enum | nrf_radio_cteinline_rx_mode_t { NRF_RADIO_CTEINLINE_RX_MODE_125NS = RADIO_CTEINLINECONF_CTEINLINERXMODE1US_125ns , NRF_RADIO_CTEINLINE_RX_MODE_250NS = RADIO_CTEINLINECONF_CTEINLINERXMODE1US_250ns , NRF_RADIO_CTEINLINE_RX_MODE_500NS = RADIO_CTEINLINECONF_CTEINLINERXMODE1US_500ns , NRF_RADIO_CTEINLINE_RX_MODE_1US = RADIO_CTEINLINECONF_CTEINLINERXMODE1US_1us , NRF_RADIO_CTEINLINE_RX_MODE_2US = RADIO_CTEINLINECONF_CTEINLINERXMODE1US_2us , NRF_RADIO_CTEINLINE_RX_MODE_4US = RADIO_CTEINLINECONF_CTEINLINERXMODE1US_4us } |
| Spacing between samples for the samples in the switching period. More... | |
| enum | nrf_radio_dfectrl_extension_t { NRF_RADIO_DFECTRL_EXTENSION_CRC = RADIO_DFECTRL1_DFEINEXTENSION_CRC , NRF_RADIO_DFECTRL_EXTENSION_PAYLOAD = RADIO_DFECTRL1_DFEINEXTENSION_Payload } |
| State when CTE extension is added and antenna switching/sampling is done. More... | |
| enum | nrf_radio_dfectrl_switch_spacing_t { NRF_RADIO_DFECTRL_SWITCH_SPACING_1US = RADIO_DFECTRL1_TSWITCHSPACING_1us , NRF_RADIO_DFECTRL_SWITCH_SPACING_2US = RADIO_DFECTRL1_TSWITCHSPACING_2us , NRF_RADIO_DFECTRL_SWITCH_SPACING_4US = RADIO_DFECTRL1_TSWITCHSPACING_4us } |
| Interval between antenna changes in the switching state. More... | |
| enum | nrf_radio_dfectrl_sample_spacing_t { NRF_RADIO_DFECTRL_SAMPLE_SPACING_125NS = RADIO_DFECTRL1_TSAMPLESPACING_125ns , NRF_RADIO_DFECTRL_SAMPLE_SPACING_250NS = RADIO_DFECTRL1_TSAMPLESPACING_250ns , NRF_RADIO_DFECTRL_SAMPLE_SPACING_500NS = RADIO_DFECTRL1_TSAMPLESPACING_500ns , NRF_RADIO_DFECTRL_SAMPLE_SPACING_1US = RADIO_DFECTRL1_TSAMPLESPACING_1us , NRF_RADIO_DFECTRL_SAMPLE_SPACING_2US = RADIO_DFECTRL1_TSAMPLESPACING_2us , NRF_RADIO_DFECTRL_SAMPLE_SPACING_4US = RADIO_DFECTRL1_TSAMPLESPACING_4us } |
| Interval between samples. More... | |
| enum | nrf_radio_dfectrl_sample_type_t { NRF_RADIO_DFECTRL_SAMPLE_TYPE_IQ = RADIO_DFECTRL1_SAMPLETYPE_IQ , NRF_RADIO_DFECTRL_SAMPLE_TYPE_MAGPHASE = RADIO_DFECTRL1_SAMPLETYPE_MagPhase } |
| Direction finding sample type. More... | |
Functions | |
| NRF_STATIC_INLINE void | nrf_radio_task_trigger (NRF_RADIO_Type *p_reg, nrf_radio_task_t task) |
| Function for activating a specific RADIO task. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_task_address_get (NRF_RADIO_Type const *p_reg, nrf_radio_task_t task) |
| Function for getting the address of a specific RADIO task register. | |
| NRF_STATIC_INLINE void | nrf_radio_event_clear (NRF_RADIO_Type *p_reg, nrf_radio_event_t event) |
| Function for clearing a specific RADIO event. | |
| NRF_STATIC_INLINE bool | nrf_radio_event_check (NRF_RADIO_Type const *p_reg, nrf_radio_event_t event) |
| Function for retrieving the state of the RADIO event. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_event_address_get (NRF_RADIO_Type const *p_reg, nrf_radio_event_t event) |
| Function for getting the address of a specific RADIO event register. | |
| NRF_STATIC_INLINE void | nrf_radio_shorts_group_enable (NRF_RADIO_Type *p_reg, uint8_t group_idx, uint32_t shorts_mask) |
| Function for enabling specified RADIO shortcuts. | |
| NRF_STATIC_INLINE void | nrf_radio_shorts_group_disable (NRF_RADIO_Type *p_reg, uint8_t group_idx, uint32_t shorts_mask) |
| Function for disabling specified RADIO shortcuts. | |
| NRF_STATIC_INLINE void | nrf_radio_shorts_group_set (NRF_RADIO_Type *p_reg, uint8_t group_idx, uint32_t shorts_mask) |
| Function for setting the configuration of RADIO shortcuts. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_shorts_group_get (NRF_RADIO_Type const *p_reg, uint8_t group_idx) |
| Function for getting the configuration of RADIO shortcuts. | |
| NRF_STATIC_INLINE void | nrf_radio_shorts_enable (NRF_RADIO_Type *p_reg, uint32_t shorts_mask) |
| Function for enabling specified RADIO shortcuts. | |
| NRF_STATIC_INLINE void | nrf_radio_shorts_disable (NRF_RADIO_Type *p_reg, uint32_t shorts_mask) |
| Function for disabling specified RADIO shortcuts. | |
| NRF_STATIC_INLINE void | nrf_radio_shorts_set (NRF_RADIO_Type *p_reg, uint32_t shorts_mask) |
| Function for setting the configuration of RADIO shortcuts. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_shorts_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the configuration of RADIO shortcuts. | |
| NRF_STATIC_INLINE void | nrf_radio_int_enable (NRF_RADIO_Type *p_reg, uint32_t mask) |
| Function for enabling specified RADIO interrupts. | |
| NRF_STATIC_INLINE void | nrf_radio_int_disable (NRF_RADIO_Type *p_reg, uint32_t mask) |
| Function for disabling specified RADIO interrupts. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_int_enable_check (NRF_RADIO_Type const *p_reg, uint32_t mask) |
| Function for checking if the specified interrupts are enabled. | |
| NRF_STATIC_INLINE void | nrf_radio_subscribe_set (NRF_RADIO_Type *p_reg, nrf_radio_task_t task, uint8_t channel) |
| Function for setting the subscribe configuration for a given RADIO task. | |
| NRF_STATIC_INLINE void | nrf_radio_subscribe_clear (NRF_RADIO_Type *p_reg, nrf_radio_task_t task) |
| Function for clearing the subscribe configuration for a given RADIO task. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_subscribe_get (NRF_RADIO_Type const *p_reg, nrf_radio_task_t task) |
| Function for getting the subscribe configuration for a given RADIO task. | |
| NRF_STATIC_INLINE void | nrf_radio_publish_set (NRF_RADIO_Type *p_reg, nrf_radio_event_t event, uint8_t channel) |
| Function for setting the publish configuration for a given RADIO event. | |
| NRF_STATIC_INLINE void | nrf_radio_publish_clear (NRF_RADIO_Type *p_reg, nrf_radio_event_t event) |
| Function for clearing the publish configuration for a given RADIO event. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_publish_get (NRF_RADIO_Type const *p_reg, nrf_radio_event_t event) |
| Function for getting the publish configuration for a given RADIO event. | |
| NRF_STATIC_INLINE bool | nrf_radio_crc_status_check (NRF_RADIO_Type const *p_reg) |
| Function for getting CRC status of last received packet. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_rxmatch_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the received address. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_rxcrc_get (NRF_RADIO_Type const *p_reg) |
| Function for getting CRC field of the last received packet. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_dai_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the device address match index. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_pdustat_get (NRF_RADIO_Type const *p_reg) |
| Function for getting status on payload length. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_cistat_get (NRF_RADIO_Type const *p_reg) |
| Function for getting status on what rate packet is received with in Long Range. | |
| NRF_STATIC_INLINE void | nrf_radio_packetptr_set (NRF_RADIO_Type *p_reg, void const *p_packet) |
| Function for setting packet pointer to given location in memory. | |
| NRF_STATIC_INLINE void * | nrf_radio_packetptr_get (NRF_RADIO_Type const *p_reg) |
| Function for getting packet pointer. | |
| NRF_STATIC_INLINE void | nrf_radio_frequency_set (NRF_RADIO_Type *p_reg, uint16_t radio_frequency) |
| Function for setting the radio frequency. | |
| NRF_STATIC_INLINE uint16_t | nrf_radio_frequency_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the radio frequency. | |
| NRF_STATIC_INLINE void | nrf_radio_txpower_set (NRF_RADIO_Type *p_reg, nrf_radio_txpower_t tx_power) |
| Function for setting the radio transmit power. | |
| NRF_STATIC_INLINE nrf_radio_txpower_t | nrf_radio_txpower_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the radio transmit power. | |
| NRF_STATIC_INLINE void | nrf_radio_mode_set (NRF_RADIO_Type *p_reg, nrf_radio_mode_t radio_mode) |
| Function for setting the radio data rate and modulation settings. | |
| NRF_STATIC_INLINE nrf_radio_mode_t | nrf_radio_mode_get (NRF_RADIO_Type const *p_reg) |
| Function for getting Radio data rate and modulation settings. | |
| NRF_STATIC_INLINE void | nrf_radio_packet_configure (NRF_RADIO_Type *p_reg, nrf_radio_packet_conf_t const *p_config) |
| Function for setting the packet configuration. | |
| NRF_STATIC_INLINE void | nrf_radio_base0_set (NRF_RADIO_Type *p_reg, uint32_t address) |
| Function for setting the base address 0. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_base0_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the base address 0. | |
| NRF_STATIC_INLINE void | nrf_radio_base1_set (NRF_RADIO_Type *p_reg, uint32_t address) |
| Function for setting Base address 1. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_base1_get (NRF_RADIO_Type const *p_reg) |
| Function for getting base address 1. | |
| NRF_STATIC_INLINE void | nrf_radio_prefix0_set (NRF_RADIO_Type *p_reg, uint32_t prefixes) |
| Function for setting prefixes bytes for logical addresses 0-3. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_prefix0_get (NRF_RADIO_Type const *p_reg) |
| Function for getting prefixes bytes for logical addresses 0-3. | |
| NRF_STATIC_INLINE void | nrf_radio_prefix1_set (NRF_RADIO_Type *p_reg, uint32_t prefixes) |
| Function for setting prefixes bytes for logical addresses 4-7. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_prefix1_get (NRF_RADIO_Type const *p_reg) |
| Function for getting prefixes bytes for logical addresses 4-7. | |
| NRF_STATIC_INLINE void | nrf_radio_txaddress_set (NRF_RADIO_Type *p_reg, uint8_t txaddress) |
| Function for setting the transmit address. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_txaddress_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the transmit address select. | |
| NRF_STATIC_INLINE void | nrf_radio_rxaddresses_set (NRF_RADIO_Type *p_reg, uint8_t rxaddresses) |
| Function for for selecting the receive addresses. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_rxaddresses_get (NRF_RADIO_Type const *p_reg) |
| Function for getting receive address select. | |
| NRF_STATIC_INLINE void | nrf_radio_crc_configure (NRF_RADIO_Type *p_reg, uint8_t crc_length, nrf_radio_crc_addr_t crc_address, uint32_t crc_polynominal) |
| Function for configure CRC. | |
| NRF_STATIC_INLINE void | nrf_radio_crcinit_set (NRF_RADIO_Type *p_reg, uint32_t crc_init_value) |
| Function for setting CRC initial value. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_crcinit_get (NRF_RADIO_Type const *p_reg) |
| Function for getting CRC initial value. | |
| NRF_STATIC_INLINE void | nrf_radio_ifs_set (NRF_RADIO_Type *p_reg, uint32_t radio_ifs) |
| Function for setting Inter Frame Spacing interval. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_ifs_get (NRF_RADIO_Type const *p_reg) |
| Function for getting Inter Frame Spacing interval. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_rssi_sample_get (NRF_RADIO_Type const *p_reg) |
| Function for getting RSSI sample result. | |
| NRF_STATIC_INLINE nrf_radio_state_t | nrf_radio_state_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the current state of the radio module. | |
| NRF_STATIC_INLINE void | nrf_radio_datawhiteiv_set (NRF_RADIO_Type *p_reg, uint16_t datawhiteiv) |
| Function for setting the data whitening initial value. | |
| NRF_STATIC_INLINE uint16_t | nrf_radio_datawhiteiv_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the data whitening initial value. | |
| NRF_STATIC_INLINE void | nrf_radio_datawhite_poly_set (NRF_RADIO_Type *p_reg, uint16_t poly) |
| Function for setting the data whitening polynomial. | |
| NRF_STATIC_INLINE uint16_t | nrf_radio_datawhite_poly_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the data whitening polynomial. | |
| NRF_STATIC_INLINE void | nrf_radio_bcc_set (NRF_RADIO_Type *p_reg, uint32_t radio_bcc) |
| Function for setting Bit counter compare. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_bcc_get (NRF_RADIO_Type const *p_reg) |
| Function for getting Bit counter compare. | |
| NRF_STATIC_INLINE void | nrf_radio_dab_set (NRF_RADIO_Type *p_reg, uint32_t dab_value, uint8_t segment) |
| Function for setting Device address base segment. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_dab_get (NRF_RADIO_Type const *p_reg, uint8_t segment) |
| Function for getting Device address base segment. | |
| NRF_STATIC_INLINE void | nrf_radio_dap_set (NRF_RADIO_Type *p_reg, uint16_t dap_value, uint8_t prefix_index) |
| Function for setting device address prefix. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_dap_get (NRF_RADIO_Type const *p_reg, uint8_t prefix_index) |
| Function for getting Device address prefix. | |
| NRF_STATIC_INLINE void | nrf_radio_dacnf_set (NRF_RADIO_Type *p_reg, uint8_t ena, uint8_t txadd) |
| Function for setting device address match configuration. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_dacnf_ena_get (NRF_RADIO_Type const *p_reg) |
| Function for getting ENA field of the Device address match configuration register. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_dacnf_txadd_get (NRF_RADIO_Type const *p_reg) |
| Function for getting TXADD field of the Device address match configuration register. | |
| NRF_STATIC_INLINE void | nrf_radio_mhmu_search_pattern_set (NRF_RADIO_Type *p_reg, uint32_t radio_mhmu_search_pattern) |
| Function for setting MAC Header Match Unit search pattern configuration. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_mhmu_search_pattern_get (NRF_RADIO_Type const *p_reg) |
| Function for getting MAC Header Match Unit search pattern configuration. | |
| NRF_STATIC_INLINE void | nrf_radio_mhmu_pattern_mask_set (NRF_RADIO_Type *p_reg, uint32_t radio_mhmu_pattern_mask) |
| Function for setting MAC Header Match Unit pattern mask configuration. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_mhmu_pattern_mask_get (NRF_RADIO_Type const *p_reg) |
| Function for getting MAC Header Match Unit pattern mask configuration. | |
| NRF_STATIC_INLINE void | nrf_radio_modecnf0_set (NRF_RADIO_Type *p_reg, bool fast_ramp_up, uint8_t default_tx) |
| Function for setting Radio mode configuration register 0. | |
| NRF_STATIC_INLINE bool | nrf_radio_modecnf0_ru_get (NRF_RADIO_Type const *p_reg) |
| Function for getting ramp-up time configuration of the Radio mode configuration register 0. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_modecnf0_dtx_get (NRF_RADIO_Type const *p_reg) |
| Function for getting default TX value of the Radio mode configuration register 0. | |
| NRF_STATIC_INLINE void | nrf_radio_fast_ramp_up_enable_set (NRF_RADIO_Type *p_reg, bool enable) |
| Function for enabling or disabling fast ramp-up setting. | |
| NRF_STATIC_INLINE bool | nrf_radio_fast_ramp_up_check (NRF_RADIO_Type const *p_reg) |
| Function for checking fast ramp-up time configuration. | |
| NRF_STATIC_INLINE void | nrf_radio_sfd_set (NRF_RADIO_Type *p_reg, uint8_t sfd) |
| Function for setting IEEE 802.15.4 start of frame delimiter. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_sfd_get (NRF_RADIO_Type const *p_reg) |
| Function for getting IEEE 802.15.4 start of frame delimiter. | |
| NRF_STATIC_INLINE void | nrf_radio_ed_loop_count_set (NRF_RADIO_Type *p_reg, uint32_t ed_loop_count) |
| Function for setting number of iterations to perform ED scan. | |
| NRF_STATIC_INLINE void | nrf_radio_ed_cca_period_set (NRF_RADIO_Type *p_reg, uint8_t ed_period) |
| Function for setting the period of a ED/CCA iteration. | |
| NRF_STATIC_INLINE uint8_t | nrf_radio_ed_sample_get (NRF_RADIO_Type const *p_reg) |
| Function for getting Energy Detection level. | |
| NRF_STATIC_INLINE void | nrf_radio_cca_configure (NRF_RADIO_Type *p_reg, nrf_radio_cca_mode_t cca_mode, uint8_t cca_ed_threshold, uint8_t cca_corr_threshold, uint8_t cca_corr_cnt) |
| Function for configuring the IEEE 802.15.4 clear channel assessment. | |
| NRF_STATIC_INLINE void | nrf_radio_power_set (NRF_RADIO_Type *p_reg, bool radio_power) |
| Function for setting power mode of the radio peripheral. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_cte_time_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the CTE time parsed from received packet. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_cte_type_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the CTE type parsed from received packet. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_cte_rfu_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the CTE RFU parsed from received packet. | |
| NRF_STATIC_INLINE nrf_radio_dfe_switch_state_t | nrf_radio_dfe_switch_state_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the current state of DFE switching state machine. | |
| NRF_STATIC_INLINE nrf_radio_dfe_sample_state_t | nrf_radio_dfe_sample_state_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the current state of DFE sampling state machine. | |
| NRF_STATIC_INLINE void | nrf_radio_cteinline_configure (NRF_RADIO_Type *p_reg, nrf_radio_cteinline_conf_t const *p_config) |
| Function for setting the configuration of CTE inline mode. | |
| NRF_STATIC_INLINE void | nrf_radio_dfectrl_configure (NRF_RADIO_Type *p_reg, nrf_radio_dfectrl_conf_t const *p_config) |
| Function for setting the direction finding configuration. | |
| NRF_STATIC_INLINE void | nrf_radio_dfe_pattern_pin_set (NRF_RADIO_Type *p_reg, uint32_t pin, uint8_t pos) |
| Function for configuring the specified GPIO pin for antenna control. | |
| NRF_STATIC_INLINE void | nrf_radio_dfe_pattern_add (NRF_RADIO_Type *p_reg, uint8_t pin_mask) |
| Function for adding single pattern to the array of GPIO patterns for antenna control. | |
| NRF_STATIC_INLINE void | nrf_radio_dfe_patterns_add (NRF_RADIO_Type *p_reg, uint8_t const *p_pin_masks, size_t length) |
| Function for adding multiple patterns to the array of GPIO patterns for antenna control. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_dfe_pattern_cnt_get (NRF_RADIO_Type const *p_reg) |
| Function for getting number of currently configured GPIO patterns for antenna control. | |
| NRF_STATIC_INLINE void | nrf_radio_dfe_pattern_clear (NRF_RADIO_Type *p_reg) |
| Function for clearing all of the currently configured GPIO patterns for antenna control. | |
| NRF_STATIC_INLINE void | nrf_radio_dfe_buffer_set (NRF_RADIO_Type *p_reg, uint32_t *p_buffer, size_t length) |
| Function for setting the buffer for storing IQ samples or magnitude and phase pairs of the samples. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_dfe_amount_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the number of stored IQ samples or magnitude and phase pairs of the samples during last transaction. | |
| NRF_STATIC_INLINE uint32_t | nrf_radio_dfe_current_amount_get (NRF_RADIO_Type const *p_reg) |
| Function for getting the number of bytes transferred in the current transaction. | |
Hardware access layer for managing the RADIO peripheral.
| enum nrf_radio_cca_mode_t |
RADIO Clear Channel Assessment modes.
| enum nrf_radio_crc_addr_t |
Types of CRC calculatons regarding address.
Spacing between samples for the samples in the switching period.
States of Direction Finding switching state machine.
Interval between samples.
| 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).
RADIO shortcuts.
| enum nrf_radio_state_t |
Types of RADIO states.
| enum nrf_radio_task_t |
RADIO tasks.
| enum nrf_radio_txpower_t |
Types of RADIO TX power.
| NRF_STATIC_INLINE uint32_t nrf_radio_base0_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the base address 0.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_base0_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | address ) |
Function for setting the base address 0.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | address | Base address 0 value. |
| NRF_STATIC_INLINE uint32_t nrf_radio_base1_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting base address 1.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_base1_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | address ) |
Function for setting Base address 1.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | address | Base address 1 value. |
| NRF_STATIC_INLINE uint32_t nrf_radio_bcc_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting Bit counter compare.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_bcc_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | radio_bcc ) |
Function for setting Bit counter compare.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | radio_bcc | Bit counter compare [bits]. |
| NRF_STATIC_INLINE void nrf_radio_cca_configure | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_cca_mode_t | cca_mode, | ||
| uint8_t | cca_ed_threshold, | ||
| uint8_t | cca_corr_threshold, | ||
| uint8_t | cca_corr_cnt ) |
Function for configuring the IEEE 802.15.4 clear channel assessment.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | cca_mode | Mode of CCA. |
| [in] | cca_ed_threshold | Energy Detection threshold value. |
| [in] | cca_corr_threshold | Correlator Busy Threshold. |
| [in] | cca_corr_cnt | Limit of occurances above Correlator Threshold. When not equal to zero the correlator based signal detect is enabled. |
| NRF_STATIC_INLINE uint8_t nrf_radio_cistat_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting status on what rate packet is received with in Long Range.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| 0 | The frame is received at 125kbps. |
| 1 | The frame is received at 500kbps. |
| NRF_STATIC_INLINE void nrf_radio_crc_configure | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | crc_length, | ||
| nrf_radio_crc_addr_t | crc_address, | ||
| uint32_t | crc_polynominal ) |
Function for configure CRC.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | crc_length | CRC length in number of bytes [0-3]. |
| [in] | crc_address | Include or exclude packet address field out of CRC. |
| [in] | crc_polynominal | CRC polynominal to set. |
| NRF_STATIC_INLINE bool nrf_radio_crc_status_check | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting CRC status of last received packet.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| true | The packet was received without CRC error. |
| false | The packet was received with CRC error. |
| NRF_STATIC_INLINE uint32_t nrf_radio_crcinit_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting CRC initial value.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_crcinit_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | crc_init_value ) |
Function for setting CRC initial value.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | crc_init_value | CRC initial value |
| NRF_STATIC_INLINE uint32_t nrf_radio_cte_rfu_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the CTE RFU parsed from received packet.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint32_t nrf_radio_cte_time_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the CTE time parsed from received packet.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint32_t nrf_radio_cte_type_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the CTE type parsed from received packet.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_cteinline_configure | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_cteinline_conf_t const * | p_config ) |
Function for setting the configuration of CTE inline mode.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | p_config | Pointer to the structure with CTE inline mode configuration. |
| NRF_STATIC_INLINE uint32_t nrf_radio_dab_get | ( | NRF_RADIO_Type const * | p_reg, |
| uint8_t | segment ) |
Function for getting Device address base segment.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | segment | Number of the Device address base segment. |
| NRF_STATIC_INLINE void nrf_radio_dab_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | dab_value, | ||
| uint8_t | segment ) |
Function for setting Device address base segment.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | dab_value | Particular base segment value. |
| [in] | segment | Index of the particular Device address base segment register. |
| NRF_STATIC_INLINE uint8_t nrf_radio_dacnf_ena_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting ENA field of the Device address match configuration register.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_dacnf_set | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | ena, | ||
| uint8_t | txadd ) |
Function for setting device address match configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | ena | Device address matching bitmask. |
| [in] | txadd | TxAdd bitmask. |
| NRF_STATIC_INLINE uint8_t nrf_radio_dacnf_txadd_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting TXADD field of the Device address match configuration register.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint8_t nrf_radio_dai_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the device address match index.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint32_t nrf_radio_dap_get | ( | NRF_RADIO_Type const * | p_reg, |
| uint8_t | prefix_index ) |
Function for getting Device address prefix.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | prefix_index | Number of the Device address prefix segment. |
| NRF_STATIC_INLINE void nrf_radio_dap_set | ( | NRF_RADIO_Type * | p_reg, |
| uint16_t | dap_value, | ||
| uint8_t | prefix_index ) |
Function for setting device address prefix.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | dap_value | Particular device address prefix value. |
| [in] | prefix_index | Index of the particular device address prefix register. |
| NRF_STATIC_INLINE uint16_t nrf_radio_datawhite_poly_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the data whitening polynomial.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_datawhite_poly_set | ( | NRF_RADIO_Type * | p_reg, |
| uint16_t | poly ) |
Function for setting the data whitening polynomial.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | poly | Data whitening polynomial. |
| NRF_STATIC_INLINE uint16_t nrf_radio_datawhiteiv_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the data whitening initial value.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_datawhiteiv_set | ( | NRF_RADIO_Type * | p_reg, |
| uint16_t | datawhiteiv ) |
Function for setting the data whitening initial value.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | datawhiteiv | Data whitening initial value. |
| NRF_STATIC_INLINE uint32_t nrf_radio_dfe_amount_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the number of stored IQ samples or magnitude and phase pairs of the samples during last transaction.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| Amount | of samples. |
| NRF_STATIC_INLINE void nrf_radio_dfe_buffer_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t * | p_buffer, | ||
| size_t | length ) |
Function for setting the buffer for storing IQ samples or magnitude and phase pairs of the samples.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | p_buffer | Pointer to the buffer for storing IQ samples or magnitude and phase of the samples. |
| [in] | length | Maximum number of samples to receive. |
| NRF_STATIC_INLINE uint32_t nrf_radio_dfe_current_amount_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the number of bytes transferred in the current transaction.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_dfe_pattern_add | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | pin_mask ) |
Function for adding single pattern to the array of GPIO patterns for antenna control.
The GPIO pattern array size is 40 entries. This function configures single pattern consisting of 8 pins. To set subsequent pattern, call this function again. To get total number of currently configured patterns use nrf_radio_dfe_pattern_cnt_get(). To clear the array of GPIO patterns use nrf_radio_dfe_pattern_clear().
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | pin_mask | Bitmask specifying pins to be used in this switching pattern. Each bit corresponds to the index of the pin configured with nrf_radio_dfe_pattern_pin_set(). |
| NRF_STATIC_INLINE void nrf_radio_dfe_pattern_clear | ( | NRF_RADIO_Type * | p_reg | ) |
Function for clearing all of the currently configured GPIO patterns for antenna control.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint32_t nrf_radio_dfe_pattern_cnt_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting number of currently configured GPIO patterns for antenna control.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_dfe_pattern_pin_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | pin, | ||
| uint8_t | pos ) |
Function for configuring the specified GPIO pin for antenna control.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | pin | Pin number. |
| [in] | pos | Position of the pin in the switching pattern configured with nrf_radio_dfe_pattern_add() or nrf_radio_dfe_patterns_add(). |
| NRF_STATIC_INLINE void nrf_radio_dfe_patterns_add | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t const * | p_pin_masks, | ||
| size_t | length ) |
Function for adding multiple patterns to the array of GPIO patterns for antenna control.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | p_pin_masks | Pointer to the array of bitmasks specifying pins to be used in subsequent switching patterns. |
| [in] | length | Bitmask array length. |
| NRF_STATIC_INLINE nrf_radio_dfe_sample_state_t nrf_radio_dfe_sample_state_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the current state of DFE sampling state machine.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE nrf_radio_dfe_switch_state_t nrf_radio_dfe_switch_state_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the current state of DFE switching state machine.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_dfectrl_configure | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_dfectrl_conf_t const * | p_config ) |
Function for setting the direction finding configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | p_config | Pointer to the structure with direction finding configuration. |
| NRF_STATIC_INLINE void nrf_radio_ed_cca_period_set | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | ed_period ) |
Function for setting the period of a ED/CCA iteration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | ed_period | Duration of a single ED/CCA iteration. |
| NRF_STATIC_INLINE void nrf_radio_ed_loop_count_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | ed_loop_count ) |
Function for setting number of iterations to perform ED scan.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | ed_loop_count | Number of iterations during ED procedure. |
| NRF_STATIC_INLINE uint8_t nrf_radio_ed_sample_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting Energy Detection level.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint32_t nrf_radio_event_address_get | ( | NRF_RADIO_Type const * | p_reg, |
| nrf_radio_event_t | event ) |
Function for getting the address of a specific RADIO event register.
This function can be used by the PPI module.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Requested Event. |
| NRF_STATIC_INLINE bool nrf_radio_event_check | ( | NRF_RADIO_Type const * | p_reg, |
| nrf_radio_event_t | event ) |
Function for retrieving the state of the RADIO event.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event to be checked. |
| true | The event has been generated. |
| false | The event has not been generated. |
| NRF_STATIC_INLINE void nrf_radio_event_clear | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_event_t | event ) |
Function for clearing a specific RADIO event.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event to clean. |
| NRF_STATIC_INLINE bool nrf_radio_fast_ramp_up_check | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for checking fast ramp-up time configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_fast_ramp_up_enable_set | ( | NRF_RADIO_Type * | p_reg, |
| bool | enable ) |
Function for enabling or disabling fast ramp-up setting.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | enable | True if fast ramp-up is to be enabled, false otherwise. |
| NRF_STATIC_INLINE uint16_t nrf_radio_frequency_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the radio frequency.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_frequency_set | ( | NRF_RADIO_Type * | p_reg, |
| uint16_t | radio_frequency ) |
Function for setting the radio frequency.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | radio_frequency | Frequency in MHz. |
| NRF_STATIC_INLINE uint32_t nrf_radio_ifs_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting Inter Frame Spacing interval.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_ifs_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | radio_ifs ) |
Function for setting Inter Frame Spacing interval.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | radio_ifs | Inter frame spacing interval [us]. |
| NRF_STATIC_INLINE void nrf_radio_int_disable | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | mask ) |
Function for disabling specified RADIO interrupts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of interrupts to be disabled. Use nrf_radio_int_mask_t values for bit masking. |
| NRF_STATIC_INLINE void nrf_radio_int_enable | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | mask ) |
Function for enabling specified RADIO interrupts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of interrupts to be enabled. Use nrf_radio_int_mask_t values for bit masking. |
| NRF_STATIC_INLINE uint32_t nrf_radio_int_enable_check | ( | NRF_RADIO_Type const * | p_reg, |
| uint32_t | mask ) |
Function for checking if the specified interrupts are enabled.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | mask | Mask of interrupts to be checked. Use nrf_radio_int_mask_t values for bit masking. |
| NRF_STATIC_INLINE uint32_t nrf_radio_mhmu_pattern_mask_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting MAC Header Match Unit pattern mask configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_mhmu_pattern_mask_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | radio_mhmu_pattern_mask ) |
Function for setting MAC Header Match Unit pattern mask configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | radio_mhmu_pattern_mask | Pattern mask. |
| NRF_STATIC_INLINE uint32_t nrf_radio_mhmu_search_pattern_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting MAC Header Match Unit search pattern configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| void nrf_radio_mhmu_search_pattern_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | radio_mhmu_search_pattern ) |
Function for setting MAC Header Match Unit search pattern configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | radio_mhmu_search_pattern | Search Pattern Configuration. |
| NRF_STATIC_INLINE nrf_radio_mode_t nrf_radio_mode_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting Radio data rate and modulation settings.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_mode_set | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_mode_t | radio_mode ) |
Function for setting the radio data rate and modulation settings.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | radio_mode | Radio data rate and modulation. |
| NRF_STATIC_INLINE uint8_t nrf_radio_modecnf0_dtx_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting default TX value of the Radio mode configuration register 0.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE bool nrf_radio_modecnf0_ru_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting ramp-up time configuration of the Radio mode configuration register 0.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| true | If the ramp-up time is set to fast. |
| false | If the ramp-up time is set to default. |
| NRF_STATIC_INLINE void nrf_radio_modecnf0_set | ( | NRF_RADIO_Type * | p_reg, |
| bool | fast_ramp_up, | ||
| uint8_t | default_tx ) |
Function for setting Radio mode configuration register 0.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | fast_ramp_up | Use fast radio ramp-up time |
| [in] | default_tx | Default TX value during inactivity. |
| NRF_STATIC_INLINE void nrf_radio_packet_configure | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_packet_conf_t const * | p_config ) |
Function for setting the packet configuration.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | p_config | Pointer to the structure with packet configuration. |
| NRF_STATIC_INLINE void * nrf_radio_packetptr_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting packet pointer.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_packetptr_set | ( | NRF_RADIO_Type * | p_reg, |
| void const * | p_packet ) |
Function for setting packet pointer to given location in memory.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | p_packet | Packet pointer. |
| NRF_STATIC_INLINE uint8_t nrf_radio_pdustat_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting status on payload length.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| 0 | The payload is lesser than PCNF1.MAXLEN. |
| 1 | The payload is greater than PCNF1.MAXLEN. |
| NRF_STATIC_INLINE void nrf_radio_power_set | ( | NRF_RADIO_Type * | p_reg, |
| bool | radio_power ) |
Function for setting power mode of the radio peripheral.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | radio_power | If radio should be powered on. |
| NRF_STATIC_INLINE uint32_t nrf_radio_prefix0_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting prefixes bytes for logical addresses 0-3.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_prefix0_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | prefixes ) |
Function for setting prefixes bytes for logical addresses 0-3.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | prefixes | Prefixes bytes for logical addresses 0-3. |
| NRF_STATIC_INLINE uint32_t nrf_radio_prefix1_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting prefixes bytes for logical addresses 4-7.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_prefix1_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | prefixes ) |
Function for setting prefixes bytes for logical addresses 4-7.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | prefixes | Prefixes bytes for logical addresses 4-7. |
| NRF_STATIC_INLINE void nrf_radio_publish_clear | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_event_t | event ) |
Function for clearing the publish configuration for a given RADIO event.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event for which to clear the configuration. |
| NRF_STATIC_INLINE uint32_t nrf_radio_publish_get | ( | NRF_RADIO_Type const * | p_reg, |
| nrf_radio_event_t | event ) |
Function for getting the publish configuration for a given RADIO event.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event for which to read the configuration. |
| NRF_STATIC_INLINE void nrf_radio_publish_set | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_event_t | event, | ||
| uint8_t | channel ) |
Function for setting the publish configuration for a given RADIO event.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | event | Event for which to set the configuration. |
| [in] | channel | Channel through which to publish the event. |
| NRF_STATIC_INLINE uint8_t nrf_radio_rssi_sample_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting RSSI sample result.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint8_t nrf_radio_rxaddresses_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting receive address select.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_rxaddresses_set | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | rxaddresses ) |
Function for for selecting the receive addresses.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | rxaddresses | Enable or disable reception on logical address i. Read more in the Product Specification. |
| NRF_STATIC_INLINE uint32_t nrf_radio_rxcrc_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting CRC field of the last received packet.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint8_t nrf_radio_rxmatch_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the received address.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE uint8_t nrf_radio_sfd_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting IEEE 802.15.4 start of frame delimiter.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_sfd_set | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | sfd ) |
Function for setting IEEE 802.15.4 start of frame delimiter.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | sfd | IEEE 802.15.4 start of frame delimiter. |
| NRF_STATIC_INLINE void nrf_radio_shorts_disable | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | shorts_mask ) |
Function for disabling specified RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | shorts_mask | Mask of shortcuts. |
| NRF_STATIC_INLINE void nrf_radio_shorts_enable | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | shorts_mask ) |
Function for enabling specified RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | shorts_mask | Mask of shortcuts, created using nrf_radio_short_mask_t. |
| NRF_STATIC_INLINE uint32_t nrf_radio_shorts_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the configuration of RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_shorts_group_disable | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | group_idx, | ||
| uint32_t | shorts_mask ) |
Function for disabling specified RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | group_idx | Index of SHORT register. |
| [in] | shorts_mask | Mask of shortcuts, created using nrf_radio_short_mask_t. |
| NRF_STATIC_INLINE void nrf_radio_shorts_group_enable | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | group_idx, | ||
| uint32_t | shorts_mask ) |
Function for enabling specified RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | group_idx | Index of SHORT register. |
| [in] | shorts_mask | Mask of shortcuts, created using nrf_radio_short_mask_t. |
| NRF_STATIC_INLINE uint32_t nrf_radio_shorts_group_get | ( | NRF_RADIO_Type const * | p_reg, |
| uint8_t | group_idx ) |
Function for getting the configuration of RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | group_idx | Index of SHORT register. |
| NRF_STATIC_INLINE void nrf_radio_shorts_group_set | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | group_idx, | ||
| uint32_t | shorts_mask ) |
Function for setting the configuration of RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | group_idx | Index of SHORT register. |
| [in] | shorts_mask | Mask of shortcuts, created using nrf_radio_short_mask_t. |
| NRF_STATIC_INLINE void nrf_radio_shorts_set | ( | NRF_RADIO_Type * | p_reg, |
| uint32_t | shorts_mask ) |
Function for setting the configuration of RADIO shortcuts.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | shorts_mask | Shortcuts configuration to set. |
| NRF_STATIC_INLINE nrf_radio_state_t nrf_radio_state_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the current state of the radio module.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_subscribe_clear | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_task_t | task ) |
Function for clearing the subscribe configuration for a given RADIO task.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | task | Task for which to clear the configuration. |
| NRF_STATIC_INLINE uint32_t nrf_radio_subscribe_get | ( | NRF_RADIO_Type const * | p_reg, |
| nrf_radio_task_t | task ) |
Function for getting the subscribe configuration for a given RADIO task.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | task | Task for which to read the configuration. |
| NRF_STATIC_INLINE void nrf_radio_subscribe_set | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_task_t | task, | ||
| uint8_t | channel ) |
Function for setting the subscribe configuration for a given RADIO task.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | task | Task for which to set the configuration. |
| [in] | channel | Channel through which to subscribe events. |
| NRF_STATIC_INLINE uint32_t nrf_radio_task_address_get | ( | NRF_RADIO_Type const * | p_reg, |
| nrf_radio_task_t | task ) |
Function for getting the address of a specific RADIO task register.
This function can be used by the PPI module.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | task | Requested task. |
| NRF_STATIC_INLINE void nrf_radio_task_trigger | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_task_t | task ) |
Function for activating a specific RADIO task.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | task | Task to be activated. |
| NRF_STATIC_INLINE uint8_t nrf_radio_txaddress_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the transmit address select.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_txaddress_set | ( | NRF_RADIO_Type * | p_reg, |
| uint8_t | txaddress ) |
Function for setting the transmit address.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | txaddress | Logical address to be used when transmitting a packet. |
| NRF_STATIC_INLINE nrf_radio_txpower_t nrf_radio_txpower_get | ( | NRF_RADIO_Type const * | p_reg | ) |
Function for getting the radio transmit power.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| NRF_STATIC_INLINE void nrf_radio_txpower_set | ( | NRF_RADIO_Type * | p_reg, |
| nrf_radio_txpower_t | tx_power ) |
Function for setting the radio transmit power.
| [in] | p_reg | Pointer to the structure of registers of the peripheral. |
| [in] | tx_power | Transmit power of the radio [dBm]. |