VSF Documented
usart_interface.h File Reference
#include "hal/vsf_hal_cfg.h"
#include "utilities/ooc_class.h"

Go to the source code of this file.

class: usart_t

vsf_err_t(* Init )(vsf_usart_cfg_t *pCfg)
 
struct { 
 
   void(*   Enable )(vsf_usart_irq_mask_t tEventMask) 
 
   void(*   Disable )(vsf_usart_irq_mask_t tEventMask) 
 
Irq 
 Irq.
 
struct { 
 
   uint_fast16_t(*   Read )(void *pBuffer, uint_fast16_t
      nCount) 
 < read from fifo More...
 
   uint_fast16_t(*   Write )(void *pBuffer, uint_fast16_t
      nCount) 
 flush fifo More...
 
   bool(*   Flush )(void) 
 
FIFO 
 fifo access
 
struct { 
 
   vsf_async_block_access_t   Read 
 
   vsf_async_block_access_t   Write 
 
Block 
 
 def_interface (i_usart_t) union
 

Function Documentation

◆ def_interface()

def_interface ( i_usart_t  )

Variable Documentation

◆ Init

vsf_err_t(* Init) (vsf_usart_cfg_t *pCfg) ( vsf_usart_cfg_t pCfg)

◆ Enable

void(* Enable) (vsf_usart_irq_mask_t tEventMask) ( vsf_usart_irq_mask_t  tEventMask)

◆ Disable

void(* Disable) (vsf_usart_irq_mask_t tEventMask) ( vsf_usart_irq_mask_t  tEventMask)

◆ [struct]

struct { ... } Irq

Irq.

◆ Read

vsf_async_block_access_t Read ( void *  pBuffer,
uint_fast16_t  nCount 
)

< read from fifo

write to fifo

◆ Write

vsf_async_block_access_t Write ( void *  pBuffer,
uint_fast16_t  nCount 
)

flush fifo

◆ Flush

bool(* Flush) (void) ( void  )

◆ [struct]

struct { ... } FIFO

fifo access

◆ [struct]

struct { ... } Block