VSF Documented
|
#include "../driver.h"
#include "hal/vsf_hal.h"
#include "../vendor/plf/aic8800/src/driver/uart/reg_uart1.h"
#include "../vendor/plf/aic8800/src/driver/iomux/reg_iomux.h"
#include "../vendor/plf/aic8800/src/driver/ipc/reg_ipc_comreg.h"
#include "../vendor/plf/aic8800/src/driver/sysctrl/sysctrl_api.h"
#include "hal/driver/common/usart/usart_template.inc"
Data Structures | |
struct | __vsf_hw_usart_const_t |
struct | __vsf_hw_usart_t |
Macros | |
#define | __VSF_HW_USART_CFG_MULTI_CLASS VSF_USART_CFG_MULTI_CLASS |
#define | VSF_HW_USART_CFG_MULTI_CLASS VSF_USART_CFG_MULTI_CLASS |
#define | VSF_USART_CFG_REIMPLEMENT_API_CAPABILITY ENABLED |
#define | VSF_USART_CFG_IMP_PREFIX __vsf_hw |
#define | VSF_USART_CFG_IMP_UPCASE_PREFIX __VSF_HW |
#define | VSF_USART_CFG_IMP_COUNT_MASK_PREFIX VSF_HW |
#define | VSF_USART_CFG_IMP_LV0(__IDX, __HAL_OP) |
#define | VSF_USART_CFG_IMP_PREFIX vsf_hw |
#define | VSF_USART_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define | VSF_USART_CFG_IMP_REMAP_PREFIX vsf_fifo2req |
#define | VSF_USART_CFG_IMP_LV0(__COUNT, __HAL_OP) |
Typedefs | |
typedef struct __vsf_hw_usart_const_t | __vsf_hw_usart_const_t |
typedef struct __vsf_hw_usart_t | __vsf_hw_usart_t |
#define __VSF_HW_USART_CFG_MULTI_CLASS VSF_USART_CFG_MULTI_CLASS |
#define VSF_HW_USART_CFG_MULTI_CLASS VSF_USART_CFG_MULTI_CLASS |
#define VSF_USART_CFG_REIMPLEMENT_API_CAPABILITY ENABLED |
#define VSF_USART_CFG_IMP_PREFIX __vsf_hw |
#define VSF_USART_CFG_IMP_UPCASE_PREFIX __VSF_HW |
#define VSF_USART_CFG_IMP_COUNT_MASK_PREFIX VSF_HW |
#define VSF_USART_CFG_IMP_LV0 | ( | __IDX, | |
__HAL_OP | |||
) |
#define VSF_USART_CFG_IMP_PREFIX vsf_hw |
#define VSF_USART_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define VSF_USART_CFG_IMP_REMAP_PREFIX vsf_fifo2req |
#define VSF_USART_CFG_IMP_LV0 | ( | __COUNT, | |
__HAL_OP | |||
) |
typedef struct __vsf_hw_usart_const_t __vsf_hw_usart_const_t |
typedef struct __vsf_hw_usart_t __vsf_hw_usart_t |
vsf_err_t __vsf_hw_usart_init | ( | __vsf_hw_usart_t * | hw_usart_ptr, |
vsf_usart_cfg_t * | cfg_ptr | ||
) |
void __vsf_hw_usart_fini | ( | __vsf_hw_usart_t * | hw_usart_ptr | ) |
vsf_usart_capability_t __vsf_hw_usart_capability | ( | __vsf_hw_usart_t * | hw_usart_ptr | ) |
fsm_rt_t __vsf_hw_usart_enable | ( | __vsf_hw_usart_t * | hw_usart_ptr | ) |
fsm_rt_t __vsf_hw_usart_disable | ( | __vsf_hw_usart_t * | hw_usart_ptr | ) |
void __vsf_hw_usart_irq_enable | ( | __vsf_hw_usart_t * | hw_usart_ptr, |
vsf_usart_irq_mask_t | irq_mask | ||
) |
void __vsf_hw_usart_irq_disable | ( | __vsf_hw_usart_t * | hw_usart_ptr, |
vsf_usart_irq_mask_t | irq_mask | ||
) |
vsf_usart_status_t __vsf_hw_usart_status | ( | __vsf_hw_usart_t * | hw_usart_ptr | ) |
uint_fast16_t __vsf_hw_usart_rxfifo_get_data_count | ( | __vsf_hw_usart_t * | hw_usart_ptr | ) |
uint_fast16_t __vsf_hw_usart_rxfifo_read | ( | __vsf_hw_usart_t * | hw_usart_ptr, |
void * | buffer_ptr, | ||
uint_fast16_t | count | ||
) |
uint_fast16_t __vsf_hw_usart_txfifo_get_free_count | ( | __vsf_hw_usart_t * | hw_usart_ptr | ) |
uint_fast16_t __vsf_hw_usart_txfifo_write | ( | __vsf_hw_usart_t * | hw_usart_ptr, |
void * | buffer_ptr, | ||
uint_fast16_t | count | ||
) |