Enum imxrt_hal::flexpwm::ValueRegister
source · pub enum ValueRegister {
Val0,
Val1,
Val2,
Val3,
Val4,
Val5,
}
Expand description
PWM value registers.
These value registers describe when PWM counters reset, and when outputs turn on and off. Consider using more descriptive constants, enums, and const functions to describe these values.
Variants§
Val0
Val1
Val2
The turn_on()
register for Channel::A
.
Val3
The turn_off()
register for Channel::A
.
Val4
The turn_on()
register for Channel::B
.
Val5
The turn_off()
register for Channel::B
.
Trait Implementations§
source§impl Clone for ValueRegister
impl Clone for ValueRegister
source§fn clone(&self) -> ValueRegister
fn clone(&self) -> ValueRegister
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 ValueRegister
impl Debug for ValueRegister
source§impl PartialEq for ValueRegister
impl PartialEq for ValueRegister
source§fn eq(&self, other: &ValueRegister) -> bool
fn eq(&self, other: &ValueRegister) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ValueRegister
impl Eq for ValueRegister
impl StructuralEq for ValueRegister
impl StructuralPartialEq for ValueRegister
Auto Trait Implementations§
impl RefUnwindSafe for ValueRegister
impl Send for ValueRegister
impl Sync for ValueRegister
impl Unpin for ValueRegister
impl UnwindSafe for ValueRegister
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