Enum gd32f1x0_hal::pac::timer1::chctl0_output::CH1MS_A
source · [−]#[repr(u8)]
pub enum CH1MS_A {
OUTPUT,
CI0,
CI1,
ITS,
}
Expand description
Channel 0 I/O mode selection
Value on reset: 0
Variants
OUTPUT
0: Channel is configured as output
CI0
1: Channel is configured as input, ISx is connected to CI0FE0
CI1
2: Channel is configured as input, ISx is connected to CI1FE0
ITS
3: Channel is configured as input, ISx is connected to ITS
Trait Implementations
impl Copy for CH0MS_A
impl StructuralPartialEq for CH0MS_A
Auto Trait Implementations
impl RefUnwindSafe for CH0MS_A
impl Send for CH0MS_A
impl Sync for CH0MS_A
impl Unpin for CH0MS_A
impl UnwindSafe for CH0MS_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more