Struct nrf52832_pac::p0::pin_cnf::R

source ·
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Value of the register as raw bits

Bit 0 - Pin direction. Same physical register as DIR register

Bit 1 - Connect or disconnect input buffer

Bits 2:3 - Pull configuration

Bits 8:10 - Drive configuration

Bits 16:17 - Pin sensing mechanism

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.