Enum nrf52840::uicr::nfcpins::PROTECTR[][src]

pub enum PROTECTR {
    DISABLED,
    NFC,
}

Possible values of the field PROTECT

Variants

Operation as GPIO pins. Same protection as normal GPIO pins

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

Methods

impl PROTECTR
[src]

Returns true if the bit is clear (0)

Returns true if the bit is set (1)

Value of the field as raw bits

Checks if the value of the field is DISABLED

Checks if the value of the field is NFC

Trait Implementations

impl Clone for PROTECTR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PROTECTR
[src]

impl Debug for PROTECTR
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PROTECTR
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for PROTECTR

impl Sync for PROTECTR