Struct atsam4sa16c_pac::USART0
source · pub struct USART0 { /* private fields */ }
Expand description
Universal Synchronous Asynchronous Receiver Transmitter 0
Implementations§
Methods from Deref<Target = RegisterBlock>§
sourcepub fn spi_mode_cr_spi_mode(&self) -> &SPI_MODE_CR_SPI_MODE
pub fn spi_mode_cr_spi_mode(&self) -> &SPI_MODE_CR_SPI_MODE
0x00 - Control Register
sourcepub fn spi_mode_mr_spi_mode(&self) -> &SPI_MODE_MR_SPI_MODE
pub fn spi_mode_mr_spi_mode(&self) -> &SPI_MODE_MR_SPI_MODE
0x04 - Mode Register
sourcepub fn spi_mode_ier_spi_mode(&self) -> &SPI_MODE_IER_SPI_MODE
pub fn spi_mode_ier_spi_mode(&self) -> &SPI_MODE_IER_SPI_MODE
0x08 - Interrupt Enable Register
sourcepub fn spi_mode_idr_spi_mode(&self) -> &SPI_MODE_IDR_SPI_MODE
pub fn spi_mode_idr_spi_mode(&self) -> &SPI_MODE_IDR_SPI_MODE
0x0c - Interrupt Disable Register
sourcepub fn spi_mode_imr_spi_mode(&self) -> &SPI_MODE_IMR_SPI_MODE
pub fn spi_mode_imr_spi_mode(&self) -> &SPI_MODE_IMR_SPI_MODE
0x10 - Interrupt Mask Register
sourcepub fn spi_mode_csr_spi_mode(&self) -> &SPI_MODE_CSR_SPI_MODE
pub fn spi_mode_csr_spi_mode(&self) -> &SPI_MODE_CSR_SPI_MODE
0x14 - Channel Status Register
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for USART0
impl !Sync for USART0
impl Unpin for USART0
impl UnwindSafe for USART0
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