Struct lpc55_pac::iocon::pio0_12::OD_W [−][src]
pub struct OD_W<'a> { /* fields omitted */ }
Field OD
writer - Controls open-drain mode.
Implementations
impl<'a> OD_W<'a>
[src]
impl<'a> OD_W<'a>
[src]pub fn variant(self, variant: OD_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn normal(self) -> &'a mut W
[src]
Normal. Normal push-pull output
pub fn open_drain(self) -> &'a mut W
[src]
Open-drain. Simulated open-drain output (high drive disabled).
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field