Struct riot_sys::NRF_RADIO_Type[][src]

#[repr(C)]
pub struct NRF_RADIO_Type {
Show 90 fields pub TASKS_TXEN: u32, pub TASKS_RXEN: u32, pub TASKS_START: u32, pub TASKS_STOP: u32, pub TASKS_DISABLE: u32, pub TASKS_RSSISTART: u32, pub TASKS_RSSISTOP: u32, pub TASKS_BCSTART: u32, pub TASKS_BCSTOP: u32, pub TASKS_EDSTART: u32, pub TASKS_EDSTOP: u32, pub TASKS_CCASTART: u32, pub TASKS_CCASTOP: u32, pub RESERVED: [u32; 51], pub EVENTS_READY: u32, pub EVENTS_ADDRESS: u32, pub EVENTS_PAYLOAD: u32, pub EVENTS_END: u32, pub EVENTS_DISABLED: u32, pub EVENTS_DEVMATCH: u32, pub EVENTS_DEVMISS: u32, pub EVENTS_RSSIEND: u32, pub RESERVED1: [u32; 2], pub EVENTS_BCMATCH: u32, pub RESERVED2: u32, pub EVENTS_CRCOK: u32, pub EVENTS_CRCERROR: u32, pub EVENTS_FRAMESTART: u32, pub EVENTS_EDEND: u32, pub EVENTS_EDSTOPPED: u32, pub EVENTS_CCAIDLE: u32, pub EVENTS_CCABUSY: u32, pub EVENTS_CCASTOPPED: u32, pub EVENTS_RATEBOOST: u32, pub EVENTS_TXREADY: u32, pub EVENTS_RXREADY: u32, pub EVENTS_MHRMATCH: u32, pub RESERVED3: [u32; 3], pub EVENTS_PHYEND: u32, pub RESERVED4: [u32; 36], pub SHORTS: u32, pub RESERVED5: [u32; 64], pub INTENSET: u32, pub INTENCLR: u32, pub RESERVED6: [u32; 61], pub CRCSTATUS: u32, pub RESERVED7: u32, pub RXMATCH: u32, pub RXCRC: u32, pub DAI: u32, pub PDUSTAT: u32, pub RESERVED8: [u32; 59], pub PACKETPTR: u32, pub FREQUENCY: u32, pub TXPOWER: u32, pub MODE: u32, pub PCNF0: u32, pub PCNF1: u32, pub BASE0: u32, pub BASE1: u32, pub PREFIX0: u32, pub PREFIX1: u32, pub TXADDRESS: u32, pub RXADDRESSES: u32, pub CRCCNF: u32, pub CRCPOLY: u32, pub CRCINIT: u32, pub RESERVED9: u32, pub TIFS: u32, pub RSSISAMPLE: u32, pub RESERVED10: u32, pub STATE: u32, pub DATAWHITEIV: u32, pub RESERVED11: [u32; 2], pub BCC: u32, pub RESERVED12: [u32; 39], pub DAB: [u32; 8], pub DAP: [u32; 8], pub DACNF: u32, pub MHRMATCHCONF: u32, pub MHRMATCHMAS: u32, pub RESERVED13: u32, pub MODECNF0: u32, pub RESERVED14: [u32; 3], pub SFD: u32, pub EDCNT: u32, pub EDSAMPLE: u32, pub CCACTRL: u32, pub RESERVED15: [u32; 611], pub POWER: u32,
}
Expand description

@brief 2.4 GHz radio (RADIO)

Fields

TASKS_TXEN: u32

< (@ 0x00000000) Enable RADIO in TX mode

TASKS_RXEN: u32

< (@ 0x00000004) Enable RADIO in RX mode

TASKS_START: u32

< (@ 0x00000008) Start RADIO

TASKS_STOP: u32

< (@ 0x0000000C) Stop RADIO

TASKS_DISABLE: u32

< (@ 0x00000010) Disable RADIO

TASKS_RSSISTART: u32

< (@ 0x00000014) Start the RSSI and take one single sample of the receive signal strength

TASKS_RSSISTOP: u32

< (@ 0x00000018) Stop the RSSI measurement

TASKS_BCSTART: u32

< (@ 0x0000001C) Start the bit counter

TASKS_BCSTOP: u32

< (@ 0x00000020) Stop the bit counter

TASKS_EDSTART: u32

< (@ 0x00000024) Start the energy detect measurement used in IEEE 802.15.4 mode

TASKS_EDSTOP: u32

< (@ 0x00000028) Stop the energy detect measurement

TASKS_CCASTART: u32

< (@ 0x0000002C) Start the clear channel assessment used in IEEE 802.15.4 mode

TASKS_CCASTOP: u32

< (@ 0x00000030) Stop the clear channel assessment

RESERVED: [u32; 51]EVENTS_READY: u32

< (@ 0x00000100) RADIO has ramped up and is ready to be started

EVENTS_ADDRESS: u32

< (@ 0x00000104) Address sent or received

EVENTS_PAYLOAD: u32

< (@ 0x00000108) Packet payload sent or received

EVENTS_END: u32

< (@ 0x0000010C) Packet sent or received

EVENTS_DISABLED: u32

< (@ 0x00000110) RADIO has been disabled

EVENTS_DEVMATCH: u32

< (@ 0x00000114) A device address match occurred on the last received packet

