Struct gd32f1::gd32f190::cmp::cs::CMP1M_W [−][src]
pub struct CMP1M_W<'a> { /* fields omitted */ }
Field CMP1M
writer - CMP1 mode
Implementations
impl<'a> CMP1M_W<'a>
[src]
impl<'a> CMP1M_W<'a>
[src]pub fn variant(self, variant: CMP1M_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn high_speed(self) -> &'a mut W
[src]
High speed / full power
pub fn medium_speed(self) -> &'a mut W
[src]
Medium speed / medium power
pub fn low_speed(self) -> &'a mut W
[src]
Low speed / low power
pub fn very_low_speed(self) -> &'a mut W
[src]
Very-low speed / ultra-low power
pub fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field