Struct atmega_hal::pac::twi::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub twbr: Reg<TWBR_SPEC>,
pub twsr: Reg<TWSR_SPEC>,
pub twar: Reg<TWAR_SPEC>,
pub twdr: Reg<TWDR_SPEC>,
pub twcr: Reg<TWCR_SPEC>,
pub twamr: Reg<TWAMR_SPEC>,
}
Expand description
Register block
Fields§
§twbr: Reg<TWBR_SPEC>
0x00 - TWI Bit Rate register
twsr: Reg<TWSR_SPEC>
0x01 - TWI Status Register
twar: Reg<TWAR_SPEC>
0x02 - TWI (Slave) Address register
twdr: Reg<TWDR_SPEC>
0x03 - TWI Data register
twcr: Reg<TWCR_SPEC>
0x04 - TWI Control Register
twamr: Reg<TWAMR_SPEC>
0x05 - TWI (Slave) Address Mask Register
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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