nrf-pac

Crates

git

Versions

nrf54l15-flpr

Flavors

nrf_pac::nfct

Struct Nfct

Source
pub struct Nfct { /* private fields */ }
Expand description

NFC-A compatible radio NFC-A compatible radio 0

Implementations§

Source§

impl Nfct

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn tasks_activate(self) -> Reg<u32, W>

Activate NFCT peripheral for incoming and outgoing frames, change state to activated

Source

pub const fn tasks_disable(self) -> Reg<u32, W>

Disable NFCT peripheral

Source

pub const fn tasks_sense(self) -> Reg<u32, W>

Enable NFC sense field mode, change state to sense mode

Source

pub const fn tasks_starttx(self) -> Reg<u32, W>

Start transmission of an outgoing frame, change state to transmit

Source

pub const fn tasks_stoptx(self) -> Reg<u32, W>

Stops an issued transmission of a frame

Source

pub const fn tasks_enablerxdata(self) -> Reg<u32, W>

Initializes the EasyDMA for receive.

Source

pub const fn tasks_goidle(self) -> Reg<u32, W>

Force state machine to IDLE state

Source

pub const fn tasks_gosleep(self) -> Reg<u32, W>

Force state machine to SLEEP_A state

Source

pub const fn subscribe_activate(self) -> Reg<Subscribe, RW>

Subscribe configuration for task ACTIVATE

Source

pub const fn subscribe_disable(self) -> Reg<Subscribe, RW>

Subscribe configuration for task DISABLE

Source

pub const fn subscribe_sense(self) -> Reg<Subscribe, RW>

Subscribe configuration for task SENSE

Source

pub const fn subscribe_starttx(self) -> Reg<Subscribe, RW>

Subscribe configuration for task STARTTX

Source

pub const fn subscribe_stoptx(self) -> Reg<Subscribe, RW>

Subscribe configuration for task STOPTX

Source

pub const fn subscribe_enablerxdata(self) -> Reg<Subscribe, RW>

Subscribe configuration for task ENABLERXDATA

Source

pub const fn subscribe_goidle(self) -> Reg<Subscribe, RW>

Subscribe configuration for task GOIDLE

Source

pub const fn subscribe_gosleep(self) -> Reg<Subscribe, RW>

Subscribe configuration for task GOSLEEP

Source

pub const fn events_ready(self) -> Reg<u32, RW>

The NFCT peripheral is ready to receive and send frames

Source

pub const fn events_fielddetected(self) -> Reg<u32, RW>

Remote NFC field detected

Source

pub const fn events_fieldlost(self) -> Reg<u32, RW>

Remote NFC field lost

Source

pub const fn events_txframestart(self) -> Reg<u32, RW>

Marks the start of the first symbol of a transmitted frame

Source

pub const fn events_txframeend(self) -> Reg<u32, RW>

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

Source

pub const fn events_rxframestart(self) -> Reg<u32, RW>

Marks the end of the first symbol of a received frame

Source

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

Source

pub const fn events_error(self) -> Reg<u32, RW>

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

Source

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.

Source

pub const fn events_endrx(self) -> Reg<u32, RW>

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

Source

pub const fn events_endtx(self) -> Reg<u32, RW>

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

Source

pub const fn events_autocolresstarted(self) -> Reg<u32, RW>

Auto collision resolution process has started

Source

pub const fn events_collision(self) -> Reg<u32, RW>

NFC auto collision resolution error reported.

Source

pub const fn events_selected(self) -> Reg<u32, RW>

NFC auto collision resolution successfully completed

Source

pub const fn events_started(self) -> Reg<u32, RW>

EasyDMA is ready to receive or send frames.

Source

pub const fn publish_ready(self) -> Reg<Publish, RW>

Publish configuration for event READY

Source

pub const fn publish_fielddetected(self) -> Reg<Publish, RW>

Publish configuration for event FIELDDETECTED

Source

pub const fn publish_fieldlost(self) -> Reg<Publish, RW>

Publish configuration for event FIELDLOST

Source

pub const fn publish_txframestart(self) -> Reg<Publish, RW>

Publish configuration for event TXFRAMESTART

Source

