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 an 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 an I2S instance.
[in] | i2s_ptr | pointer to structure vsf_i2s_t |
[in] | cfg_ptr | pointer to configuration 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 | 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 |