Module atsamd_hal::sercom
source · [−]Expand description
Configure the SERCOM peripherals
The SERCOM module is used to configure the SERCOM peripherals as USART, SPI or I2C interfaces.
Undocumented features
The ATSAMx5x chips contain certain features that aren’t documented in the datasheet. These features are implemented in the HAL based on experimentation with certain boards which have verifiably demonstrated that those features work as intended.
-
UndocIoSet1
: Implement an undocumentedIoSet
for PA16, PA17, PB22 & PB23 configured forSercom1
. The pygamer & feather_m4 use this combination, but it is not listed as valid in the datasheet. -
UndocIoSet2
: Implement an undocumentedIoSet
for PA00, PA01, PB22 & PB23 configured forSercom1
. The itsybitsy_m4 uses this combination, but it is not listed as valid in the datasheet. -
PB02
is I2C-capable according to metro_m4. As such,PB02
implementsIsI2cPad
. -
PB03
is I2C-capable according to metro_m4. As such,PB03
implementsIsI2cPad
.
Re-exports
pub use pad::*;
Modules
Future
-like interface for SPI transactionsTraits
enum
representing a Serial Communication Interface (SERCOM)