Enum avr_device::atmega4809::portmux::twispiroutea::TWI0_A
source · #[repr(u8)]pub enum TWI0_A {
DEFAULT = 0,
ALT1 = 1,
ALT2 = 2,
NONE = 3,
}
Expand description
Port Multiplexer TWI0
Value on reset: 0
Variants§
DEFAULT = 0
0: SCL/SDA on PA[3:2], Slave mode on PC[3:2] in dual TWI mode
ALT1 = 1
1: SCL/SDA on PA[3:2], Slave mode on PF[3:2] in dual TWI mode
ALT2 = 2
2: SCL/SDA on PC[3:2], Slave mode on PF[3:2] in dual TWI mode
NONE = 3
3: Not connected to any pins
Trait Implementations§
impl Copy for TWI0_A
impl Eq for TWI0_A
impl StructuralPartialEq for TWI0_A
Auto Trait Implementations§
impl Freeze for TWI0_A
impl RefUnwindSafe for TWI0_A
impl Send for TWI0_A
impl Sync for TWI0_A
impl Unpin for TWI0_A
impl UnwindSafe for TWI0_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
)