Struct nrf52832_hal::pac::radio::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show fields pub tasks_txen: Reg<u32, _TASKS_TXEN>, pub tasks_rxen: Reg<u32, _TASKS_RXEN>, pub tasks_start: Reg<u32, _TASKS_START>, pub tasks_stop: Reg<u32, _TASKS_STOP>, pub tasks_disable: Reg<u32, _TASKS_DISABLE>, pub tasks_rssistart: Reg<u32, _TASKS_RSSISTART>, pub tasks_rssistop: Reg<u32, _TASKS_RSSISTOP>, pub tasks_bcstart: Reg<u32, _TASKS_BCSTART>, pub tasks_bcstop: Reg<u32, _TASKS_BCSTOP>, pub events_ready: Reg<u32, _EVENTS_READY>, pub events_address: Reg<u32, _EVENTS_ADDRESS>, pub events_payload: Reg<u32, _EVENTS_PAYLOAD>, pub events_end: Reg<u32, _EVENTS_END>, pub events_disabled: Reg<u32, _EVENTS_DISABLED>, pub events_devmatch: Reg<u32, _EVENTS_DEVMATCH>, pub events_devmiss: Reg<u32, _EVENTS_DEVMISS>, pub events_rssiend: Reg<u32, _EVENTS_RSSIEND>, pub events_bcmatch: Reg<u32, _EVENTS_BCMATCH>, pub events_crcok: Reg<u32, _EVENTS_CRCOK>, pub events_crcerror: Reg<u32, _EVENTS_CRCERROR>, pub shorts: Reg<u32, _SHORTS>, pub intenset: Reg<u32, _INTENSET>, pub intenclr: Reg<u32, _INTENCLR>, pub crcstatus: Reg<u32, _CRCSTATUS>, pub rxmatch: Reg<u32, _RXMATCH>, pub rxcrc: Reg<u32, _RXCRC>, pub dai: Reg<u32, _DAI>, pub packetptr: Reg<u32, _PACKETPTR>, pub frequency: Reg<u32, _FREQUENCY>, pub txpower: Reg<u32, _TXPOWER>, pub mode: Reg<u32, _MODE>, pub pcnf0: Reg<u32, _PCNF0>, pub pcnf1: Reg<u32, _PCNF1>, pub base0: Reg<u32, _BASE0>, pub base1: Reg<u32, _BASE1>, pub prefix0: Reg<u32, _PREFIX0>, pub prefix1: Reg<u32, _PREFIX1>, pub txaddress: Reg<u32, _TXADDRESS>, pub rxaddresses: Reg<u32, _RXADDRESSES>, pub crccnf: Reg<u32, _CRCCNF>, pub crcpoly: Reg<u32, _CRCPOLY>, pub crcinit: Reg<u32, _CRCINIT>, pub unused0: Reg<u32, _UNUSED0>, pub tifs: Reg<u32, _TIFS>, pub rssisample: Reg<u32, _RSSISAMPLE>, pub state: Reg<u32, _STATE>, pub datawhiteiv: Reg<u32, _DATAWHITEIV>, pub bcc: Reg<u32, _BCC>, pub dab: [Reg<u32, _DAB>; 8], pub dap: [Reg<u32, _DAP>; 8], pub dacnf: Reg<u32, _DACNF>, pub modecnf0: Reg<u32, _MODECNF0>, pub power: Reg<u32, _POWER>, // some fields omitted
}
Expand description

Register block

Fields

tasks_txen: Reg<u32, _TASKS_TXEN>

0x00 - Enable RADIO in TX mode

tasks_rxen: Reg<u32, _TASKS_RXEN>

0x04 - Enable RADIO in RX mode

tasks_start: Reg<u32, _TASKS_START>

0x08 - Start RADIO

tasks_stop: Reg<u32, _TASKS_STOP>

0x0c - Stop RADIO

tasks_disable: Reg<u32, _TASKS_DISABLE>

0x10 - Disable RADIO

tasks_rssistart: Reg<u32, _TASKS_RSSISTART>

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

tasks_rssistop: Reg<u32, _TASKS_RSSISTOP>

0x18 - Stop the RSSI measurement

tasks_bcstart: Reg<u32, _TASKS_BCSTART>

0x1c - Start the bit counter

tasks_bcstop: Reg<u32, _TASKS_BCSTOP>

0x20 - Stop the bit counter

events_ready: Reg<u32, _EVENTS_READY>

0x100 - RADIO has ramped up and is ready to be started

events_address: Reg<u32, _EVENTS_ADDRESS>

0x104 - Address sent or received

events_payload: Reg<u32, _EVENTS_PAYLOAD>

0x108 - Packet payload sent or received

events_end: Reg<u32, _EVENTS_END>

