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

#[repr(C)]
pub struct RegisterBlock {
Show 42 fields pub tasks_activate: Reg<u32, _TASKS_ACTIVATE>, pub tasks_disable: Reg<u32, _TASKS_DISABLE>, pub tasks_sense: Reg<u32, _TASKS_SENSE>, pub tasks_starttx: Reg<u32, _TASKS_STARTTX>, pub tasks_enablerxdata: Reg<u32, _TASKS_ENABLERXDATA>, pub tasks_goidle: Reg<u32, _TASKS_GOIDLE>, pub tasks_gosleep: Reg<u32, _TASKS_GOSLEEP>, pub events_ready: Reg<u32, _EVENTS_READY>, pub events_fielddetected: Reg<u32, _EVENTS_FIELDDETECTED>, pub events_fieldlost: Reg<u32, _EVENTS_FIELDLOST>, pub events_txframestart: Reg<u32, _EVENTS_TXFRAMESTART>, pub events_txframeend: Reg<u32, _EVENTS_TXFRAMEEND>, pub events_rxframestart: Reg<u32, _EVENTS_RXFRAMESTART>, pub events_rxframeend: Reg<u32, _EVENTS_RXFRAMEEND>, pub events_error: Reg<u32, _EVENTS_ERROR>, pub events_rxerror: Reg<u32, _EVENTS_RXERROR>, pub events_endrx: Reg<u32, _EVENTS_ENDRX>, pub events_endtx: Reg<u32, _EVENTS_ENDTX>, pub events_autocolresstarted: Reg<u32, _EVENTS_AUTOCOLRESSTARTED>, pub events_collision: Reg<u32, _EVENTS_COLLISION>, pub events_selected: Reg<u32, _EVENTS_SELECTED>, pub events_started: Reg<u32, _EVENTS_STARTED>, pub shorts: Reg<u32, _SHORTS>, pub inten: Reg<u32, _INTEN>, pub intenset: Reg<u32, _INTENSET>, pub intenclr: Reg<u32, _INTENCLR>, pub errorstatus: Reg<u32, _ERRORSTATUS>, pub framestatus: FRAMESTATUS, pub currentloadctrl: Reg<u32, _CURRENTLOADCTRL>, pub fieldpresent: Reg<u32, _FIELDPRESENT>, pub framedelaymin: Reg<u32, _FRAMEDELAYMIN>, pub framedelaymax: Reg<u32, _FRAMEDELAYMAX>, pub framedelaymode: Reg<u32, _FRAMEDELAYMODE>, pub packetptr: Reg<u32, _PACKETPTR>, pub maxlen: Reg<u32, _MAXLEN>, pub txd: TXD, pub rxd: RXD, pub nfcid1_last: Reg<u32, _NFCID1_LAST>, pub nfcid1_2nd_last: Reg<u32, _NFCID1_2ND_LAST>, pub nfcid1_3rd_last: Reg<u32, _NFCID1_3RD_LAST>, pub sensres: Reg<u32, _SENSRES>, pub selres: Reg<u32, _SELRES>, // some fields omitted
}
Expand description

Register block

Fields

tasks_activate: Reg<u32, _TASKS_ACTIVATE>

0x00 - Activate NFC peripheral for incoming and outgoing frames, change state to activated

tasks_disable: Reg<u32, _TASKS_DISABLE>

0x04 - Disable NFC peripheral

tasks_sense: Reg<u32, _TASKS_SENSE>

0x08 - Enable NFC sense field mode, change state to sense mode

tasks_starttx: Reg<u32, _TASKS_STARTTX>

0x0c - Start transmission of a outgoing frame, change state to transmit

tasks_enablerxdata: Reg<u32, _TASKS_ENABLERXDATA>

0x1c - Initializes the EasyDMA for receive.

tasks_goidle: Reg<u32, _TASKS_GOIDLE>

0x24 - Force state machine to IDLE state

tasks_gosleep: Reg<u32, _TASKS_GOSLEEP>

0x28 - Force state machine to SLEEP_A state

