Enum avr_device::atmega4809::tcb2::ctrlb::CNTMODE_A
source · #[repr(u8)]pub enum CNTMODE_A {
INT = 0,
TIMEOUT = 1,
CAPT = 2,
FRQ = 3,
PW = 4,
FRQPW = 5,
SINGLE = 6,
PWM8 = 7,
}
Expand description
Timer Mode
Value on reset: 0
Variants§
INT = 0
0: Periodic Interrupt
TIMEOUT = 1
1: Periodic Timeout
CAPT = 2
2: Input Capture Event
FRQ = 3
3: Input Capture Frequency measurement
PW = 4
4: Input Capture Pulse-Width measurement
FRQPW = 5
5: Input Capture Frequency and Pulse-Width measurement
SINGLE = 6
6: Single Shot
PWM8 = 7
7: 8-bit PWM
Trait Implementations§
impl Copy for CNTMODE_A
impl Eq for CNTMODE_A
impl StructuralPartialEq for CNTMODE_A
Auto Trait Implementations§
impl Freeze for CNTMODE_A
impl RefUnwindSafe for CNTMODE_A
impl Send for CNTMODE_A
impl Sync for CNTMODE_A
impl Unpin for CNTMODE_A
impl UnwindSafe for CNTMODE_A
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
)