[−][src]Struct atsamd21g18a::SERCOM0
Serial Communication Interface 0
Implementations
impl SERCOM0
[src]
pub const 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 Deref for SERCOM0
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Send for SERCOM0
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
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<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,