pub enum OwnAddresses {
OA1(Address),
OA2(OA2),
Both {
oa1: Address,
oa2: OA2,
},
}Expand description
The Own Address(es) of the I2C peripheral.
Variants§
OA1(Address)
Configuration for only the OA1 register.
OA2(OA2)
Configuration for only the OA2 register.
Both
Configuration for both the OA1 and OA2 registers.
Trait Implementations§
Source§impl Clone for OwnAddresses
impl Clone for OwnAddresses
impl Copy for OwnAddresses
Source§impl Debug for OwnAddresses
impl Debug for OwnAddresses
Auto Trait Implementations§
impl Forget for OwnAddresses
impl Freeze for OwnAddresses
impl Move for OwnAddresses
impl RefUnwindSafe for OwnAddresses
impl Send for OwnAddresses
impl Sync for OwnAddresses
impl Unpin for OwnAddresses
impl UnsafeUnpin for OwnAddresses
impl UnwindSafe for OwnAddresses
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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