Struct nrf52840::lpcomp::hyst::_HYSTW [−][src]
pub struct _HYSTW<'a> { /* fields omitted */ }
Proxy
Methods
impl<'a> _HYSTW<'a>
[src]
impl<'a> _HYSTW<'a>
pub fn variant(self, variant: HYSTW) -> &'a mut W
[src]
pub fn variant(self, variant: HYSTW) -> &'a mut W
Writes variant
to the field
pub fn disabled(self) -> &'a mut W
[src]
pub fn disabled(self) -> &'a mut W
Comparator hysteresis disabled
pub fn enabled(self) -> &'a mut W
[src]
pub fn enabled(self) -> &'a mut W
Comparator hysteresis enabled
pub fn set_bit(self) -> &'a mut W
[src]
pub fn set_bit(self) -> &'a mut W
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
pub fn clear_bit(self) -> &'a mut W
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
pub fn bit(self, value: bool) -> &'a mut W
Writes raw bits to the field