Struct atsam4lc4a_pac::USART0 [−][src]
Universal Synchronous Asynchronous Receiver Transmitter 0
Implementations
impl USART0
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Methods from Deref<Target = RegisterBlock>
pub fn cr_usart(&self) -> &CR_USART
[src]
0x00 - Control Register
pub fn cr_usart_mut(&self) -> &mut CR_USART
[src]
0x00 - Control Register
pub fn cr_spi(&self) -> &CR_SPI
[src]
0x00 - Control Register
pub fn cr_spi_mut(&self) -> &mut CR_SPI
[src]
0x00 - Control Register
pub fn cr_lin(&self) -> &CR_LIN
[src]
0x00 - Control Register
pub fn cr_lin_mut(&self) -> &mut CR_LIN
[src]
0x00 - Control Register
pub fn mr(&self) -> &MR
[src]
0x04 - Mode Register
pub fn mr_mut(&self) -> &mut MR
[src]
0x04 - Mode Register
pub fn mr_spi(&self) -> &MR_SPI
[src]
0x04 - Mode Register
pub fn mr_spi_mut(&self) -> &mut MR_SPI
[src]
0x04 - Mode Register
pub fn ier_usart(&self) -> &IER_USART
[src]
0x08 - Interrupt Enable Register
pub fn ier_usart_mut(&self) -> &mut IER_USART
[src]
0x08 - Interrupt Enable Register
pub fn ier_spi(&self) -> &IER_SPI
[src]
0x08 - Interrupt Enable Register
pub fn ier_spi_mut(&self) -> &mut IER_SPI
[src]
0x08 - Interrupt Enable Register
pub fn ier_lin(&self) -> &IER_LIN
[src]
0x08 - Interrupt Enable Register
pub fn ier_lin_mut(&self) -> &mut IER_LIN
[src]
0x08 - Interrupt Enable Register
pub fn idr_usart(&self) -> &IDR_USART
[src]
0x0c - Interrupt Disable Register
pub fn idr_usart_mut(&self) -> &mut IDR_USART
[src]
0x0c - Interrupt Disable Register
pub fn idr_spi(&self) -> &IDR_SPI
[src]
0x0c - Interrupt Disable Register
pub fn idr_spi_mut(&self) -> &mut IDR_SPI
[src]
0x0c - Interrupt Disable Register
pub fn idr_lin(&self) -> &IDR_LIN
[src]
0x0c - Interrupt Disable Register
pub fn idr_lin_mut(&self) -> &mut IDR_LIN
[src]
0x0c - Interrupt Disable Register
pub fn imr_usart(&self) -> &IMR_USART
[src]
0x10 - Interrupt Mask Register
pub fn imr_usart_mut(&self) -> &mut IMR_USART
[src]
0x10 - Interrupt Mask Register
pub fn mr_usart(&self) -> &MR_USART
[src]
0x10 - Interrupt Mask Register
pub fn mr_usart_mut(&self) -> &mut MR_USART
[src]
0x10 - Interrupt Mask Register
pub fn imr_lin(&self) -> &IMR_LIN
[src]
0x10 - Interrupt Mask Register
pub fn imr_lin_mut(&self) -> &mut IMR_LIN
[src]
0x10 - Interrupt Mask Register
pub fn csr_usart(&self) -> &CSR_USART
[src]
0x14 - Channel Status Register
pub fn csr_usart_mut(&self) -> &mut CSR_USART
[src]
0x14 - Channel Status Register
pub fn csr_spi(&self) -> &CSR_SPI
[src]
0x14 - Channel Status Register
pub fn csr_spi_mut(&self) -> &mut CSR_SPI
[src]
0x14 - Channel Status Register
pub fn csr_lin(&self) -> &CSR_LIN
[src]
0x14 - Channel Status Register
pub fn csr_lin_mut(&self) -> &mut CSR_LIN
[src]
0x14 - Channel Status Register
Trait Implementations
impl Deref for USART0
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Send for USART0
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,