Enum rp_pac::pwm::vals::Ch10csrDivmode
source · #[repr(u8)]pub enum Ch10csrDivmode {
DIV = 0,
LEVEL = 1,
RISE = 2,
FALL = 3,
}
Variants§
DIV = 0
Free-running counting at rate dictated by fractional divider
LEVEL = 1
Fractional divider operation is gated by the PWM B pin.
RISE = 2
Counter advances with each rising edge of the PWM B pin.
FALL = 3
Counter advances with each falling edge of the PWM B pin.
Implementations§
Trait Implementations§
source§impl Clone for Ch10csrDivmode
impl Clone for Ch10csrDivmode
source§fn clone(&self) -> Ch10csrDivmode
fn clone(&self) -> Ch10csrDivmode
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 From<Ch10csrDivmode> for u8
impl From<Ch10csrDivmode> for u8
source§fn from(val: Ch10csrDivmode) -> u8
fn from(val: Ch10csrDivmode) -> u8
Converts to this type from the input type.
source§impl From<u8> for Ch10csrDivmode
impl From<u8> for Ch10csrDivmode
source§fn from(val: u8) -> Ch10csrDivmode
fn from(val: u8) -> Ch10csrDivmode
Converts to this type from the input type.
source§impl Ord for Ch10csrDivmode
impl Ord for Ch10csrDivmode
source§fn cmp(&self, other: &Ch10csrDivmode) -> Ordering
fn cmp(&self, other: &Ch10csrDivmode) -> Ordering
1.21.0 · 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
source§impl PartialEq for Ch10csrDivmode
impl PartialEq for Ch10csrDivmode
source§impl PartialOrd for Ch10csrDivmode
impl PartialOrd for Ch10csrDivmode
impl Copy for Ch10csrDivmode
impl Eq for Ch10csrDivmode
impl StructuralPartialEq for Ch10csrDivmode
Auto Trait Implementations§
impl Freeze for Ch10csrDivmode
impl RefUnwindSafe for Ch10csrDivmode
impl Send for Ch10csrDivmode
impl Sync for Ch10csrDivmode
impl Unpin for Ch10csrDivmode
impl UnwindSafe for Ch10csrDivmode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)