VSF Documented
|
#include "./usart.h"
#include "../io/io.h"
#include "../pm/pm.h"
#include "hal/driver/common/usart/usart_template.inc"
Data Structures | |
struct | vsf_hw_usart_const_t |
include the infrastructure More... | |
struct | vsf_hw_usart_t |
Macros | |
#define | VSF_USART_CFG_IMP_PREFIX vsf_hw |
#define | VSF_USART_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define | VSF_USART_CFG_REQUEST_API DISABLED |
#define | VSF_USART_CFG_REIMPLEMENT_API_CAPABILITY DISABLED |
#define | VSF_USART_CFG_REIMPLEMENT_API_REQUEST ENABLED |
#define | VSF_USART_CFG_IMP_LV0(__IDX, __HAL_OP) |
Typedefs | |
typedef struct vsf_hw_usart_const_t | vsf_hw_usart_const_t |
include the infrastructure | |
typedef struct vsf_hw_usart_t | vsf_hw_usart_t |
#define VSF_USART_CFG_IMP_PREFIX vsf_hw |
#define VSF_USART_CFG_IMP_UPCASE_PREFIX VSF_HW |
#define VSF_USART_CFG_REQUEST_API DISABLED |
#define VSF_USART_CFG_REIMPLEMENT_API_CAPABILITY DISABLED |
#define VSF_USART_CFG_REIMPLEMENT_API_REQUEST ENABLED |
#define VSF_USART_CFG_IMP_LV0 | ( | __IDX, | |
__HAL_OP | |||
) |
typedef struct vsf_hw_usart_const_t vsf_hw_usart_const_t |
include the infrastructure
typedef struct vsf_hw_usart_t vsf_hw_usart_t |
vsf_err_t vsf_hw_usart_init | ( | vsf_hw_usart_t * | usart_ptr, |
vsf_usart_cfg_t * | cfg_ptr | ||
) |
fsm_rt_t vsf_hw_usart_enable | ( | vsf_hw_usart_t * | usart_ptr | ) |
fsm_rt_t vsf_hw_usart_disable | ( | vsf_hw_usart_t * | usart_ptr | ) |
vsf_usart_status_t vsf_hw_usart_status | ( | vsf_hw_usart_t * | usart_ptr | ) |
uint_fast16_t vsf_hw_usart_rxfifo_get_data_count | ( | vsf_hw_usart_t * | usart_ptr | ) |
uint_fast16_t vsf_hw_usart_rxfifo_read | ( | vsf_hw_usart_t * | usart_ptr, |
void * | buffer_ptr, | ||
uint_fast16_t | count | ||
) |
uint_fast16_t vsf_hw_usart_txfifo_get_free_count | ( | vsf_hw_usart_t * | usart_ptr | ) |
uint_fast16_t vsf_hw_usart_txfifo_write | ( | vsf_hw_usart_t * | usart_ptr, |
void * | buffer_ptr, | ||
uint_fast16_t | count | ||
) |
bool vsf_hw_usart_fifo_flush | ( | vsf_hw_usart_t * | usart_ptr | ) |
void vsf_hw_usart_irq_enable | ( | vsf_hw_usart_t * | usart_ptr, |
vsf_usart_irq_mask_t | irq_mask | ||
) |
void vsf_hw_usart_irq_disable | ( | vsf_hw_usart_t * | usart_ptr, |
vsf_usart_irq_mask_t | irq_mask | ||
) |
vsf_err_t vsf_hw_usart_request_rx | ( | vsf_hw_usart_t * | usart_ptr, |
void * | buffer_ptr, | ||
uint_fast32_t | count | ||
) |
vsf_err_t vsf_hw_usart_request_tx | ( | vsf_hw_usart_t * | usart_ptr, |
void * | buffer_ptr, | ||
uint_fast32_t | count | ||
) |