Type Alias gd32e1::gd32e103::spi0::qctl::Io23DrvW

source ·
pub type Io23DrvW<'a, REG> = BitWriter<'a, REG, Io23Drv>;
Expand description

Field IO23_DRV writer - Drive IO2 and IO3 enable

Aliased Type§

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

Implementations§

source§

impl<'a, REG> Io23DrvW<'a, REG>
where REG: Writable + RegisterSpec,

source

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

IO2 and IO3 are not driven in single wire mode

source

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

IO2 and IO3 are driven high in single wire mode