pub enum TOIER {
_0,
_1,
}Expand description
Possible values of the field TOIE
Variants§
_0
Disable TOF interrupts. Use software polling.
_1
Enable TOF interrupts. An interrupt is generated when TOF equals one.
Implementations§
Source§impl TOIER
impl TOIER
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
Trait Implementations§
impl Copy for TOIER
impl StructuralPartialEq for TOIER
Auto Trait Implementations§
impl Freeze for TOIER
impl RefUnwindSafe for TOIER
impl Send for TOIER
impl Sync for TOIER
impl Unpin for TOIER
impl UnwindSafe for TOIER
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more