Re-exports§
pub use atsamd_hal as hal;pub use hal::ehal;pub use hal::pac;
Macros§
Structs§
Constants§
- LED_ID
- DynPinId
for the
Ledalias. - LED_
MODE - DynPinMode
for the
Ledalias. - 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.
Functions§
- i2c_
master - Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
- uart
- Convenience for setting up the D1 and D14 pins to operate as UART RX/TX (respectively) running at the specified baud.
Type Aliases§
- I2c
- I2C master for the labelled I2C peripheral
- I2cPads
- I2C pads for the labelled I2C peripheral
- Led
- Alias for a configured
Pin - LedId
PinIdfor theLedalias- LedMode
PinModefor theLedalias- Scl
- Alias for a configured
Pin - SclId
PinIdfor theSclalias- SclMode
PinModefor theSclalias- Sda
- Alias for a configured
Pin - SdaId
PinIdfor theSdaalias- SdaMode
PinModefor theSdaalias- Uart
- UART device for the labelled RX & TX pins
- 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