Struct atsam4ls4b_pac::usart0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {}
Expand description
Register block
Fields§
§rhr: RHR
0x18 - Receiver Holding Register
thr: THR
0x1c - Transmitter Holding Register
brgr: BRGR
0x20 - Baud Rate Generator Register
rtor: RTOR
0x24 - Receiver Time-out Register
ttgr: TTGR
0x28 - Transmitter Timeguard Register
fidi: FIDI
0x40 - FI DI Ratio Register
ner: NER
0x44 - Number of Errors Register
ifr: IFR
0x4c - IrDA Filter Register
man: MAN
0x50 - Manchester Configuration Register
linmr: LINMR
0x54 - LIN Mode Register
linir: LINIR
0x58 - LIN Identifier Register
linbrr: LINBRR
0x5c - LIN Baud Rate Register
wpmr: WPMR
0xe4 - Write Protect Mode Register
wpsr: WPSR
0xe8 - Write Protect Status Register
version: VERSION
0xfc - Version Register
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn usart_mode_cr_usart(&self) -> &USART_MODE_CR_USART
pub const fn usart_mode_cr_usart(&self) -> &USART_MODE_CR_USART
0x00 - Control Register
sourcepub const fn spi_master_mode_cr_spi(&self) -> &SPI_MASTER_MODE_CR_SPI
pub const fn spi_master_mode_cr_spi(&self) -> &SPI_MASTER_MODE_CR_SPI
0x00 - Control Register
sourcepub const fn lin_mode_cr_lin(&self) -> &LIN_MODE_CR_LIN
pub const fn lin_mode_cr_lin(&self) -> &LIN_MODE_CR_LIN
0x00 - Control Register
sourcepub const fn usart_mode_mr(&self) -> &USART_MODE_MR
pub const fn usart_mode_mr(&self) -> &USART_MODE_MR
0x04 - Mode Register
sourcepub const fn spi_mode_mr_spi(&self) -> &SPI_MODE_MR_SPI
pub const fn spi_mode_mr_spi(&self) -> &SPI_MODE_MR_SPI
0x04 - Mode Register
sourcepub const fn usart_mode_ier_usart(&self) -> &USART_MODE_IER_USART
pub const fn usart_mode_ier_usart(&self) -> &USART_MODE_IER_USART
0x08 - Interrupt Enable Register
sourcepub const fn spi_slave_mode_ier_spi(&self) -> &SPI_SLAVE_MODE_IER_SPI
pub const fn spi_slave_mode_ier_spi(&self) -> &SPI_SLAVE_MODE_IER_SPI
0x08 - Interrupt Enable Register
sourcepub const fn lin_mode_ier_lin(&self) -> &LIN_MODE_IER_LIN
pub const fn lin_mode_ier_lin(&self) -> &LIN_MODE_IER_LIN
0x08 - Interrupt Enable Register
sourcepub const fn usart_mode_idr_usart(&self) -> &USART_MODE_IDR_USART
pub const fn usart_mode_idr_usart(&self) -> &USART_MODE_IDR_USART
0x0c - Interrupt Disable Register
sourcepub const fn spi_slave_mode_idr_spi(&self) -> &SPI_SLAVE_MODE_IDR_SPI
pub const fn spi_slave_mode_idr_spi(&self) -> &SPI_SLAVE_MODE_IDR_SPI
0x0c - Interrupt Disable Register
sourcepub const fn lin_mode_idr_lin(&self) -> &LIN_MODE_IDR_LIN
pub const fn lin_mode_idr_lin(&self) -> &LIN_MODE_IDR_LIN
0x0c - Interrupt Disable Register
sourcepub const fn usart_mode_imr_usart(&self) -> &USART_MODE_IMR_USART
pub const fn usart_mode_imr_usart(&self) -> &USART_MODE_IMR_USART
0x10 - Interrupt Mask Register
sourcepub const fn spi_slave_mode_mr_usart(&self) -> &SPI_SLAVE_MODE_MR_USART
pub const fn spi_slave_mode_mr_usart(&self) -> &SPI_SLAVE_MODE_MR_USART
0x10 - Interrupt Mask Register
sourcepub const fn lin_mode_imr_lin(&self) -> &LIN_MODE_IMR_LIN
pub const fn lin_mode_imr_lin(&self) -> &LIN_MODE_IMR_LIN
0x10 - Interrupt Mask Register
sourcepub const fn usart_mode_csr_usart(&self) -> &USART_MODE_CSR_USART
pub const fn usart_mode_csr_usart(&self) -> &USART_MODE_CSR_USART
0x14 - Channel Status Register
sourcepub const fn spi_slave_mode_csr_spi(&self) -> &SPI_SLAVE_MODE_CSR_SPI
pub const fn spi_slave_mode_csr_spi(&self) -> &SPI_SLAVE_MODE_CSR_SPI
0x14 - Channel Status Register
sourcepub const fn lin_mode_csr_lin(&self) -> &LIN_MODE_CSR_LIN
pub const fn lin_mode_csr_lin(&self) -> &LIN_MODE_CSR_LIN
0x14 - Channel Status Register