[−][src]Struct itsybitsy_m0::SERCOM1
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.
fn deref(&self) -> &RegisterBlock
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,