pub struct Nfct { /* private fields */ }
Expand description
NFC-A compatible radio NFC-A compatible radio 0
Implementations§
Source§impl Nfct
impl Nfct
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_activate(self) -> Reg<u32, W>
pub const fn tasks_activate(self) -> Reg<u32, W>
Activate NFCT peripheral for incoming and outgoing frames, change state to activated
Sourcepub const fn tasks_disable(self) -> Reg<u32, W>
pub const fn tasks_disable(self) -> Reg<u32, W>
Disable NFCT peripheral
Sourcepub const fn tasks_sense(self) -> Reg<u32, W>
pub const fn tasks_sense(self) -> Reg<u32, W>
Enable NFC sense field mode, change state to sense mode
Sourcepub const fn tasks_starttx(self) -> Reg<u32, W>
pub const fn tasks_starttx(self) -> Reg<u32, W>
Start transmission of an outgoing frame, change state to transmit
Sourcepub const fn tasks_stoptx(self) -> Reg<u32, W>
pub const fn tasks_stoptx(self) -> Reg<u32, W>
Stops an issued transmission of a frame
Sourcepub const fn tasks_enablerxdata(self) -> Reg<u32, W>
pub const fn tasks_enablerxdata(self) -> Reg<u32, W>
Initializes the EasyDMA for receive.
Sourcepub const fn tasks_goidle(self) -> Reg<u32, W>
pub const fn tasks_goidle(self) -> Reg<u32, W>
Force state machine to IDLE state
Sourcepub const fn tasks_gosleep(self) -> Reg<u32, W>
pub const fn tasks_gosleep(self) -> Reg<u32, W>
Force state machine to SLEEP_A state
Sourcepub const fn subscribe_activate(self) -> Reg<Subscribe, RW>
pub const fn subscribe_activate(self) -> Reg<Subscribe, RW>
Subscribe configuration for task ACTIVATE
Sourcepub const fn subscribe_disable(self) -> Reg<Subscribe, RW>
pub const fn subscribe_disable(self) -> Reg<Subscribe, RW>
Subscribe configuration for task DISABLE
Sourcepub const fn subscribe_sense(self) -> Reg<Subscribe, RW>
pub const fn subscribe_sense(self) -> Reg<Subscribe, RW>
Subscribe configuration for task SENSE
Sourcepub const fn subscribe_starttx(self) -> Reg<Subscribe, RW>
pub const fn subscribe_starttx(self) -> Reg<Subscribe, RW>
Subscribe configuration for task STARTTX
Sourcepub const fn subscribe_stoptx(self) -> Reg<Subscribe, RW>
pub const fn subscribe_stoptx(self) -> Reg<Subscribe, RW>
Subscribe configuration for task STOPTX
Sourcepub const fn subscribe_enablerxdata(self) -> Reg<Subscribe, RW>
pub const fn subscribe_enablerxdata(self) -> Reg<Subscribe, RW>
Subscribe configuration for task ENABLERXDATA
Sourcepub const fn subscribe_goidle(self) -> Reg<Subscribe, RW>
pub const fn subscribe_goidle(self) -> Reg<Subscribe, RW>
Subscribe configuration for task GOIDLE
Sourcepub const fn subscribe_gosleep(self) -> Reg<Subscribe, RW>
pub const fn subscribe_gosleep(self) -> Reg<Subscribe, RW>
Subscribe configuration for task GOSLEEP
Sourcepub const fn events_ready(self) -> Reg<u32, RW>
pub const fn events_ready(self) -> Reg<u32, RW>
The NFCT peripheral is ready to receive and send frames
Sourcepub const fn events_fielddetected(self) -> Reg<u32, RW>
pub const fn events_fielddetected(self) -> Reg<u32, RW>
Remote NFC field detected
Sourcepub const fn events_fieldlost(self) -> Reg<u32, RW>
pub const fn events_fieldlost(self) -> Reg<u32, RW>
Remote NFC field lost
Sourcepub const fn events_txframestart(self) -> Reg<u32, RW>
pub const fn events_txframestart(self) -> Reg<u32, RW>
Marks the start of the first symbol of a transmitted frame
Sourcepub const fn events_txframeend(self) -> Reg<u32, RW>
pub const fn events_txframeend(self) -> Reg<u32, RW>
Marks the end of the last transmitted on-air symbol of a frame
Sourcepub const fn events_rxframestart(self) -> Reg<u32, RW>
pub const fn events_rxframestart(self) -> Reg<u32, RW>
Marks the end of the first symbol of a received frame
Sourcepub const fn events_rxframeend(self) -> Reg<u32, RW>
pub const fn events_rxframeend(self) -> Reg<u32, RW>
Received data has been checked (CRC, parity) and transferred to RAM, and EasyDMA has ended accessing the RX buffer
Sourcepub const fn events_error(self) -> Reg<u32, RW>
pub const fn events_error(self) -> Reg<u32, RW>
NFC error reported. The ERRORSTATUS register contains details on the source of the error.
Sourcepub const fn events_rxerror(self) -> Reg<u32, RW>
pub const fn events_rxerror(self) -> Reg<u32, RW>
NFC RX frame error reported. The FRAMESTATUS.RX register contains details on the source of the error.
Sourcepub const fn events_endrx(self) -> Reg<u32, RW>
pub const fn events_endrx(self) -> Reg<u32, RW>
RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full.
Sourcepub const fn events_endtx(self) -> Reg<u32, RW>
pub const fn events_endtx(self) -> Reg<u32, RW>
Transmission of data in RAM has ended, and EasyDMA has ended accessing the TX buffer
Sourcepub const fn events_autocolresstarted(self) -> Reg<u32, RW>
pub const fn events_autocolresstarted(self) -> Reg<u32, RW>
Auto collision resolution process has started
Sourcepub const fn events_collision(self) -> Reg<u32, RW>
pub const fn events_collision(self) -> Reg<u32, RW>
NFC auto collision resolution error reported.
Sourcepub const fn events_selected(self) -> Reg<u32, RW>
pub const fn events_selected(self) -> Reg<u32, RW>
NFC auto collision resolution successfully completed
Sourcepub const fn events_started(self) -> Reg<u32, RW>
pub const fn events_started(self) -> Reg<u32, RW>
EasyDMA is ready to receive or send frames.
Sourcepub const fn publish_ready(self) -> Reg<Publish, RW>
pub const fn publish_ready(self) -> Reg<Publish, RW>
Publish configuration for event READY
Sourcepub const fn publish_fielddetected(self) -> Reg<Publish, RW>
pub const fn publish_fielddetected(self) -> Reg<Publish, RW>
Publish configuration for event FIELDDETECTED
Sourcepub const fn publish_fieldlost(self) -> Reg<Publish, RW>
pub const fn publish_fieldlost(self) -> Reg<Publish, RW>
Publish configuration for event FIELDLOST
Sourcepub const fn publish_txframestart(self) -> Reg<Publish, RW>
pub const fn publish_txframestart(self) -> Reg<Publish, RW>
Publish configuration for event TXFRAMESTART
Sourcepub const fn publish_txframeend(self) -> Reg<Publish, RW>
pub const fn publish_txframeend(self) -> Reg<Publish, RW>
Publish configuration for event TXFRAMEEND
Sourcepub const fn publish_rxframestart(self) -> Reg<Publish, RW>
pub const fn publish_rxframestart(self) -> Reg<Publish, RW>
Publish configuration for event RXFRAMESTART
Sourcepub const fn publish_rxframeend(self) -> Reg<Publish, RW>
pub const fn publish_rxframeend(self) -> Reg<Publish, RW>
Publish configuration for event RXFRAMEEND
Sourcepub const fn publish_error(self) -> Reg<Publish, RW>
pub const fn publish_error(self) -> Reg<Publish, RW>
Publish configuration for event ERROR
Sourcepub const fn publish_rxerror(self) -> Reg<Publish, RW>
pub const fn publish_rxerror(self) -> Reg<Publish, RW>
Publish configuration for event RXERROR
Sourcepub const fn publish_endrx(self) -> Reg<Publish, RW>
pub const fn publish_endrx(self) -> Reg<Publish, RW>
Publish configuration for event ENDRX
Sourcepub const fn publish_endtx(self) -> Reg<Publish, RW>
pub const fn publish_endtx(self) -> Reg<Publish, RW>
Publish configuration for event ENDTX
Sourcepub const fn publish_autocolresstarted(self) -> Reg<Publish, RW>
pub const fn publish_autocolresstarted(self) -> Reg<Publish, RW>
Publish configuration for event AUTOCOLRESSTARTED
Sourcepub const fn publish_collision(self) -> Reg<Publish, RW>
pub const fn publish_collision(self) -> Reg<Publish, RW>
Publish configuration for event COLLISION
Sourcepub const fn publish_selected(self) -> Reg<Publish, RW>
pub const fn publish_selected(self) -> Reg<Publish, RW>
Publish configuration for event SELECTED
Sourcepub const fn publish_started(self) -> Reg<Publish, RW>
pub const fn publish_started(self) -> Reg<Publish, RW>
Publish configuration for event STARTED
Sourcepub const fn errorstatus(self) -> Reg<Errorstatus, RW>
pub const fn errorstatus(self) -> Reg<Errorstatus, RW>
NFC Error Status register
Sourcepub const fn framestatus(self) -> Framestatus
pub const fn framestatus(self) -> Framestatus
Unspecified
Current operating state of NFC tag
Sourcepub const fn sleepstate(self) -> Reg<Sleepstate, R>
pub const fn sleepstate(self) -> Reg<Sleepstate, R>
Sleep state during automatic collision resolution
Sourcepub const fn fieldpresent(self) -> Reg<Fieldpresent, R>
pub const fn fieldpresent(self) -> Reg<Fieldpresent, R>
Indicates the presence or not of a valid field
Sourcepub const fn framedelaymin(self) -> Reg<Framedelaymin, RW>
pub const fn framedelaymin(self) -> Reg<Framedelaymin, RW>
Minimum frame delay
Sourcepub const fn framedelaymax(self) -> Reg<Framedelaymax, RW>
pub const fn framedelaymax(self) -> Reg<Framedelaymax, RW>
Maximum frame delay
Sourcepub const fn framedelaymode(self) -> Reg<Framedelaymode, RW>
pub const fn framedelaymode(self) -> Reg<Framedelaymode, RW>
Configuration register for the Frame Delay Timer
Sourcepub const fn packetptr(self) -> Reg<u32, RW>
pub const fn packetptr(self) -> Reg<u32, RW>
Packet pointer for TXD and RXD data storage in Data RAM
Sourcepub const fn maxlen(self) -> Reg<Maxlen, RW>
pub const fn maxlen(self) -> Reg<Maxlen, RW>
Size of the RAM buffer allocated to TXD and RXD data storage each
Sourcepub const fn modulationctrl(self) -> Reg<Modulationctrl, RW>
pub const fn modulationctrl(self) -> Reg<Modulationctrl, RW>
Enables the modulation output to a GPIO pin which can be connected to a second external antenna.
Sourcepub const fn modulationpsel(self) -> Reg<Modulationpsel, RW>
pub const fn modulationpsel(self) -> Reg<Modulationpsel, RW>
Pin select for Modulation control
Sourcepub const fn autocolresconfig(self) -> Reg<Autocolresconfig, RW>
pub const fn autocolresconfig(self) -> Reg<Autocolresconfig, RW>
Controls the auto collision resolution function. This setting must be done before the NFCT peripheral is activated.
Trait Implementations§
impl Copy for Nfct
impl Eq for Nfct
impl Send for Nfct
impl StructuralPartialEq for Nfct
impl Sync for Nfct
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)