Struct atsamv71q20b::usart0::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 23 fields
pub us_rhr: US_RHR,
pub us_thr: US_THR,
pub us_brgr: US_BRGR,
pub us_rtor: US_RTOR,
pub us_ner: US_NER,
pub us_if: US_IF,
pub us_man: US_MAN,
pub us_linmr: US_LINMR,
pub us_linir: US_LINIR,
pub us_linbrr: US_LINBRR,
pub us_lonmr: US_LONMR,
pub us_lonpr: US_LONPR,
pub us_londl: US_LONDL,
pub us_lonl2hdr: US_LONL2HDR,
pub us_lonbl: US_LONBL,
pub us_lonb1tx: US_LONB1TX,
pub us_lonb1rx: US_LONB1RX,
pub us_lonprio: US_LONPRIO,
pub us_idttx: US_IDTTX,
pub us_idtrx: US_IDTRX,
pub us_icdiff: US_ICDIFF,
pub us_wpmr: US_WPMR,
pub us_wpsr: US_WPSR,
/* private fields */
}
Expand description
Register block
Fields
us_rhr: US_RHR
0x18 - Receive Holding Register
us_thr: US_THR
0x1c - Transmit Holding Register
us_brgr: US_BRGR
0x20 - Baud Rate Generator Register
us_rtor: US_RTOR
0x24 - Receiver Timeout Register
us_ner: US_NER
0x44 - Number of Errors Register
us_if: US_IF
0x4c - IrDA Filter Register
us_man: US_MAN
0x50 - Manchester Configuration Register
us_linmr: US_LINMR
0x54 - LIN Mode Register
us_linir: US_LINIR
0x58 - LIN Identifier Register
us_linbrr: US_LINBRR
0x5c - LIN Baud Rate Register
us_lonmr: US_LONMR
0x60 - LON Mode Register
us_lonpr: US_LONPR
0x64 - LON Preamble Register
us_londl: US_LONDL
0x68 - LON Data Length Register
us_lonl2hdr: US_LONL2HDR
0x6c - LON L2HDR Register
us_lonbl: US_LONBL
0x70 - LON Backlog Register
us_lonb1tx: US_LONB1TX
0x74 - LON Beta1 Tx Register
us_lonb1rx: US_LONB1RX
0x78 - LON Beta1 Rx Register
us_lonprio: US_LONPRIO
0x7c - LON Priority Register
us_idttx: US_IDTTX
0x80 - LON IDT Tx Register
us_idtrx: US_IDTRX
0x84 - LON IDT Rx Register
us_icdiff: US_ICDIFF
0x88 - IC DIFF Register
us_wpmr: US_WPMR
0xe4 - Write Protection Mode Register
us_wpsr: US_WPSR
0xe8 - Write Protection Status Register
Implementations
sourceimpl RegisterBlock
impl RegisterBlock
sourcepub fn us_cr_lin_mode(&self) -> &US_CR_LIN_MODE
pub fn us_cr_lin_mode(&self) -> &US_CR_LIN_MODE
0x00 - Control Register
sourcepub fn us_cr_spi_mode(&self) -> &US_CR_SPI_MODE
pub fn us_cr_spi_mode(&self) -> &US_CR_SPI_MODE
0x00 - Control Register
sourcepub fn us_cr_usart_mode(&self) -> &US_CR_USART_MODE
pub fn us_cr_usart_mode(&self) -> &US_CR_USART_MODE
0x00 - Control Register
sourcepub fn us_mr_spi_mode(&self) -> &US_MR_SPI_MODE
pub fn us_mr_spi_mode(&self) -> &US_MR_SPI_MODE
0x04 - Mode Register
sourcepub fn us_mr_usart_mode(&self) -> &US_MR_USART_MODE
pub fn us_mr_usart_mode(&self) -> &US_MR_USART_MODE
0x04 - Mode Register
sourcepub fn us_ier_lon_mode(&self) -> &US_IER_LON_MODE
pub fn us_ier_lon_mode(&self) -> &US_IER_LON_MODE
0x08 - Interrupt Enable Register
sourcepub fn us_ier_lin_mode(&self) -> &US_IER_LIN_MODE
pub fn us_ier_lin_mode(&self) -> &US_IER_LIN_MODE
0x08 - Interrupt Enable Register
sourcepub fn us_ier_spi_mode(&self) -> &US_IER_SPI_MODE
pub fn us_ier_spi_mode(&self) -> &US_IER_SPI_MODE
0x08 - Interrupt Enable Register
sourcepub fn us_ier_usart_mode(&self) -> &US_IER_USART_MODE
pub fn us_ier_usart_mode(&self) -> &US_IER_USART_MODE
0x08 - Interrupt Enable Register
sourcepub fn us_idr_lon_mode(&self) -> &US_IDR_LON_MODE
pub fn us_idr_lon_mode(&self) -> &US_IDR_LON_MODE
0x0c - Interrupt Disable Register
sourcepub fn us_idr_lin_mode(&self) -> &US_IDR_LIN_MODE
pub fn us_idr_lin_mode(&self) -> &US_IDR_LIN_MODE
0x0c - Interrupt Disable Register
sourcepub fn us_idr_spi_mode(&self) -> &US_IDR_SPI_MODE
pub fn us_idr_spi_mode(&self) -> &US_IDR_SPI_MODE
0x0c - Interrupt Disable Register
sourcepub fn us_idr_usart_mode(&self) -> &US_IDR_USART_MODE
pub fn us_idr_usart_mode(&self) -> &US_IDR_USART_MODE
0x0c - Interrupt Disable Register
sourcepub fn us_imr_lon_mode(&self) -> &US_IMR_LON_MODE
pub fn us_imr_lon_mode(&self) -> &US_IMR_LON_MODE
0x10 - Interrupt Mask Register
sourcepub fn us_imr_lin_mode(&self) -> &US_IMR_LIN_MODE
pub fn us_imr_lin_mode(&self) -> &US_IMR_LIN_MODE
0x10 - Interrupt Mask Register
sourcepub fn us_imr_spi_mode(&self) -> &US_IMR_SPI_MODE
pub fn us_imr_spi_mode(&self) -> &US_IMR_SPI_MODE
0x10 - Interrupt Mask Register
sourcepub fn us_imr_usart_mode(&self) -> &US_IMR_USART_MODE
pub fn us_imr_usart_mode(&self) -> &US_IMR_USART_MODE
0x10 - Interrupt Mask Register
sourcepub fn us_csr_lon_mode(&self) -> &US_CSR_LON_MODE
pub fn us_csr_lon_mode(&self) -> &US_CSR_LON_MODE
0x14 - Channel Status Register
sourcepub fn us_csr_lin_mode(&self) -> &US_CSR_LIN_MODE
pub fn us_csr_lin_mode(&self) -> &US_CSR_LIN_MODE
0x14 - Channel Status Register
sourcepub fn us_csr_spi_mode(&self) -> &US_CSR_SPI_MODE
pub fn us_csr_spi_mode(&self) -> &US_CSR_SPI_MODE
0x14 - Channel Status Register
sourcepub fn us_csr_usart_mode(&self) -> &US_CSR_USART_MODE
pub fn us_csr_usart_mode(&self) -> &US_CSR_USART_MODE
0x14 - Channel Status Register
sourcepub fn us_ttgr_lon_mode(&self) -> &US_TTGR_LON_MODE
pub fn us_ttgr_lon_mode(&self) -> &US_TTGR_LON_MODE
0x28 - Transmitter Timeguard Register
sourcepub fn us_ttgr_usart_mode(&self) -> &US_TTGR_USART_MODE
pub fn us_ttgr_usart_mode(&self) -> &US_TTGR_USART_MODE
0x28 - Transmitter Timeguard Register
sourcepub fn us_fidi_lon_mode(&self) -> &US_FIDI_LON_MODE
pub fn us_fidi_lon_mode(&self) -> &US_FIDI_LON_MODE
0x40 - FI DI Ratio Register
sourcepub fn us_fidi_usart_mode(&self) -> &US_FIDI_USART_MODE
pub fn us_fidi_usart_mode(&self) -> &US_FIDI_USART_MODE
0x40 - FI DI Ratio Register