0x10c - Packet sent or received

events_disabled: Reg<u32, _EVENTS_DISABLED>

0x110 - RADIO has been disabled

events_devmatch: Reg<u32, _EVENTS_DEVMATCH>

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

events_devmiss: Reg<u32, _EVENTS_DEVMISS>

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

events_rssiend: Reg<u32, _EVENTS_RSSIEND>

0x11c - Sampling of receive signal strength complete.

events_bcmatch: Reg<u32, _EVENTS_BCMATCH>

0x128 - Bit counter reached bit count value.

events_crcok: Reg<u32, _EVENTS_CRCOK>

0x130 - Packet received with CRC ok

events_crcerror: Reg<u32, _EVENTS_CRCERROR>

0x134 - Packet received with CRC error

shorts: Reg<u32, _SHORTS>

0x200 - Shortcut register

intenset: Reg<u32, _INTENSET>

0x304 - Enable interrupt

intenclr: Reg<u32, _INTENCLR>

0x308 - Disable interrupt

crcstatus: Reg<u32, _CRCSTATUS>

0x400 - CRC status

rxmatch: Reg<u32, _RXMATCH>

0x408 - Received address

rxcrc: Reg<u32, _RXCRC>

0x40c - CRC field of previously received packet

dai: Reg<u32, _DAI>

0x410 - Device address match index

packetptr: Reg<u32, _PACKETPTR>

0x504 - Packet pointer

frequency: Reg<u32, _FREQUENCY>

0x508 - Frequency

txpower: Reg<u32, _TXPOWER>

0x50c - Output power

mode: Reg<u32, _MODE>

0x510 - Data rate and modulation

pcnf0: Reg<u32, _PCNF0>

0x514 - Packet configuration register 0

pcnf1: Reg<u32, _PCNF1>

0x518 - Packet configuration register 1

base0: Reg<u32, _BASE0>

0x51c - Base address 0

base1: Reg<u32, _BASE1>

0x520 - Base address 1

prefix0: Reg<u32, _PREFIX0>

0x524 - Prefixes bytes for logical addresses 0-3

prefix1: Reg<u32, _PREFIX1>

0x528 - Prefixes bytes for logical addresses 4-7

txaddress: Reg<u32, _TXADDRESS>

0x52c - Transmit address select

rxaddresses: Reg<u32, _RXADDRESSES>

0x530 - Receive address select

crccnf: Reg<u32, _CRCCNF>

0x534 - CRC configuration

crcpoly: Reg<u32, _CRCPOLY>

0x538 - CRC polynomial

crcinit: Reg<u32, _CRCINIT>

0x53c - CRC initial value

unused0: Reg<u32, _UNUSED0>

0x540 - Unspecified

tifs: Reg<u32, _TIFS>

0x544 - Inter Frame Spacing in us

rssisample: Reg<u32, _RSSISAMPLE>

0x548 - RSSI sample

state: Reg<u32, _STATE>

0x550 - Current radio state

datawhiteiv: Reg<u32, _DATAWHITEIV>

0x554 - Data whitening initial value

bcc: Reg<u32, _BCC>

0x560 - Bit counter compare

dab: [Reg<u32, _DAB>; 8]

0x600 - Description collection[0]: Device address base segment 0

dap: [Reg<u32, _DAP>; 8]

0x620 - Description collection[0]: Device address prefix 0

dacnf: Reg<u32, _DACNF>

0x640 - Device address match configuration

modecnf0: Reg<u32, _MODECNF0>

0x650 - Radio mode configuration register 0

power: Reg<u32, _POWER>

0xffc - Peripheral power control

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Az for T[src]

pub fn az<Dst>(self) -> Dst where
    T: Cast<Dst>, 
[src]

Casts the value.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> CheckedAs for T[src]

pub fn checked_as<Dst>(self) -> Option<Dst> where
    T: CheckedCast<Dst>, 
[src]

Casts the value.

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

pub fn lossless_try_into(self) -> Option<Dst>[src]

Performs the conversion.

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

pub fn lossy_into(self) -> Dst[src]

Performs the conversion.

impl<T> OverflowingAs for T[src]

pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
    T: OverflowingCast<Dst>, 
[src]

Casts the value.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

pub fn saturating_as<Dst>(self) -> Dst where
    T: SaturatingCast<Dst>, 
[src]

Casts the value.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> UnwrappedAs for T[src]

pub fn unwrapped_as<Dst>(self) -> Dst where
    T: UnwrappedCast<Dst>, 
[src]

Casts the value.

impl<T> WrappingAs for T[src]

pub fn wrapping_as<Dst>(self) -> Dst where
    T: WrappingCast<Dst>, 
[src]

Casts the value.