Enum Rom
#[repr(u8)]pub enum Rom {
ZeroOrPeriod = 0,
Zero = 1,
Period = 2,
_RESERVED_3 = 3,
}Expand description
Roll-over mode (up-down counting mode)
Variants§
ZeroOrPeriod = 0
Event generated when the counter is equal to 0 or to the period value
Zero = 1
Event generated when the counter is equal to 0
Period = 2
Event generated when the counter is equal to the period value
_RESERVED_3 = 3
Implementations§
Trait Implementations§
impl Copy for Rom
impl Eq for Rom
§impl Ord for Rom
impl Ord for Rom
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Rom
impl PartialOrd for Rom
impl StructuralPartialEq for Rom
Auto Trait Implementations§
impl Freeze for Rom
impl RefUnwindSafe for Rom
impl Send for Rom
impl Sync for Rom
impl Unpin for Rom
impl UnsafeUnpin for Rom
impl UnwindSafe for Rom
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