pub const fn publish_txframeend(self) -> Reg<Publish, RW>

Publish configuration for event TXFRAMEEND

Source

pub const fn publish_rxframestart(self) -> Reg<Publish, RW>

Publish configuration for event RXFRAMESTART

Source

pub const fn publish_rxframeend(self) -> Reg<Publish, RW>

Publish configuration for event RXFRAMEEND

Source

pub const fn publish_error(self) -> Reg<Publish, RW>

Publish configuration for event ERROR

Source

pub const fn publish_rxerror(self) -> Reg<Publish, RW>

Publish configuration for event RXERROR

Source

pub const fn publish_endrx(self) -> Reg<Publish, RW>

Publish configuration for event ENDRX

Source

pub const fn publish_endtx(self) -> Reg<Publish, RW>

Publish configuration for event ENDTX

Source

pub const fn publish_autocolresstarted(self) -> Reg<Publish, RW>

Publish configuration for event AUTOCOLRESSTARTED

Source

pub const fn publish_collision(self) -> Reg<Publish, RW>

Publish configuration for event COLLISION

Source

pub const fn publish_selected(self) -> Reg<Publish, RW>

Publish configuration for event SELECTED

Source

pub const fn publish_started(self) -> Reg<Publish, RW>

Publish configuration for event STARTED

Source

pub const fn shorts(self) -> Reg<Shorts, RW>

Shortcuts between local events and tasks

Source

pub const fn inten(self) -> Reg<Int, RW>

Enable or disable interrupt

Source

pub const fn intenset(self) -> Reg<Int, RW>

Enable interrupt

Source

pub const fn intenclr(self) -> Reg<Int, RW>

Disable interrupt

Source

pub const fn errorstatus(self) -> Reg<Errorstatus, RW>

NFC Error Status register

Source

pub const fn framestatus(self) -> Framestatus

Unspecified

Source

pub const fn nfctagstate(self) -> Reg<Nfctagstate, R>

Current operating state of NFC tag

Source

pub const fn sleepstate(self) -> Reg<Sleepstate, R>

Sleep state during automatic collision resolution

Source

pub const fn fieldpresent(self) -> Reg<Fieldpresent, R>

Indicates the presence or not of a valid field

Source

pub const fn framedelaymin(self) -> Reg<Framedelaymin, RW>

Minimum frame delay

Source

pub const fn framedelaymax(self) -> Reg<Framedelaymax, RW>

Maximum frame delay

Source

pub const fn framedelaymode(self) -> Reg<Framedelaymode, RW>

Configuration register for the Frame Delay Timer

Source

pub const fn packetptr(self) -> Reg<u32, RW>

Packet pointer for TXD and RXD data storage in Data RAM

Source

pub const fn maxlen(self) -> Reg<Maxlen, RW>

Size of the RAM buffer allocated to TXD and RXD data storage each

Source

pub const fn txd(self) -> Txd

Unspecified

Source

pub const fn rxd(self) -> Rxd

Unspecified

Source

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.

Source

pub const fn modulationpsel(self) -> Reg<Modulationpsel, RW>

Pin select for Modulation control

Source

pub const fn mode(self) -> Reg<Mode, RW>

Configure EasyDMA mode

Source

pub const fn nfcid1(self) -> Nfcid1

Unspecified

Source

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.

Source

pub const fn sensres(self) -> Reg<Sensres, RW>

NFC-A SENS_RES auto-response settings

Source

pub const fn selres(self) -> Reg<Selres, RW>

NFC-A SEL_RES auto-response settings

Source

pub const fn padconfig(self) -> Reg<Padconfig, RW>

NFC pad configuration

Trait Implementations§

Source§

impl Clone for Nfct

Source§

fn clone(&self) -> Nfct

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Nfct

Source§

fn eq(&self, other: &Nfct) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Nfct

Source§

impl Eq for Nfct

Source§

impl Send for Nfct

Source§

impl StructuralPartialEq for Nfct

Source§

impl Sync for Nfct

Auto Trait Implementations§

§

impl Freeze for Nfct

§

impl RefUnwindSafe for Nfct

§

impl Unpin for Nfct

§

impl UnwindSafe for Nfct

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.