Enum Pmicfpwmpol
#[repr(u8)]pub enum Pmicfpwmpol {
ActiveLow = 0,
ActiveHigh = 1,
}Variants§
ActiveLow = 0
PMIC_FPWM output signal is active-low.
ActiveHigh = 1
PMIC_FPWM output signal is active-high.
Implementations§
§impl Pmicfpwmpol
impl Pmicfpwmpol
pub const fn from_bits(val: u8) -> Pmicfpwmpol
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Pmicfpwmpol
impl Clone for Pmicfpwmpol
§fn clone(&self) -> Pmicfpwmpol
fn clone(&self) -> Pmicfpwmpol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Pmicfpwmpol
§impl Debug for Pmicfpwmpol
impl Debug for Pmicfpwmpol
impl Eq for Pmicfpwmpol
§impl From<u8> for Pmicfpwmpol
impl From<u8> for Pmicfpwmpol
§fn from(val: u8) -> Pmicfpwmpol
fn from(val: u8) -> Pmicfpwmpol
Converts to this type from the input type.
§impl Ord for Pmicfpwmpol
impl Ord for Pmicfpwmpol
§fn cmp(&self, other: &Pmicfpwmpol) -> Ordering
fn cmp(&self, other: &Pmicfpwmpol) -> Ordering
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 PartialEq for Pmicfpwmpol
impl PartialEq for Pmicfpwmpol
§impl PartialOrd for Pmicfpwmpol
impl PartialOrd for Pmicfpwmpol
impl StructuralPartialEq for Pmicfpwmpol
Auto Trait Implementations§
impl Freeze for Pmicfpwmpol
impl RefUnwindSafe for Pmicfpwmpol
impl Send for Pmicfpwmpol
impl Sync for Pmicfpwmpol
impl Unpin for Pmicfpwmpol
impl UnsafeUnpin for Pmicfpwmpol
impl UnwindSafe for Pmicfpwmpol
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