1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - TWI Bit Rate register"] pub twbr: crate::Reg<twbr::TWBR_SPEC>, #[doc = "0x01 - TWI Status Register"] pub twsr: crate::Reg<twsr::TWSR_SPEC>, #[doc = "0x02 - TWI (Slave) Address register"] pub twar: crate::Reg<twar::TWAR_SPEC>, #[doc = "0x03 - TWI Data register"] pub twdr: crate::Reg<twdr::TWDR_SPEC>, _reserved4: [u8; 50usize], #[doc = "0x36 - TWI Control Register"] pub twcr: crate::Reg<twcr::TWCR_SPEC>, } #[doc = "TWAR register accessor: an alias for `Reg<TWAR_SPEC>`"] pub type TWAR = crate::Reg<twar::TWAR_SPEC>; #[doc = "TWI (Slave) Address register"] pub mod twar; #[doc = "TWBR register accessor: an alias for `Reg<TWBR_SPEC>`"] pub type TWBR = crate::Reg<twbr::TWBR_SPEC>; #[doc = "TWI Bit Rate register"] pub mod twbr; #[doc = "TWCR register accessor: an alias for `Reg<TWCR_SPEC>`"] pub type TWCR = crate::Reg<twcr::TWCR_SPEC>; #[doc = "TWI Control Register"] pub mod twcr; #[doc = "TWDR register accessor: an alias for `Reg<TWDR_SPEC>`"] pub type TWDR = crate::Reg<twdr::TWDR_SPEC>; #[doc = "TWI Data register"] pub mod twdr; #[doc = "TWSR register accessor: an alias for `Reg<TWSR_SPEC>`"] pub type TWSR = crate::Reg<twsr::TWSR_SPEC>; #[doc = "TWI Status Register"] pub mod twsr;