[]Struct gemma_m0::SERCOM1

pub struct SERCOM1 { /* fields omitted */ }

Serial Communication Interface 1

Methods

impl SERCOM1

pub fn ptr() -> *const RegisterBlock

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn usart(&self) -> &USART

0x00 - USART Mode

pub fn usart_mut(&self) -> &mut USART

0x00 - USART Mode

pub fn spi(&self) -> &SPI

0x00 - SPI Mode

pub fn spi_mut(&self) -> &mut SPI

0x00 - SPI Mode

pub fn i2cs(&self) -> &I2CS

0x00 - I2C Slave Mode

pub fn i2cs_mut(&self) -> &mut I2CS

0x00 - I2C Slave Mode

pub fn i2cm(&self) -> &I2CM

0x00 - I2C Master Mode

pub fn i2cm_mut(&self) -> &mut I2CM

0x00 - I2C Master Mode

Trait Implementations

impl Send for SERCOM1

impl Deref for SERCOM1

type Target = RegisterBlock

The resulting type after dereferencing.

Auto Trait Implementations

impl !Sync for SERCOM1

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same for T

type Output = T

Should always be Self