Type Alias nrf52840_pac::uicr::nfcpins::PROTECT_R

source ·
pub type PROTECT_R = BitReader<PROTECT_A>;
Expand description

Field PROTECT reader - Setting of pins dedicated to NFC functionality

Aliased Type§

struct PROTECT_R { /* private fields */ }

Implementations§

source§

impl PROTECT_R

source

pub fn variant(&self) -> PROTECT_A

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

source

pub fn is_nfc(&self) -> bool

Checks if the value of the field is NFC