Type Alias atsamd51p::port::group::wrconfig::W

source ·
pub type W = W<WRCONFIG_SPEC>;
Expand description

Register WRCONFIG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pinmask(&mut self) -> PINMASK_W<'_, WRCONFIG_SPEC, 0>

Bits 0:15 - Pin Mask for Multiple Pin Configuration

source

pub fn pmuxen(&mut self) -> PMUXEN_W<'_, WRCONFIG_SPEC, 16>

Bit 16 - Peripheral Multiplexer Enable

source

pub fn inen(&mut self) -> INEN_W<'_, WRCONFIG_SPEC, 17>

Bit 17 - Input Enable

source

pub fn pullen(&mut self) -> PULLEN_W<'_, WRCONFIG_SPEC, 18>

Bit 18 - Pull Enable

source

pub fn drvstr(&mut self) -> DRVSTR_W<'_, WRCONFIG_SPEC, 22>

Bit 22 - Output Driver Strength Selection

source

pub fn pmux(&mut self) -> PMUX_W<'_, WRCONFIG_SPEC, 24>

Bits 24:27 - Peripheral Multiplexing

source

pub fn wrpmux(&mut self) -> WRPMUX_W<'_, WRCONFIG_SPEC, 28>

Bit 28 - Write PMUX

source

pub fn wrpincfg(&mut self) -> WRPINCFG_W<'_, WRCONFIG_SPEC, 30>

Bit 30 - Write PINCFG

source

pub fn hwsel(&mut self) -> HWSEL_W<'_, WRCONFIG_SPEC, 31>

Bit 31 - Half-Word Select

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual