Struct riot_sys::NRF_NFCT_Type[][src]

#[repr(C)]
pub struct NRF_NFCT_Type {
Show 58 fields pub TASKS_ACTIVATE: u32, pub TASKS_DISABLE: u32, pub TASKS_SENSE: u32, pub TASKS_STARTTX: u32, pub RESERVED: [u32; 3], pub TASKS_ENABLERXDATA: u32, pub RESERVED1: u32, pub TASKS_GOIDLE: u32, pub TASKS_GOSLEEP: u32, pub RESERVED2: [u32; 53], pub EVENTS_READY: u32, pub EVENTS_FIELDDETECTED: u32, pub EVENTS_FIELDLOST: u32, pub EVENTS_TXFRAMESTART: u32, pub EVENTS_TXFRAMEEND: u32, pub EVENTS_RXFRAMESTART: u32, pub EVENTS_RXFRAMEEND: u32, pub EVENTS_ERROR: u32, pub RESERVED3: [u32; 2], pub EVENTS_RXERROR: u32, pub EVENTS_ENDRX: u32, pub EVENTS_ENDTX: u32, pub RESERVED4: u32, pub EVENTS_AUTOCOLRESSTARTED: u32, pub RESERVED5: [u32; 3], pub EVENTS_COLLISION: u32, pub EVENTS_SELECTED: u32, pub EVENTS_STARTED: u32, pub RESERVED6: [u32; 43], pub SHORTS: u32, pub RESERVED7: [u32; 63], pub INTEN: u32, pub INTENSET: u32, pub INTENCLR: u32, pub RESERVED8: [u32; 62], pub ERRORSTATUS: u32, pub RESERVED9: u32, pub FRAMESTATUS: NFCT_FRAMESTATUS_Type, pub NFCTAGSTATE: u32, pub RESERVED10: [u32; 3], pub SLEEPSTATE: u32, pub RESERVED11: [u32; 6], pub FIELDPRESENT: u32, pub RESERVED12: [u32; 49], pub FRAMEDELAYMIN: u32, pub FRAMEDELAYMAX: u32, pub FRAMEDELAYMODE: u32, pub PACKETPTR: u32, pub MAXLEN: u32, pub TXD: NFCT_TXD_Type, pub RXD: NFCT_RXD_Type, pub RESERVED13: [u32; 26], pub NFCID1_LAST: u32, pub NFCID1_2ND_LAST: u32, pub NFCID1_3RD_LAST: u32, pub AUTOCOLRESCONFIG: u32, pub SENSRES: u32, pub SELRES: u32,
}
Expand description

@brief NFC-A compatible radio (NFCT)

Fields

TASKS_ACTIVATE: u32

< (@ 0x00000000) Activate NFCT peripheral for incoming and outgoing frames, change state to activated

TASKS_DISABLE: u32

< (@ 0x00000004) Disable NFCT peripheral

TASKS_SENSE: u32

< (@ 0x00000008) Enable NFC sense field mode, change state to sense mode

TASKS_STARTTX: u32

< (@ 0x0000000C) Start transmission of an outgoing frame, change state to transmit

RESERVED: [u32; 3]TASKS_ENABLERXDATA: u32

< (@ 0x0000001C) Initializes the EasyDMA for receive.

RESERVED1: u32TASKS_GOIDLE: u32

< (@ 0x00000024) Force state machine to IDLE state

TASKS_GOSLEEP: u32

< (@ 0x00000028) Force state machine to SLEEP_A state

RESERVED2: [u32; 53]EVENTS_READY: u32

< (@ 0x00000100) The NFCT peripheral is ready to receive and send frames

EVENTS_FIELDDETECTED: u32

< (@ 0x00000104) Remote NFC field detected

EVENTS_FIELDLOST: u32

< (@ 0x00000108) Remote NFC field lost

EVENTS_TXFRAMESTART: u32

< (@ 0x0000010C) Marks the start of the first symbol of a transmitted frame

EVENTS_TXFRAMEEND: u32

< (@ 0x00000110) Marks the end of the last transmitted on-air symbol of a frame

EVENTS_RXFRAMESTART: u32

< (@ 0x00000114) Marks the end of the first symbol of a received frame

EVENTS_RXFRAMEEND: u32

< (@ 0x00000118) Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer

EVENTS_ERROR: u32

< (@ 0x0000011C) NFC error reported. The ERRORSTATUS register contains details on the source of the error.

RESERVED3: [u32; 2]EVENTS_RXERROR: u32

< (@ 0x00000128) NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error.

EVENTS_ENDRX: u32

< (@ 0x0000012C) RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.

EVENTS_ENDTX: u32

< (@ 0x00000130) Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer

RESERVED4: u32EVENTS_AUTOCOLRESSTARTED: u32

< (@ 0x00000138) Auto collision resolution process has started

RESERVED5: [u32; 3]EVENTS_COLLISION: u32

< (@ 0x00000148) NFC auto collision resolution error reported.

EVENTS_SELECTED: u32

< (@ 0x0000014C) NFC auto collision resolution successfully completed

EVENTS_STARTED: u32

< (@ 0x00000150) EasyDMA is ready to receive or send frames.

RESERVED6: [u32; 43]SHORTS: u32

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

RESERVED7: [u32; 63]INTEN: u32

< (@ 0x00000300) Enable or disable interrupt

INTENSET: u32

< (@ 0x00000304) Enable interrupt

INTENCLR: u32

< (@ 0x00000308) Disable interrupt

RESERVED8: [u32; 62]ERRORSTATUS: u32

< (@ 0x00000404) NFC Error Status register

RESERVED9: u32FRAMESTATUS: NFCT_FRAMESTATUS_Type

< (@ 0x0000040C) Unspecified

NFCTAGSTATE: u32

< (@ 0x00000410) NfcTag state register

RESERVED10: [u32; 3]SLEEPSTATE: u32

< (@ 0x00000420) Sleep state during automatic collision resolution

RESERVED11: [u32; 6]FIELDPRESENT: u32

< (@ 0x0000043C) Indicates the presence or not of a valid field

RESERVED12: [u32; 49]FRAMEDELAYMIN: u32

< (@ 0x00000504) Minimum frame delay

FRAMEDELAYMAX: u32

< (@ 0x00000508) Maximum frame delay

FRAMEDELAYMODE: u32

< (@ 0x0000050C) Configuration register for the Frame Delay Timer

PACKETPTR: u32

< (@ 0x00000510) Packet pointer for TXD and RXD data storage in Data RAM

MAXLEN: u32

< (@ 0x00000514) Size of the RAM buffer allocated to TXD and RXD data storage each

TXD: NFCT_TXD_Type

< (@ 0x00000518) Unspecified

RXD: NFCT_RXD_Type

< (@ 0x00000520) Unspecified

RESERVED13: [u32; 26]NFCID1_LAST: u32

< (@ 0x00000590) Last NFCID1 part (4, 7 or 10 bytes ID)

NFCID1_2ND_LAST: u32

< (@ 0x00000594) Second last NFCID1 part (7 or 10 bytes ID)

NFCID1_3RD_LAST: u32

< (@ 0x00000598) Third last NFCID1 part (10 bytes ID)

AUTOCOLRESCONFIG: u32

< (@ 0x0000059C) Controls the auto collision resolution function. This setting must be done before the NFCT peripheral is enabled.

SENSRES: u32

< (@ 0x000005A0) NFC-A SENS_RES auto-response settings

SELRES: u32

< (@ 0x000005A4) NFC-A SEL_RES auto-response settings

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.