Enum stm32_metapac::hrtim::vals::Inactiveeffect
#[repr(u8)]pub enum Inactiveeffect {
NOEFFECT = 0,
SETINACTIVE = 1,
}
Variants§
NOEFFECT = 0
Timer event has no effect
SETINACTIVE = 1
Timer event forces the output to its inactive state
Implementations§
§impl Inactiveeffect
impl Inactiveeffect
pub const fn from_bits(val: u8) -> Inactiveeffect
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Inactiveeffect
impl Clone for Inactiveeffect
§fn clone(&self) -> Inactiveeffect
fn clone(&self) -> Inactiveeffect
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 more§impl From<Inactiveeffect> for u8
impl From<Inactiveeffect> for u8
§fn from(val: Inactiveeffect) -> u8
fn from(val: Inactiveeffect) -> u8
Converts to this type from the input type.
§impl From<u8> for Inactiveeffect
impl From<u8> for Inactiveeffect
§fn from(val: u8) -> Inactiveeffect
fn from(val: u8) -> Inactiveeffect
Converts to this type from the input type.
§impl Ord for Inactiveeffect
impl Ord for Inactiveeffect
§impl PartialEq for Inactiveeffect
impl PartialEq for Inactiveeffect
§impl PartialOrd for Inactiveeffect
impl PartialOrd for Inactiveeffect
impl Copy for Inactiveeffect
impl Eq for Inactiveeffect
impl StructuralPartialEq for Inactiveeffect
Auto Trait Implementations§
impl Freeze for Inactiveeffect
impl RefUnwindSafe for Inactiveeffect
impl Send for Inactiveeffect
impl Sync for Inactiveeffect
impl Unpin for Inactiveeffect
impl UnwindSafe for Inactiveeffect
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
)