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