EVENTS_DEVMISS: u32

< (@ 0x00000118) No device address match occurred on the last received packet

EVENTS_RSSIEND: u32

< (@ 0x0000011C) Sampling of receive signal strength complete

RESERVED1: [u32; 2]EVENTS_BCMATCH: u32

< (@ 0x00000128) Bit counter reached bit count value

RESERVED2: u32EVENTS_CRCOK: u32

< (@ 0x00000130) Packet received with CRC ok

EVENTS_CRCERROR: u32

< (@ 0x00000134) Packet received with CRC error

EVENTS_FRAMESTART: u32

< (@ 0x00000138) IEEE 802.15.4 length field received

EVENTS_EDEND: u32

< (@ 0x0000013C) Sampling of energy detection complete. A new ED sample is ready for readout from the RADIO.EDSAMPLE register.

EVENTS_EDSTOPPED: u32

< (@ 0x00000140) The sampling of energy detection has stopped

EVENTS_CCAIDLE: u32

< (@ 0x00000144) Wireless medium in idle - clear to send

EVENTS_CCABUSY: u32

< (@ 0x00000148) Wireless medium busy - do not send

EVENTS_CCASTOPPED: u32

< (@ 0x0000014C) The CCA has stopped

EVENTS_RATEBOOST: u32

< (@ 0x00000150) Ble_LR CI field received, receive mode is changed from Ble_LR125Kbit to Ble_LR500Kbit.

EVENTS_TXREADY: u32

< (@ 0x00000154) RADIO has ramped up and is ready to be started TX path

EVENTS_RXREADY: u32

< (@ 0x00000158) RADIO has ramped up and is ready to be started RX path

EVENTS_MHRMATCH: u32

< (@ 0x0000015C) MAC header match found

RESERVED3: [u32; 3]EVENTS_PHYEND: u32

< (@ 0x0000016C) Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit modes when last bit is sent on air.

RESERVED4: [u32; 36]SHORTS: u32

< (@ 0x00000200) Shortcuts between local events and tasks

RESERVED5: [u32; 64]INTENSET: u32

< (@ 0x00000304) Enable interrupt

INTENCLR: u32

< (@ 0x00000308) Disable interrupt

RESERVED6: [u32; 61]CRCSTATUS: u32

< (@ 0x00000400) CRC status

RESERVED7: u32RXMATCH: u32

< (@ 0x00000408) Received address

RXCRC: u32

< (@ 0x0000040C) CRC field of previously received packet

DAI: u32

< (@ 0x00000410) Device address match index

PDUSTAT: u32

< (@ 0x00000414) Payload status

RESERVED8: [u32; 59]PACKETPTR: u32

< (@ 0x00000504) Packet pointer

FREQUENCY: u32

< (@ 0x00000508) Frequency

TXPOWER: u32

< (@ 0x0000050C) Output power

MODE: u32

< (@ 0x00000510) Data rate and modulation

PCNF0: u32

< (@ 0x00000514) Packet configuration register 0

PCNF1: u32

< (@ 0x00000518) Packet configuration register 1

BASE0: u32

< (@ 0x0000051C) Base address 0

BASE1: u32

< (@ 0x00000520) Base address 1

PREFIX0: u32

< (@ 0x00000524) Prefixes bytes for logical addresses 0-3

PREFIX1: u32

< (@ 0x00000528) Prefixes bytes for logical addresses 4-7

TXADDRESS: u32

< (@ 0x0000052C) Transmit address select

RXADDRESSES: u32

< (@ 0x00000530) Receive address select

CRCCNF: u32

< (@ 0x00000534) CRC configuration

CRCPOLY: u32

< (@ 0x00000538) CRC polynomial

CRCINIT: u32

< (@ 0x0000053C) CRC initial value

RESERVED9: u32TIFS: u32

< (@ 0x00000544) Interframe spacing in us

RSSISAMPLE: u32

< (@ 0x00000548) RSSI sample

RESERVED10: u32STATE: u32

< (@ 0x00000550) Current radio state

DATAWHITEIV: u32

< (@ 0x00000554) Data whitening initial value

RESERVED11: [u32; 2]BCC: u32

< (@ 0x00000560) Bit counter compare

RESERVED12: [u32; 39]DAB: [u32; 8]

< (@ 0x00000600) Description collection: Device address base segment n

DAP: [u32; 8]

< (@ 0x00000620) Description collection: Device address prefix n

DACNF: u32

< (@ 0x00000640) Device address match configuration

MHRMATCHCONF: u32

< (@ 0x00000644) Search pattern configuration

MHRMATCHMAS: u32

< (@ 0x00000648) Pattern mask

RESERVED13: u32MODECNF0: u32

< (@ 0x00000650) Radio mode configuration register 0

RESERVED14: [u32; 3]SFD: u32

< (@ 0x00000660) IEEE 802.15.4 start of frame delimiter

EDCNT: u32

< (@ 0x00000664) IEEE 802.15.4 energy detect loop count

EDSAMPLE: u32

< (@ 0x00000668) IEEE 802.15.4 energy detect level

CCACTRL: u32

< (@ 0x0000066C) IEEE 802.15.4 clear channel assessment control

RESERVED15: [u32; 611]POWER: u32

< (@ 0x00000FFC) Peripheral power control

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.