Struct atsam4lc8a_pac::USART1
source · pub struct USART1 { /* private fields */ }
Expand description
Universal Synchronous Asynchronous Receiver Transmitter 1
Implementations§
Methods from Deref<Target = RegisterBlock>§
sourcepub fn usart_mode_cr_usart(&self) -> &USART_MODE_CR_USART
pub fn usart_mode_cr_usart(&self) -> &USART_MODE_CR_USART
0x00 - Control Register
sourcepub fn spi_master_mode_cr_spi(&self) -> &SPI_MASTER_MODE_CR_SPI
pub fn spi_master_mode_cr_spi(&self) -> &SPI_MASTER_MODE_CR_SPI
0x00 - Control Register
sourcepub fn lin_mode_cr_lin(&self) -> &LIN_MODE_CR_LIN
pub fn lin_mode_cr_lin(&self) -> &LIN_MODE_CR_LIN
0x00 - Control Register
sourcepub fn usart_mode_mr(&self) -> &USART_MODE_MR
pub fn usart_mode_mr(&self) -> &USART_MODE_MR
0x04 - Mode Register
sourcepub fn spi_mode_mr_spi(&self) -> &SPI_MODE_MR_SPI
pub fn spi_mode_mr_spi(&self) -> &SPI_MODE_MR_SPI
0x04 - Mode Register
sourcepub fn usart_mode_ier_usart(&self) -> &USART_MODE_IER_USART
pub fn usart_mode_ier_usart(&self) -> &USART_MODE_IER_USART
0x08 - Interrupt Enable Register
sourcepub fn spi_slave_mode_ier_spi(&self) -> &SPI_SLAVE_MODE_IER_SPI
pub fn spi_slave_mode_ier_spi(&self) -> &SPI_SLAVE_MODE_IER_SPI
0x08 - Interrupt Enable Register
sourcepub fn lin_mode_ier_lin(&self) -> &LIN_MODE_IER_LIN
pub fn lin_mode_ier_lin(&self) -> &LIN_MODE_IER_LIN
0x08 - Interrupt Enable Register
sourcepub fn usart_mode_idr_usart(&self) -> &USART_MODE_IDR_USART
pub fn usart_mode_idr_usart(&self) -> &USART_MODE_IDR_USART
0x0c - Interrupt Disable Register
sourcepub fn spi_slave_mode_idr_spi(&self) -> &SPI_SLAVE_MODE_IDR_SPI
pub fn spi_slave_mode_idr_spi(&self) -> &SPI_SLAVE_MODE_IDR_SPI
0x0c - Interrupt Disable Register
sourcepub fn lin_mode_idr_lin(&self) -> &LIN_MODE_IDR_LIN
pub fn lin_mode_idr_lin(&self) -> &LIN_MODE_IDR_LIN
0x0c - Interrupt Disable Register
sourcepub fn usart_mode_imr_usart(&self) -> &USART_MODE_IMR_USART
pub fn usart_mode_imr_usart(&self) -> &USART_MODE_IMR_USART
0x10 - Interrupt Mask Register
sourcepub fn spi_slave_mode_mr_usart(&self) -> &SPI_SLAVE_MODE_MR_USART
pub fn spi_slave_mode_mr_usart(&self) -> &SPI_SLAVE_MODE_MR_USART
0x10 - Interrupt Mask Register
sourcepub fn lin_mode_imr_lin(&self) -> &LIN_MODE_IMR_LIN
pub fn lin_mode_imr_lin(&self) -> &LIN_MODE_IMR_LIN
0x10 - Interrupt Mask Register
sourcepub fn usart_mode_csr_usart(&self) -> &USART_MODE_CSR_USART
pub fn usart_mode_csr_usart(&self) -> &USART_MODE_CSR_USART
0x14 - Channel Status Register
sourcepub fn spi_slave_mode_csr_spi(&self) -> &SPI_SLAVE_MODE_CSR_SPI
pub fn spi_slave_mode_csr_spi(&self) -> &SPI_SLAVE_MODE_CSR_SPI
0x14 - Channel Status Register
sourcepub fn lin_mode_csr_lin(&self) -> &LIN_MODE_CSR_LIN
pub fn lin_mode_csr_lin(&self) -> &LIN_MODE_CSR_LIN
0x14 - Channel Status Register
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for USART1
impl !Sync for USART1
impl Unpin for USART1
impl UnwindSafe for USART1
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