Hardware Abstraction Layer (HAL)
SDHC (SD Host Controller)

The SHDC HAL implemenation for CAT1 provides implementations for the following weak functions specified by the PDL to make their usage in SDHC HAL driver more flexible by providing user ability to use card detect, write protect, pwr en, and io select signals on custom pins instead of dedicated SDHC block pins.

By default, if the timeout_ms parameter given to cyhal_sdhc_erase function is 0. The SDHC HAL driver will check to see if the connected card is emmc. If so, the timeout_ms parameter will be set to 100 milliseconds, otherwise it will be set to 1000 milliseconds.