Enum imxrt_hal::gpt::OutputCompareRegister
source · #[repr(usize)]pub enum OutputCompareRegister {
OCR1 = 0,
OCR2 = 1,
OCR3 = 2,
}
Expand description
An output compare register (OCR).
Variants§
OCR1 = 0
The first output compare register.
OCR2 = 1
The second output compare register.
OCR3 = 2
The third output compare register.
Trait Implementations§
source§impl Clone for OutputCompareRegister
impl Clone for OutputCompareRegister
source§fn clone(&self) -> OutputCompareRegister
fn clone(&self) -> OutputCompareRegister
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OutputCompareRegister
impl Debug for OutputCompareRegister
source§impl PartialEq for OutputCompareRegister
impl PartialEq for OutputCompareRegister
source§fn eq(&self, other: &OutputCompareRegister) -> bool
fn eq(&self, other: &OutputCompareRegister) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OutputCompareRegister
impl Eq for OutputCompareRegister
impl StructuralEq for OutputCompareRegister
impl StructuralPartialEq for OutputCompareRegister
Auto Trait Implementations§
impl RefUnwindSafe for OutputCompareRegister
impl Send for OutputCompareRegister
impl Sync for OutputCompareRegister
impl Unpin for OutputCompareRegister
impl UnwindSafe for OutputCompareRegister
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