#[repr(u8)]
pub enum MODE8_A {
Input,
Output,
Output2,
Output50,
}
Expand description
Port n.8 mode bits
Value on reset: 0
Variants
Input
0: Input mode (reset state)
Output
1: Output mode 10 MHz
Output2
2: Output mode 2 MHz
Output50
3: Output mode 50 MHz
Trait Implementations
impl Copy for MODE8_A
impl StructuralPartialEq for MODE8_A
Auto Trait Implementations
impl RefUnwindSafe for MODE8_A
impl Send for MODE8_A
impl Sync for MODE8_A
impl Unpin for MODE8_A
impl UnwindSafe for MODE8_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