Struct lpc55_pac::syscon::ahbclkctrl2::COMP_W [−][src]
pub struct COMP_W<'a> { /* fields omitted */ }
Field COMP
writer - Enables the clock for the Comparator.
Implementations
impl<'a> COMP_W<'a>
[src]
impl<'a> COMP_W<'a>
[src]pub fn variant(self, variant: COMP_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn disable(self) -> &'a mut W
[src]
Disable Clock.
pub fn enable(self) -> &'a mut W
[src]
Enable Clock.
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