Struct gd32f1::gd32f130::gpioa::pud::PUD0_W [−][src]
pub struct PUD0_W<'a> { /* fields omitted */ }
Field PUD0
writer - Pin 0 pull-up or pull-down bits
Implementations
impl<'a> PUD0_W<'a>
[src]
impl<'a> PUD0_W<'a>
[src]pub fn variant(self, variant: PUD0_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn floating(self) -> &'a mut W
[src]
No pull-up, pull-down (reset state)
pub fn pull_up(self) -> &'a mut W
[src]
Pull-up
pub fn pull_down(self) -> &'a mut W
[src]
Pull-down
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field