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§
source§impl PartialEq for TWI0_A
impl PartialEq for TWI0_A
impl Copy for TWI0_A
impl Eq for TWI0_A
impl StructuralPartialEq for TWI0_A
Auto Trait Implementations§
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