Struct gd32f1::gd32f190::gpiod::ospd::OSPD9_W [−][src]
pub struct OSPD9_W<'a> { /* fields omitted */ }
Field OSPD9
writer - Pin 9 output max speed bits
Implementations
impl<'a> OSPD9_W<'a>
[src]
impl<'a> OSPD9_W<'a>
[src]pub fn variant(self, variant: OSPD9_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