[][src]Struct circuit_playground_express::atsamd21g18a::SERCOM1

pub struct SERCOM1 { /* fields omitted */ }

Serial Communication Interface 1

Methods

impl SERCOM1[src]

pub fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn usart(&self) -> &USART[src]

0x00 - USART Mode

pub fn usart_mut(&self) -> &mut USART[src]

0x00 - USART Mode

pub fn spi(&self) -> &SPI[src]

0x00 - SPI Mode

pub fn spi_mut(&self) -> &mut SPI[src]

0x00 - SPI Mode

pub fn i2cs(&self) -> &I2CS[src]

0x00 - I2C Slave Mode

pub fn i2cs_mut(&self) -> &mut I2CS[src]

0x00 - I2C Slave Mode

pub fn i2cm(&self) -> &I2CM[src]

0x00 - I2C Master Mode

pub fn i2cm_mut(&self) -> &mut I2CM[src]

0x00 - I2C Master Mode

Trait Implementations

impl Send for SERCOM1[src]

impl Deref for SERCOM1[src]

type Target = RegisterBlock

The resulting type after dereferencing.

Auto Trait Implementations

impl !Sync for SERCOM1

Blanket Implementations

impl<T> From for T[src]

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> 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, U> Into for T where
    U: From<T>, 
[src]

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]