Enum stm32_metapac::hrtim::vals::Reseteffect
#[repr(u8)]pub enum Reseteffect {
NOEFFECT = 0,
RESETCOUNTER = 1,
}
Variants§
NOEFFECT = 0
Timer Y compare Z event has no effect
RESETCOUNTER = 1
Timer X counter is reset upon timer Y compare Z event
Implementations§
§impl Reseteffect
impl Reseteffect
pub const fn from_bits(val: u8) -> Reseteffect
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Reseteffect
impl Clone for Reseteffect
§fn clone(&self) -> Reseteffect
fn clone(&self) -> Reseteffect
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<Reseteffect> for u8
impl From<Reseteffect> for u8
§fn from(val: Reseteffect) -> u8
fn from(val: Reseteffect) -> u8
Converts to this type from the input type.
§impl From<u8> for Reseteffect
impl From<u8> for Reseteffect
§fn from(val: u8) -> Reseteffect
fn from(val: u8) -> Reseteffect
Converts to this type from the input type.
§impl Ord for Reseteffect
impl Ord for Reseteffect
§impl PartialEq for Reseteffect
impl PartialEq for Reseteffect
§impl PartialOrd for Reseteffect
impl PartialOrd for Reseteffect
impl Copy for Reseteffect
impl Eq for Reseteffect
impl StructuralPartialEq for Reseteffect
Auto Trait Implementations§
impl Freeze for Reseteffect
impl RefUnwindSafe for Reseteffect
impl Send for Reseteffect
impl Sync for Reseteffect
impl Unpin for Reseteffect
impl UnwindSafe for Reseteffect
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
)