|
| static uint32_t | sd_be2le (uint32_t be) |
| |
| static void | sd_convert_data_endian (uint32_t *word, uint32_t word_count) |
| |
| static hpm_stat_t | sd_send_card_status (sd_card_t *card) |
| |
| static hpm_stat_t | sd_send_rca (sd_card_t *card) |
| |
| static hpm_stat_t | sd_send_csd (sd_card_t *card) |
| |
| static hpm_stat_t | sd_switch_function (sd_card_t *card, uint32_t mode, uint32_t group, uint32_t number) |
| |
| static void | sd_decode_scr (sd_card_t *card, uint32_t *raw_scr) |
| |
| static hpm_stat_t | sd_send_scr (sd_card_t *card) |
| |
| static hpm_stat_t | sd_app_cmd_send_cond_op (sd_card_t *card, sd_ocr_t ocr) |
| |
| static hpm_stat_t | sd_send_if_cond (sd_card_t *card) |
| |
| static hpm_stat_t | sd_probe_bus_voltage (sd_card_t *card) |
| |
| static hpm_stat_t | sd_switch_voltage (sd_card_t *card) |
| |
| static void | sd_decode_csd (sd_card_t *card, uint32_t *raw_csd) |
| |
| static void | sd_decode_status (sd_card_t *card, uint32_t *raw_status) |
| |
| static hpm_stat_t | sd_set_bus_width (sd_card_t *card, sdmmc_buswidth_t buswidth) |
| |
| static hpm_stat_t | sd_set_bus_timing (sd_card_t *card, sdmmc_speed_mode_t timing_mode) |
| |
| static hpm_stat_t | sd_check_card_parameters (sd_card_t *card) |
| |
| static hpm_stat_t | sd_app_cmd_set_write_block_erase_count (sd_card_t *card, uint32_t block_count) |
| |
| static hpm_stat_t | sd_error_recovery (sd_card_t *card) |
| |
| static hpm_stat_t | sd_send_cmd (sd_card_t *card, sdmmchost_cmd_t *cmd) |
| |
| static hpm_stat_t | sd_transfer (sd_card_t *card, sdmmchost_xfer_t *content) |
| |
| static hpm_stat_t | sd_all_send_cid (sd_card_t *card) |
| |
| void | sd_card_deinit (sd_card_t *card) |
| |
| hpm_stat_t | sd_host_init (sd_card_t *card) |
| |
| hpm_stat_t | sd_init (sd_card_t *card) |
| |
| void | sd_deinit (sd_card_t *card) |
| |
| hpm_stat_t | sd_card_init (sd_card_t *card) |
| |
| bool | sd_is_card_present (sd_card_t *card) |
| |
| hpm_stat_t | sd_select_card (sd_card_t *card, bool is_selected) |
| |
| hpm_stat_t | sd_read_status (sd_card_t *card) |
| |
| hpm_stat_t | sd_read_blocks (sd_card_t *card, uint8_t *buffer, uint32_t start_block, uint32_t block_count) |
| |
| hpm_stat_t | sd_write_blocks (sd_card_t *card, const uint8_t *buffer, uint32_t start_block, uint32_t block_count) |
| |
| static uint32_t | sd_calculate_erase_timeout (sd_card_t *card, uint32_t start_block, uint32_t block_count) |
| | Calculate SD erase timeout value Refer to SD_Specification_Part1_Physical_Layer_Specification_Version4.20.pdf, section 4.14 for more details. More...
|
| |
| hpm_stat_t | sd_erase_blocks (sd_card_t *card, uint32_t start_block, uint32_t block_count) |
| |
| hpm_stat_t | sd_set_driver_strength (sd_card_t *card, sd_drive_strength_t driver_strength) |
| |
| hpm_stat_t | sd_set_max_current (sd_card_t *card, sd_max_current_t max_current) |
| |
| hpm_stat_t | sd_polling_card_status_busy (sd_card_t *card, uint32_t timeout_ms) |
| |