VSF Documented
|
Data Structures | |
struct | vsf_hw_spi_dma_t |
struct | vsf_hw_spi_t |
Macros | |
#define | SPI_CTL_MODE_MASK |
#define | SPI_SSCTL_MASK |
#define | VSF_SPI_CFG_IMP_PREFIX vsf_hw |
#define | VSF_SPI_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define | VSF_SPI_CFG_IMP_LV0(__IDX, __HAL_OP) |
Typedefs | |
typedef struct vsf_hw_spi_dma_t | vsf_hw_spi_dma_t |
typedef struct vsf_hw_spi_t | vsf_hw_spi_t |
#define SPI_CTL_MODE_MASK |
#define SPI_SSCTL_MASK |
#define VSF_SPI_CFG_IMP_PREFIX vsf_hw |
#define VSF_SPI_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define VSF_SPI_CFG_IMP_LV0 | ( | __IDX, | |
__HAL_OP | |||
) |
typedef struct vsf_hw_spi_dma_t vsf_hw_spi_dma_t |
typedef struct vsf_hw_spi_t vsf_hw_spi_t |
vsf_err_t vsf_hw_spi_init | ( | vsf_hw_spi_t * | spi_ptr, |
vsf_spi_cfg_t * | cfg_ptr | ||
) |
fsm_rt_t vsf_hw_spi_enable | ( | vsf_hw_spi_t * | spi_ptr | ) |
fsm_rt_t vsf_hw_spi_disable | ( | vsf_hw_spi_t * | spi_ptr | ) |
void vsf_hw_spi_irq_enable | ( | vsf_hw_spi_t * | spi_ptr, |
vsf_spi_irq_mask_t | irq_mask | ||
) |
void vsf_hw_spi_irq_disable | ( | vsf_hw_spi_t * | spi_ptr, |
vsf_spi_irq_mask_t | irq_mask | ||
) |
vsf_spi_status_t vsf_hw_spi_status | ( | vsf_hw_spi_t * | spi_ptr | ) |
void vsf_hw_spi_fifo_transfer | ( | vsf_hw_spi_t * | spi_ptr, |
void * | out_buffer_ptr, | ||
uint_fast32_t | out_cnt, | ||
uint_fast32_t * | out_offset_ptr, | ||
void * | in_buffer_ptr, | ||
uint_fast32_t | in_cnt, | ||
uint_fast32_t * | in_offset_ptr | ||
) |
void vsf_hw_spi_cs_active | ( | vsf_hw_spi_t * | spi_ptr, |
uint_fast8_t | index | ||
) |
void vsf_hw_spi_cs_inactive | ( | vsf_hw_spi_t * | spi_ptr, |
uint_fast8_t | index | ||
) |
vsf_err_t vsf_hw_spi_request_transfer | ( | vsf_hw_spi_t * | spi_ptr, |
void * | out_buffer_ptr, | ||
void * | in_buffer_ptr, | ||
uint_fast32_t | count | ||
) |
vsf_err_t vsf_hw_spi_cancel_transfer | ( | vsf_hw_spi_t * | spi_ptr | ) |
int_fast32_t vsf_hw_spi_get_transferred_count | ( | vsf_hw_spi_t * | spi_ptr | ) |