[][src]Type Definition nrf52832_pac::p0::pin_cnf::R

type R = R<u32, PIN_CNF>;

Reader of register PIN_CNF[%s]

Methods

impl R[src]

pub fn dir(&self) -> DIR_R[src]

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

pub fn input(&self) -> INPUT_R[src]

Bit 1 - Connect or disconnect input buffer

pub fn pull(&self) -> PULL_R[src]

Bits 2:3 - Pull configuration

pub fn drive(&self) -> DRIVE_R[src]

Bits 8:10 - Drive configuration

pub fn sense(&self) -> SENSE_R[src]

Bits 16:17 - Pin sensing mechanism