pub type MODE15_W<'a, const O: u8> = FieldWriterSafe<'a, u32, PA_MODEH_SPEC, u8, MODE15_A, 4, O>;
Expand description

Field MODE15 writer - Pin 15 Mode

Implementations§

source§

impl<'a, const O: u8> MODE15_W<'a, O>

source

pub fn disabled(self) -> &'a mut W

Input disabled. Pullup if DOUT is set.

source

pub fn input(self) -> &'a mut W

Input enabled. Filter if DOUT is set

source

pub fn inputpull(self) -> &'a mut W

Input enabled. DOUT determines pull direction

source

pub fn inputpullfilter(self) -> &'a mut W

Input enabled with filter. DOUT determines pull direction

source

pub fn pushpull(self) -> &'a mut W

Push-pull output

source

pub fn pushpullalt(self) -> &'a mut W

Push-pull using alternate control

source

pub fn wiredor(self) -> &'a mut W

Wired-or output

source

pub fn wiredorpulldown(self) -> &'a mut W

Wired-or output with pull-down

source

pub fn wiredand(self) -> &'a mut W

Open-drain output

source

pub fn wiredandfilter(self) -> &'a mut W

Open-drain output with filter

source

pub fn wiredandpullup(self) -> &'a mut W

Open-drain output with pullup

source

pub fn wiredandpullupfilter(self) -> &'a mut W

Open-drain output with filter and pullup

source

pub fn wiredandalt(self) -> &'a mut W

Open-drain output using alternate control

source

pub fn wiredandaltfilter(self) -> &'a mut W

Open-drain output using alternate control with filter

source

pub fn wiredandaltpullup(self) -> &'a mut W

Open-drain output using alternate control with pullup

source

pub fn wiredandaltpullupfilter(self) -> &'a mut W

Open-drain output using alternate control with filter and pullup