VSF Documented
|
#include "hal/driver/driver.h"
Macros | |
#define | VSF_I2S_CFG_FUNCTION_RENAME DISABLED |
Functions | |
vsf_err_t | vsf_i2s_init (vsf_i2s_t *i2s_ptr, vsf_i2s_cfg_t *cfg_ptr) |
initialize a i2s instance. | |
vsf_err_t | vsf_i2s_tx_init (vsf_i2s_t *i2s_ptr, vsf_i2s_cfg_t *cfg_ptr) |
initialize i2s tx channel. | |
void | vsf_i2s_tx_fini (vsf_i2s_t *i2s_ptr) |
finalize i2s tx channel. | |
vsf_err_t | vsf_i2s_tx_start (vsf_i2s_t *i2s_ptr) |
start i2s tx channel. | |
vsf_err_t | vsf_i2s_rx_init (vsf_i2s_t *i2s_ptr, vsf_i2s_cfg_t *cfg_ptr) |
initialize i2s rx channel. | |
void | vsf_i2s_rx_fini (vsf_i2s_t *i2s_ptr) |
finalize i2s rx channel. | |
vsf_err_t | vsf_i2s_rx_start (vsf_i2s_t *i2s_ptr) |
start i2s rx channel. | |
fsm_rt_t | vsf_i2s_enable (vsf_i2s_t *i2s_ptr) |
enable i2s instance. | |
fsm_rt_t | vsf_i2s_disable (vsf_i2s_t *i2s_ptr) |
disable i2s instance. | |
vsf_i2s_status_t | vsf_i2s_status (vsf_i2s_t *i2s_ptr) |
get the status of i2s instance. | |
vsf_i2s_capability_t | vsf_i2s_capability (vsf_i2s_t *i2s_ptr) |
get the capability of i2s instance. | |
#define VSF_I2S_CFG_FUNCTION_RENAME DISABLED |
vsf_err_t vsf_i2s_init | ( | vsf_i2s_t * | i2s_ptr, |
vsf_i2s_cfg_t * | i2s_cfg | ||
) |
initialize a i2s instance.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
[in] | cfg_ptr | a pointer to structure vsf_i2s_cfg_t |
vsf_err_t vsf_i2s_tx_init | ( | vsf_i2s_t * | i2s_ptr, |
vsf_i2s_cfg_t * | i2s_cfg | ||
) |
initialize i2s tx channel.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
[in] | cfg_ptr | a pointer to structure vsf_i2s_cfg_t |
void vsf_i2s_tx_fini | ( | vsf_i2s_t * | i2s_ptr | ) |
start i2s tx channel.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
vsf_err_t vsf_i2s_rx_init | ( | vsf_i2s_t * | i2s_ptr, |
vsf_i2s_cfg_t * | i2s_cfg | ||
) |
initialize i2s rx channel.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
[in] | cfg_ptr | a pointer to structure vsf_i2s_cfg_t |
void vsf_i2s_rx_fini | ( | vsf_i2s_t * | i2s_ptr | ) |
start i2s rx channel.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
enable i2s instance.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
disable i2s instance.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
vsf_i2s_status_t vsf_i2s_status | ( | vsf_i2s_t * | i2s_ptr | ) |
get the status of i2s instance.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |
vsf_i2s_capability_t vsf_i2s_capability | ( | vsf_i2s_t * | i2s_ptr | ) |
get the capability of i2s instance.
[in] | i2s_ptr | a pointer to structure vsf_i2s_t |