Module mnemos_d1_core::drivers::smhc

source ·
Expand description

Driver for the Allwinner D1’s SMHC peripheral.

The D1 contains three separate SD/MMC Host Controllers: SMHC0, SMHC1 and SMHC2.

  • SMHC0 controls Secure Digital memory devices (SD cards)
  • SMHC1 controls Secure Digital I/O devices (SDIO)
  • SMHC2 controls MultiMedia Card devices (MMC)

Each SMHC also has an internal DMA controller that can be used for offloading the transfer and reception of large amounts of data to/from the device.

Modules§

  • idmac 🔒
    Internal DMA controller

Structs§

Enums§

  • The different errors that can occur in this module.
  • SmhcOp 🔒
  • State 🔒
    SMHC state machine

Statics§