#include "hpm_soc.h"
#include "hpm_sdxc_regs.h"
Go to the source code of this file.
◆ sdxc_enable_inverse_clock()
| static void sdxc_enable_inverse_clock |
( |
SDXC_Type * |
base, |
|
|
bool |
enable |
|
) |
| |
|
inlinestatic |
◆ sdxc_enable_tm_clock()
| static void sdxc_enable_tm_clock |
( |
SDXC_Type * |
base | ) |
|
|
inlinestatic |
Enable TMCLK (for Data timeout detection)
◆ sdxc_get_default_cardclk_delay_chain()
| static uint32_t sdxc_get_default_cardclk_delay_chain |
( |
SDXC_Type * |
base, |
|
|
uint32_t |
clock_freq |
|
) |
| |
|
inlinestatic |
◆ sdxc_get_default_strobe_delay()
| static uint32_t sdxc_get_default_strobe_delay |
( |
SDXC_Type * |
base | ) |
|
|
inlinestatic |
◆ sdxc_is_ddr50_supported()
| static bool sdxc_is_ddr50_supported |
( |
SDXC_Type * |
base | ) |
|
|
inlinestatic |
◆ sdxc_is_inverse_clock_enabled()
| static bool sdxc_is_inverse_clock_enabled |
( |
SDXC_Type * |
base | ) |
|
|
inlinestatic |
◆ sdxc_select_cardclk_delay_source()
| static void sdxc_select_cardclk_delay_source |
( |
SDXC_Type * |
base, |
|
|
bool |
delay_from_pad |
|
) |
| |
|
inlinestatic |
◆ sdxc_set_cardclk_delay_chain()
| static void sdxc_set_cardclk_delay_chain |
( |
SDXC_Type * |
base, |
|
|
uint32_t |
delay_chain |
|
) |
| |
|
inlinestatic |
◆ sdxc_set_data_strobe_delay()
| static void sdxc_set_data_strobe_delay |
( |
SDXC_Type * |
base, |
|
|
uint32_t |
num_delaycells |
|
) |
| |
|
inlinestatic |
◆ sdxc_set_rxclk_delay_chain()
| static void sdxc_set_rxclk_delay_chain |
( |
SDXC_Type * |
base, |
|
|
uint32_t |
num_delaycells |
|
) |
| |
|
inlinestatic |
◆ sdxc_wait_card_active()
| static void sdxc_wait_card_active |
( |
SDXC_Type * |
base | ) |
|
|
inlinestatic |
Wait at least 74 clocks until card is ready to receive the first command.