Struct nrf51::radio::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub tasks_txen: TASKS_TXEN, pub tasks_rxen: TASKS_RXEN, pub tasks_start: TASKS_START, pub tasks_stop: TASKS_STOP, pub tasks_disable: TASKS_DISABLE, pub tasks_rssistart: TASKS_RSSISTART, pub tasks_rssistop: TASKS_RSSISTOP, pub tasks_bcstart: TASKS_BCSTART, pub tasks_bcstop: TASKS_BCSTOP, pub events_ready: EVENTS_READY, pub events_address: EVENTS_ADDRESS, pub events_payload: EVENTS_PAYLOAD, pub events_end: EVENTS_END, pub events_disabled: EVENTS_DISABLED, pub events_devmatch: EVENTS_DEVMATCH, pub events_devmiss: EVENTS_DEVMISS, pub events_rssiend: EVENTS_RSSIEND, pub events_bcmatch: EVENTS_BCMATCH, pub shorts: SHORTS, pub intenset: INTENSET, pub intenclr: INTENCLR, pub crcstatus: CRCSTATUS, pub rxmatch: RXMATCH, pub rxcrc: RXCRC, pub dai: DAI, pub packetptr: PACKETPTR, pub frequency: FREQUENCY, pub txpower: TXPOWER, pub mode: MODE, pub pcnf0: PCNF0, pub pcnf1: PCNF1, pub base0: BASE0, pub base1: BASE1, pub prefix0: PREFIX0, pub prefix1: PREFIX1, pub txaddress: TXADDRESS, pub rxaddresses: RXADDRESSES, pub crccnf: CRCCNF, pub crcpoly: CRCPOLY, pub crcinit: CRCINIT, pub test: TEST, pub tifs: TIFS, pub rssisample: RSSISAMPLE, pub state: STATE, pub datawhiteiv: DATAWHITEIV, pub bcc: BCC, pub dab: [DAB; 8], pub dap: [DAP; 8], pub dacnf: DACNF, pub override0: OVERRIDE0, pub override1: OVERRIDE1, pub override2: OVERRIDE2, pub override3: OVERRIDE3, pub override4: OVERRIDE4, pub power: POWER, // some fields omitted }

Register block

Fields

0x00 - Enable radio in TX mode.

0x04 - Enable radio in RX mode.

0x08 - Start radio.

0x0c - Stop radio.

0x10 - Disable radio.

0x14 - Start the RSSI and take one sample of the receive signal strength.

0x18 - Stop the RSSI measurement.

0x1c - Start the bit counter.

0x20 - Stop the bit counter.

0x100 - Ready event.

0x104 - Address event.

0x108 - Payload event.

0x10c - End event.

0x110 - Disable event.

0x114 - A device address match occurred on the last received packet.

0x118 - No device address match occurred on the last received packet.

0x11c - Sampling of the receive signal strength complete. A new RSSI sample is ready for readout at the RSSISAMPLE register.

0x128 - Bit counter reached bit count value specified in BCC register.

0x200 - Shortcuts for the radio.

0x304 - Interrupt enable set register.

0x308 - Interrupt enable clear register.

0x400 - CRC status of received packet.

0x408 - Received address.

0x40c - Received CRC.

0x410 - Device address match index.

0x504 - Packet pointer. Decision point: START task.

0x508 - Frequency.

0x50c - Output power.

0x510 - Data rate and modulation.

0x514 - Packet configuration 0.

0x518 - Packet configuration 1.

0x51c - Radio base address 0. Decision point: START task.

0x520 - Radio base address 1. Decision point: START task.

0x524 - Prefixes bytes for logical addresses 0 to 3.

0x528 - Prefixes bytes for logical addresses 4 to 7.

0x52c - Transmit address select.

0x530 - Receive address select.

0x534 - CRC configuration.

0x538 - CRC polynomial.

0x53c - CRC initial value.

0x540 - Test features enable register.

0x544 - Inter Frame Spacing in microseconds.

0x548 - RSSI sample.

0x550 - Current radio state.

0x554 - Data whitening initial value.

0x560 - Bit counter compare.

0x600 - Device address base segment.

0x620 - Device address prefix.

0x640 - Device address match configuration.

0x724 - Trim value override register 0.

0x728 - Trim value override register 1.

0x72c - Trim value override register 2.

0x730 - Trim value override register 3.

0x734 - Trim value override register 4.

0xffc - Peripheral power control.

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock