Struct gd32f1::gd32f130::gpioa::ospd::OSPD13_W [−][src]
pub struct OSPD13_W<'a> { /* fields omitted */ }
Field OSPD13
writer - Pin 13 output max speed bits
Implementations
impl<'a> OSPD13_W<'a>
[src]
impl<'a> OSPD13_W<'a>
[src]pub fn variant(self, variant: OSPD13_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn speed2m(self) -> &'a mut W
[src]
Max output speed 2 MHz
pub fn speed10m(self) -> &'a mut W
[src]
Max output speed 10 MHz
pub fn speed50m(self) -> &'a mut W
[src]
Max output speed 50 MHz
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field