Re-exports§
pub use atsamd_hal as hal;pub use hal::pac;
Macros§
Structs§
Constants§
- A_
IN0_ ID - DynPinId
for the
AIn0alias. - A_
IN0_ MODE - DynPinMode
for the
AIn0alias. - A_
IN1_ ID - DynPinId
for the
AIn1alias. - A_
IN1_ MODE - DynPinMode
for the
AIn1alias. - A_
IN2_ ID - DynPinId
for the
AIn2alias. - A_
IN2_ MODE - DynPinMode
for the
AIn2alias. - A_
IN3_ ID - DynPinId
for the
AIn3alias. - A_
IN3_ MODE - DynPinMode
for the
AIn3alias. - A_
IN4_ ID - DynPinId
for the
AIn4alias. - A_
IN4_ MODE - DynPinMode
for the
AIn4alias. - BATTERY_
ID - DynPinId
for the
Batteryalias. - BATTERY_
MODE - DynPinMode
for the
Batteryalias. - MISO_ID
- DynPinId
for the
Misoalias. - MISO_
MODE - DynPinMode
for the
Misoalias. - MOSI_ID
- DynPinId
for the
Mosialias. - MOSI_
MODE - DynPinMode
for the
Mosialias. - SCK_ID
- DynPinId
for the
Sckalias. - SCK_
MODE - DynPinMode
for the
Sckalias. - SCL_ID
- DynPinId
for the
Sclalias. - SCL_
MODE - DynPinMode
for the
Sclalias. - SDA_ID
- DynPinId
for the
Sdaalias. - SDA_
MODE - DynPinMode
for the
Sdaalias. - UART_
RX_ ID - DynPinId
for the
UartRxalias. - UART_
RX_ MODE - DynPinMode
for the
UartRxalias. - UART_
TX_ ID - DynPinId
for the
UartTxalias. - UART_
TX_ MODE - DynPinMode
for the
UartTxalias. - USB_
DM_ ID - DynPinId
for the
UsbDmalias. - USB_
DM_ MODE - DynPinMode
for the
UsbDmalias. - USB_
DP_ ID - DynPinId
for the
UsbDpalias. - USB_
DP_ MODE - DynPinMode
for the
UsbDpalias.
Functions§
- i2c_
master - Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
- spi_
master - Convenience function for setting up the D24/SCK, D23/MOSI, and D22/MISO pins as a SPI Master.
- uart
- Convenience for setting up the D0 and D1 pins to
Type Aliases§
- AIn0
- Alias for a configured
Pin - AIn0Id
PinIdfor theAIn0alias- AIn0
Mode PinModefor theAIn0alias- AIn1
- Alias for a configured
Pin - AIn2
- Alias for a configured
Pin - AIn3
- Alias for a configured
Pin - AIn4
- Alias for a configured
Pin - AIn1Id
PinIdfor theAIn1alias- AIn1
Mode PinModefor theAIn1alias- AIn2Id
PinIdfor theAIn2alias- AIn2
Mode PinModefor theAIn2alias- AIn3Id
PinIdfor theAIn3alias- AIn3
Mode PinModefor theAIn3alias- AIn4Id
PinIdfor theAIn4alias- AIn4
Mode PinModefor theAIn4alias- Battery
- Alias for a configured
Pin - Battery
Id PinIdfor theBatteryalias- Battery
Mode PinModefor theBatteryalias- I2C
- I2C master for the labelled SDA & SCL pins
- Miso
- Alias for a configured
Pin - MisoId
PinIdfor theMisoalias- Miso
Mode PinModefor theMisoalias- Mosi
- Alias for a configured
Pin - MosiId
PinIdfor theMosialias- Mosi
Mode PinModefor theMosialias- Sck
- Alias for a configured
Pin - SckId
PinIdfor theSckalias- SckMode
PinModefor theSckalias- Scl
- Alias for a configured
Pin - SclId
PinIdfor theSclalias- SclMode
PinModefor theSclalias- Sda
- Alias for a configured
Pin - SdaId
PinIdfor theSdaalias- SdaMode
PinModefor theSdaalias- Spi
- SPI master for the labelled SPI peripheral
- Uart
- UART device for the labelled RX & TX pins
- Uart
Pads - UART pads
- UartRx
- Alias for a configured
Pin - Uart
RxId PinIdfor theUartRxalias- Uart
RxMode PinModefor theUartRxalias- UartTx
- Alias for a configured
Pin - Uart
TxId PinIdfor theUartTxalias- Uart
TxMode PinModefor theUartTxalias- UsbDm
- Alias for a configured
Pin - UsbDmId
PinIdfor theUsbDmalias- UsbDm
Mode PinModefor theUsbDmalias- UsbDp
- Alias for a configured
Pin - UsbDpId
PinIdfor theUsbDpalias- UsbDp
Mode PinModefor theUsbDpalias