events_ready: Reg<u32, _EVENTS_READY>

0x100 - The NFC peripheral is ready to receive and send frames

events_fielddetected: Reg<u32, _EVENTS_FIELDDETECTED>

0x104 - Remote NFC field detected

events_fieldlost: Reg<u32, _EVENTS_FIELDLOST>

0x108 - Remote NFC field lost

events_txframestart: Reg<u32, _EVENTS_TXFRAMESTART>

0x10c - Marks the start of the first symbol of a transmitted frame

events_txframeend: Reg<u32, _EVENTS_TXFRAMEEND>

0x110 - Marks the end of the last transmitted on-air symbol of a frame

events_rxframestart: Reg<u32, _EVENTS_RXFRAMESTART>

0x114 - Marks the end of the first symbol of a received frame

events_rxframeend: Reg<u32, _EVENTS_RXFRAMEEND>

0x118 - Received data have been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer

events_error: Reg<u32, _EVENTS_ERROR>

0x11c - NFC error reported. The ERRORSTATUS register contains details on the source of the error.

events_rxerror: Reg<u32, _EVENTS_RXERROR>

0x128 - NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error.

events_endrx: Reg<u32, _EVENTS_ENDRX>

0x12c - RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.

events_endtx: Reg<u32, _EVENTS_ENDTX>

0x130 - Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer

events_autocolresstarted: Reg<u32, _EVENTS_AUTOCOLRESSTARTED>

0x138 - Auto collision resolution process has started

events_collision: Reg<u32, _EVENTS_COLLISION>

0x148 - NFC Auto collision resolution error reported.

events_selected: Reg<u32, _EVENTS_SELECTED>

0x14c - NFC Auto collision resolution successfully completed

events_started: Reg<u32, _EVENTS_STARTED>

0x150 - EasyDMA is ready to receive or send frames.

shorts: Reg<u32, _SHORTS>

0x200 - Shortcut register

inten: Reg<u32, _INTEN>

0x300 - Enable or disable interrupt

intenset: Reg<u32, _INTENSET>

0x304 - Enable interrupt

intenclr: Reg<u32, _INTENCLR>

0x308 - Disable interrupt

errorstatus: Reg<u32, _ERRORSTATUS>

0x404 - NFC Error Status register

framestatus: FRAMESTATUS

0x40c - Unspecified

currentloadctrl: Reg<u32, _CURRENTLOADCTRL>

0x430 - Current value driven to the NFC Load Control

fieldpresent: Reg<u32, _FIELDPRESENT>

0x43c - Indicates the presence or not of a valid field

framedelaymin: Reg<u32, _FRAMEDELAYMIN>

0x504 - Minimum frame delay

framedelaymax: Reg<u32, _FRAMEDELAYMAX>

0x508 - Maximum frame delay

framedelaymode: Reg<u32, _FRAMEDELAYMODE>

0x50c - Configuration register for the Frame Delay Timer

packetptr: Reg<u32, _PACKETPTR>

0x510 - Packet pointer for TXD and RXD data storage in Data RAM

maxlen: Reg<u32, _MAXLEN>

0x514 - Size of allocated for TXD and RXD data storage buffer in Data RAM

txd: TXD

0x518 - Unspecified

rxd: RXD

0x520 - Unspecified

nfcid1_last: Reg<u32, _NFCID1_LAST>

0x590 - Last NFCID1 part (4, 7 or 10 bytes ID)

nfcid1_2nd_last: Reg<u32, _NFCID1_2ND_LAST>

0x594 - Second last NFCID1 part (7 or 10 bytes ID)

nfcid1_3rd_last: Reg<u32, _NFCID1_3RD_LAST>

0x598 - Third last NFCID1 part (10 bytes ID)

sensres: Reg<u32, _SENSRES>

0x5a0 - NFC-A SENS_RES auto-response settings

selres: Reg<u32, _SELRES>

0x5a4 - NFC-A SEL_RES auto-response settings

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

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.

Casts the value.

Casts the value.