[][src]Struct nrf52832_hal::nrf52_hal_common::target::nfct::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub tasks_activate: TASKS_ACTIVATE, pub tasks_disable: TASKS_DISABLE, pub tasks_sense: TASKS_SENSE, pub tasks_starttx: TASKS_STARTTX, pub tasks_enablerxdata: TASKS_ENABLERXDATA, pub tasks_goidle: TASKS_GOIDLE, pub tasks_gosleep: TASKS_GOSLEEP, pub events_ready: EVENTS_READY, pub events_fielddetected: EVENTS_FIELDDETECTED, pub events_fieldlost: EVENTS_FIELDLOST, pub events_txframestart: EVENTS_TXFRAMESTART, pub events_txframeend: EVENTS_TXFRAMEEND, pub events_rxframestart: EVENTS_RXFRAMESTART, pub events_rxframeend: EVENTS_RXFRAMEEND, pub events_error: EVENTS_ERROR, pub events_rxerror: EVENTS_RXERROR, pub events_endrx: EVENTS_ENDRX, pub events_endtx: EVENTS_ENDTX, pub events_autocolresstarted: EVENTS_AUTOCOLRESSTARTED, pub events_collision: EVENTS_COLLISION, pub events_selected: EVENTS_SELECTED, pub events_started: EVENTS_STARTED, pub shorts: SHORTS, pub inten: INTEN, pub intenset: INTENSET, pub intenclr: INTENCLR, pub errorstatus: ERRORSTATUS, pub framestatus: FRAMESTATUS, pub currentloadctrl: CURRENTLOADCTRL, pub fieldpresent: FIELDPRESENT, pub framedelaymin: FRAMEDELAYMIN, pub framedelaymax: FRAMEDELAYMAX, pub framedelaymode: FRAMEDELAYMODE, pub packetptr: PACKETPTR, pub maxlen: MAXLEN, pub txd: TXD, pub rxd: RXD, pub nfcid1_last: NFCID1_LAST, pub nfcid1_2nd_last: NFCID1_2ND_LAST, pub nfcid1_3rd_last: NFCID1_3RD_LAST, pub sensres: SENSRES, pub selres: SELRES, // some fields omitted }

Register block

Fields

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

0x04 - Disable NFC peripheral

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

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

0x1c - Initializes the EasyDMA for receive.

0x24 - Force state machine to IDLE state

0x28 - Force state machine to SLEEP_A state

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

0x104 - Remote NFC field detected

0x108 - Remote NFC field lost

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

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

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

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

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

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

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

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

0x138 - Auto collision resolution process has started

0x148 - NFC Auto collision resolution error reported.

0x14c - NFC Auto collision resolution successfully completed

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

0x200 - Shortcut register

0x300 - Enable or disable interrupt

0x304 - Enable interrupt

0x308 - Disable interrupt

0x404 - NFC Error Status register

0x40c - Unspecified

0x430 - Current value driven to the NFC Load Control

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

0x504 - Minimum frame delay

0x508 - Maximum frame delay

0x50c - Configuration register for the Frame Delay Timer

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

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

0x518 - Unspecified

0x520 - Unspecified

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

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

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

0x5a0 - NFC-A SENS_RES auto-response settings

0x5a4 - NFC-A SEL_RES auto-response settings

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more