Struct atsam4ls8a_pac::USART2[][src]

pub struct USART2 { /* fields omitted */ }

Universal Synchronous Asynchronous Receiver Transmitter 2

Implementations

impl USART2[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 USART2[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for USART2[src]

Auto Trait Implementations

impl !Sync for USART2

impl Unpin for USART2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.