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

type W = W<u32, PIN_CNF>;

Writer for register PIN_CNF[%s]

Methods

impl W[src]

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

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

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

Bit 1 - Connect or disconnect input buffer

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

Bits 2:3 - Pull configuration

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

Bits 8:10 - Drive configuration

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

Bits 16:17 - Pin sensing mechanism