Type Alias xmc4500::port6::iocr0::PC0_W

source ·
pub type PC0_W<'a, REG> = FieldWriter<'a, REG, 5, PC0_A>;
Expand description

Field PC0 writer - Port Control for Port n Pin 0 to 3

Aliased Type§

struct PC0_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> PC0_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

Input - No internal pull device active

source

pub fn value2(self) -> &'a mut W<REG>

Input - Internal pull-down device active

source

pub fn value3(self) -> &'a mut W<REG>

Input - Internal pull-up device active

source

pub fn value4(self) -> &'a mut W<REG>

Input - No internal pull device, Pn_OUTx = input value

source

pub fn value5(self) -> &'a mut W<REG>

Input inverted - No internal pull device active

source

pub fn value6(self) -> &'a mut W<REG>

Input inverted - Internal pull-down device active

source

pub fn value7(self) -> &'a mut W<REG>

Input inverted - Internal pull-up device active

source

pub fn value8(self) -> &'a mut W<REG>

Input inverted - No internal pull device, Pn_OUTx = input value

source

pub fn value9(self) -> &'a mut W<REG>

Output Push-Pull - General-purpose output

source

pub fn value10(self) -> &'a mut W<REG>

Output Push-Pull - Alternate output function 1

source

pub fn value11(self) -> &'a mut W<REG>

Output Push-Pull - Alternate output function 2

source

pub fn value12(self) -> &'a mut W<REG>

Output Push-Pull - Alternate output function 3

source

pub fn value13(self) -> &'a mut W<REG>

Output Push-Pull - Alternate output function 4

source

pub fn value14(self) -> &'a mut W<REG>

Output Open Drain - General-purpose output

source

pub fn value15(self) -> &'a mut W<REG>

Output Open Drain - Alternate output function 1

source

pub fn value16(self) -> &'a mut W<REG>

Output Open Drain - Alternate output function 2

source

pub fn value17(self) -> &'a mut W<REG>

Output Open Drain - Alternate output function 3

source

pub fn value18(self) -> &'a mut W<REG>

Output Open Drain - Alternate output function 4