Enum stm32wlxx_hal::pac::tim2::ccmr1_input::CC1S_A
#[repr(u8)]pub enum CC1S_A {
Output = 0,
Ti1 = 1,
Ti2 = 2,
Trc = 3,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Capture/Compare 1 selection
Value on reset: 0
Variants§
Output = 0
0: CCx channel is configured as output
Ti1 = 1
1: CCx channel is configured as input, ICx is mapped on TI1
Ti2 = 2
2: CCx channel is configured as input, ICx is mapped on TI2
Trc = 3
3: CCx channel is configured as input, ICx is mapped on TRC
Trait Implementations§
impl Copy for CC1S_A
impl StructuralPartialEq for CC1S_A
Auto Trait Implementations§
impl RefUnwindSafe for CC1S_A
impl Send for CC1S_A
impl Sync for CC1S_A
impl Unpin for CC1S_A
impl UnwindSafe for CC1S_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