Enum ChTr2Trigpol
#[repr(u8)]pub enum ChTr2Trigpol {
NONE = 0,
RISINGEDGE = 1,
FALLINGEDGE = 2,
NONEALT = 3,
}
Variants§
NONE = 0
no trigger (masked trigger event)
RISINGEDGE = 1
trigger on the rising edge
FALLINGEDGE = 2
trigger on the falling edge
NONEALT = 3
same as 00
Implementations§
§impl ChTr2Trigpol
impl ChTr2Trigpol
pub const fn from_bits(val: u8) -> ChTr2Trigpol
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for ChTr2Trigpol
impl Clone for ChTr2Trigpol
§fn clone(&self) -> ChTr2Trigpol
fn clone(&self) -> ChTr2Trigpol
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<ChTr2Trigpol> for u8
impl From<ChTr2Trigpol> for u8
§fn from(val: ChTr2Trigpol) -> u8
fn from(val: ChTr2Trigpol) -> u8
Converts to this type from the input type.
§impl From<u8> for ChTr2Trigpol
impl From<u8> for ChTr2Trigpol
§fn from(val: u8) -> ChTr2Trigpol
fn from(val: u8) -> ChTr2Trigpol
Converts to this type from the input type.
§impl Ord for ChTr2Trigpol
impl Ord for ChTr2Trigpol
§impl PartialEq for ChTr2Trigpol
impl PartialEq for ChTr2Trigpol
§impl PartialOrd for ChTr2Trigpol
impl PartialOrd for ChTr2Trigpol
impl Copy for ChTr2Trigpol
impl Eq for ChTr2Trigpol
impl StructuralPartialEq for ChTr2Trigpol
Auto Trait Implementations§
impl Freeze for ChTr2Trigpol
impl RefUnwindSafe for ChTr2Trigpol
impl Send for ChTr2Trigpol
impl Sync for ChTr2Trigpol
impl Unpin for ChTr2Trigpol
impl UnwindSafe for ChTr2Trigpol
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