Type Alias nrf52840_pac::uicr::nfcpins::PROTECT_W

source ·
pub type PROTECT_W<'a, const O: u8> = BitWriter<'a, u32, NFCPINS_SPEC, PROTECT_A, O>;
Expand description

Field PROTECT writer - Setting of pins dedicated to NFC functionality

Aliased Type§

struct PROTECT_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> PROTECT_W<'a, O>

source

pub fn disabled(self) -> &'a mut W

Operation as GPIO pins. Same protection as normal GPIO pins

source

pub fn nfc(self) -> &'a mut W

Operation as NFC antenna pins. Configures the protection for NFC operation