VSF Documented
|
#include "../driver.h"
#include "hal/vsf_hal.h"
#include "../vendor/plf/aic8800/src/driver/sysctrl/reg_sysctrl.h"
#include "../vendor/plf/aic8800/src/driver/sysctrl/sysctrl_api.h"
#include "../vendor/plf/aic8800/src/driver/iomux/reg_iomux.h"
#include "../vendor/plf/aic8800/src/driver/sdmmc/reg_sdmmc.h"
#include "../vendor/plf/aic8800/src/driver/dma/dma_generic.h"
#include "hal/driver/common/sdio/sdio_template.inc"
Data Structures | |
struct | vsf_hw_sdio_const_t |
struct | vsf_hw_sdio_t |
Macros | |
#define | VSF_HW_SDIO_CFG_MULTI_CLASS VSF_SDIO_CFG_MULTI_CLASS |
#define | DATARD_TRIG_TH 4 |
#define | DATAWR_TRIG_TH 4 |
#define | VSF_SDIO_CFG_REIMPLEMENT_API_CAPABILITY ENABLED |
#define | VSF_SDIO_CFG_IMP_PREFIX vsf_hw |
#define | VSF_SDIO_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define | VSF_SDIO_CFG_IMP_LV0(__IDX, __HAL_OP) |
Typedefs | |
typedef struct vsf_hw_sdio_const_t | vsf_hw_sdio_const_t |
typedef struct vsf_hw_sdio_t | vsf_hw_sdio_t |
Functions | |
vsf_err_t | vsf_hw_sdio_init (vsf_hw_sdio_t *sdio_ptr, vsf_sdio_cfg_t *cfg_ptr) |
void | vsf_hw_sdio_fini (vsf_hw_sdio_t *sdio_ptr) |
void | vsf_hw_sdio_irq_enable (vsf_hw_sdio_t *sdio_ptr, vsf_sdio_irq_mask_t irq_mask) |
void | vsf_hw_sdio_irq_disable (vsf_hw_sdio_t *sdio_ptr, vsf_sdio_irq_mask_t irq_mask) |
vsf_sdio_status_t | vsf_hw_sdio_status (vsf_hw_sdio_t *sdio_ptr) |
vsf_sdio_capability_t | vsf_hw_sdio_capability (vsf_hw_sdio_t *sdio_ptr) |
vsf_err_t | vsf_hw_sdio_set_clock (vsf_hw_sdio_t *sdio_ptr, uint32_t clock_hz, bool is_ddr) |
vsf_err_t | vsf_hw_sdio_set_bus_width (vsf_hw_sdio_t *sdio_ptr, uint8_t bus_width) |
vsf_err_t | vsf_hw_sdio_host_request (vsf_hw_sdio_t *sdio_ptr, vsf_sdio_req_t *req) |
#define VSF_HW_SDIO_CFG_MULTI_CLASS VSF_SDIO_CFG_MULTI_CLASS |
#define DATARD_TRIG_TH 4 |
#define DATAWR_TRIG_TH 4 |
#define VSF_SDIO_CFG_REIMPLEMENT_API_CAPABILITY ENABLED |
#define VSF_SDIO_CFG_IMP_PREFIX vsf_hw |
#define VSF_SDIO_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define VSF_SDIO_CFG_IMP_LV0 | ( | __IDX, | |
__HAL_OP | |||
) |
typedef struct vsf_hw_sdio_const_t vsf_hw_sdio_const_t |
typedef struct vsf_hw_sdio_t vsf_hw_sdio_t |
vsf_err_t vsf_hw_sdio_init | ( | vsf_hw_sdio_t * | sdio_ptr, |
vsf_sdio_cfg_t * | cfg_ptr | ||
) |
void vsf_hw_sdio_fini | ( | vsf_hw_sdio_t * | sdio_ptr | ) |
void vsf_hw_sdio_irq_enable | ( | vsf_hw_sdio_t * | sdio_ptr, |
vsf_sdio_irq_mask_t | irq_mask | ||
) |
void vsf_hw_sdio_irq_disable | ( | vsf_hw_sdio_t * | sdio_ptr, |
vsf_sdio_irq_mask_t | irq_mask | ||
) |
vsf_sdio_status_t vsf_hw_sdio_status | ( | vsf_hw_sdio_t * | sdio_ptr | ) |
vsf_sdio_capability_t vsf_hw_sdio_capability | ( | vsf_hw_sdio_t * | sdio_ptr | ) |
vsf_err_t vsf_hw_sdio_set_clock | ( | vsf_hw_sdio_t * | sdio_ptr, |
uint32_t | clock_hz, | ||
bool | is_ddr | ||
) |
vsf_err_t vsf_hw_sdio_set_bus_width | ( | vsf_hw_sdio_t * | sdio_ptr, |
uint8_t | bus_width | ||
) |
vsf_err_t vsf_hw_sdio_host_request | ( | vsf_hw_sdio_t * | sdio_ptr, |
vsf_sdio_req_t * | req | ||
) |