Struct atsam4ls8b_pac::USART3

source ·
pub struct USART3 { /* private fields */ }
Expand description

Universal Synchronous Asynchronous Receiver Transmitter 3

Implementations§

source§

impl USART3

source

pub const PTR: *const RegisterBlock = {0x40030000 as *const usart0::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

pub fn usart_mode_cr_usart(&self) -> &USART_MODE_CR_USART

0x00 - Control Register

source

pub fn spi_master_mode_cr_spi(&self) -> &SPI_MASTER_MODE_CR_SPI

0x00 - Control Register

source

pub fn lin_mode_cr_lin(&self) -> &LIN_MODE_CR_LIN

0x00 - Control Register

source

pub fn usart_mode_mr(&self) -> &USART_MODE_MR

0x04 - Mode Register

source

pub fn spi_mode_mr_spi(&self) -> &SPI_MODE_MR_SPI

0x04 - Mode Register

source

pub fn usart_mode_ier_usart(&self) -> &USART_MODE_IER_USART

0x08 - Interrupt Enable Register

source

pub fn spi_slave_mode_ier_spi(&self) -> &SPI_SLAVE_MODE_IER_SPI

0x08 - Interrupt Enable Register

source

pub fn lin_mode_ier_lin(&self) -> &LIN_MODE_IER_LIN

0x08 - Interrupt Enable Register

source

pub fn usart_mode_idr_usart(&self) -> &USART_MODE_IDR_USART

0x0c - Interrupt Disable Register

source

pub fn spi_slave_mode_idr_spi(&self) -> &SPI_SLAVE_MODE_IDR_SPI

0x0c - Interrupt Disable Register

source

pub fn lin_mode_idr_lin(&self) -> &LIN_MODE_IDR_LIN

0x0c - Interrupt Disable Register

source

pub fn usart_mode_imr_usart(&self) -> &USART_MODE_IMR_USART

0x10 - Interrupt Mask Register

source

pub fn spi_slave_mode_mr_usart(&self) -> &SPI_SLAVE_MODE_MR_USART

0x10 - Interrupt Mask Register

source

pub fn lin_mode_imr_lin(&self) -> &LIN_MODE_IMR_LIN

0x10 - Interrupt Mask Register

source

pub fn usart_mode_csr_usart(&self) -> &USART_MODE_CSR_USART

0x14 - Channel Status Register

source

pub fn spi_slave_mode_csr_spi(&self) -> &SPI_SLAVE_MODE_CSR_SPI

0x14 - Channel Status Register

source

pub fn lin_mode_csr_lin(&self) -> &LIN_MODE_CSR_LIN

0x14 - Channel Status Register

Trait Implementations§

source§

impl Debug for USART3

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for USART3

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for USART3

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.