Struct atsam4ls4a_pac::USART3
source · [−]pub struct USART3 { /* private fields */ }
Expand description
Universal Synchronous Asynchronous Receiver Transmitter 3
Implementations
sourceimpl USART3
impl USART3
sourcepub const PTR: *const RegisterBlock = {0x40030000 as *const usart0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40030000 as *const usart0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>
sourcepub fn usart_mode_cr_usart(&self) -> &Reg<USART_MODE_CR_USART_SPEC>
pub fn usart_mode_cr_usart(&self) -> &Reg<USART_MODE_CR_USART_SPEC>
0x00 - Control Register
sourcepub fn spi_master_mode_cr_spi(&self) -> &Reg<SPI_MASTER_MODE_CR_SPI_SPEC>
pub fn spi_master_mode_cr_spi(&self) -> &Reg<SPI_MASTER_MODE_CR_SPI_SPEC>
0x00 - Control Register
sourcepub fn lin_mode_cr_lin(&self) -> &Reg<LIN_MODE_CR_LIN_SPEC>
pub fn lin_mode_cr_lin(&self) -> &Reg<LIN_MODE_CR_LIN_SPEC>
0x00 - Control Register
sourcepub fn usart_mode_mr(&self) -> &Reg<USART_MODE_MR_SPEC>
pub fn usart_mode_mr(&self) -> &Reg<USART_MODE_MR_SPEC>
0x04 - Mode Register
sourcepub fn spi_mode_mr_spi(&self) -> &Reg<SPI_MODE_MR_SPI_SPEC>
pub fn spi_mode_mr_spi(&self) -> &Reg<SPI_MODE_MR_SPI_SPEC>
0x04 - Mode Register
sourcepub fn usart_mode_ier_usart(&self) -> &Reg<USART_MODE_IER_USART_SPEC>
pub fn usart_mode_ier_usart(&self) -> &Reg<USART_MODE_IER_USART_SPEC>
0x08 - Interrupt Enable Register
sourcepub fn spi_slave_mode_ier_spi(&self) -> &Reg<SPI_SLAVE_MODE_IER_SPI_SPEC>
pub fn spi_slave_mode_ier_spi(&self) -> &Reg<SPI_SLAVE_MODE_IER_SPI_SPEC>
0x08 - Interrupt Enable Register
sourcepub fn lin_mode_ier_lin(&self) -> &Reg<LIN_MODE_IER_LIN_SPEC>
pub fn lin_mode_ier_lin(&self) -> &Reg<LIN_MODE_IER_LIN_SPEC>
0x08 - Interrupt Enable Register
sourcepub fn usart_mode_idr_usart(&self) -> &Reg<USART_MODE_IDR_USART_SPEC>
pub fn usart_mode_idr_usart(&self) -> &Reg<USART_MODE_IDR_USART_SPEC>
0x0c - Interrupt Disable Register
sourcepub fn spi_slave_mode_idr_spi(&self) -> &Reg<SPI_SLAVE_MODE_IDR_SPI_SPEC>
pub fn spi_slave_mode_idr_spi(&self) -> &Reg<SPI_SLAVE_MODE_IDR_SPI_SPEC>
0x0c - Interrupt Disable Register
sourcepub fn lin_mode_idr_lin(&self) -> &Reg<LIN_MODE_IDR_LIN_SPEC>
pub fn lin_mode_idr_lin(&self) -> &Reg<LIN_MODE_IDR_LIN_SPEC>
0x0c - Interrupt Disable Register
sourcepub fn usart_mode_imr_usart(&self) -> &Reg<USART_MODE_IMR_USART_SPEC>
pub fn usart_mode_imr_usart(&self) -> &Reg<USART_MODE_IMR_USART_SPEC>
0x10 - Interrupt Mask Register
sourcepub fn spi_slave_mode_mr_usart(&self) -> &Reg<SPI_SLAVE_MODE_MR_USART_SPEC>
pub fn spi_slave_mode_mr_usart(&self) -> &Reg<SPI_SLAVE_MODE_MR_USART_SPEC>
0x10 - Interrupt Mask Register
sourcepub fn lin_mode_imr_lin(&self) -> &Reg<LIN_MODE_IMR_LIN_SPEC>
pub fn lin_mode_imr_lin(&self) -> &Reg<LIN_MODE_IMR_LIN_SPEC>
0x10 - Interrupt Mask Register
sourcepub fn usart_mode_csr_usart(&self) -> &Reg<USART_MODE_CSR_USART_SPEC>
pub fn usart_mode_csr_usart(&self) -> &Reg<USART_MODE_CSR_USART_SPEC>
0x14 - Channel Status Register
sourcepub fn spi_slave_mode_csr_spi(&self) -> &Reg<SPI_SLAVE_MODE_CSR_SPI_SPEC>
pub fn spi_slave_mode_csr_spi(&self) -> &Reg<SPI_SLAVE_MODE_CSR_SPI_SPEC>
0x14 - Channel Status Register
sourcepub fn lin_mode_csr_lin(&self) -> &Reg<LIN_MODE_CSR_LIN_SPEC>
pub fn lin_mode_csr_lin(&self) -> &Reg<LIN_MODE_CSR_LIN_SPEC>
0x14 - Channel Status Register
Trait Implementations
sourceimpl Deref for USART3
impl Deref for USART3
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for USART3
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more