VSF Documented
Macros | Functions
driver.c File Reference
#include "hal/vsf_hal_cfg.h"
#include "./device.h"
#include "./driver.h"
#include "service/vsf_service.h"
#include "hal/driver/common/usart/vsf_drv_usart_poll_util.h"

Macros

#define VSF_DRIVER_MMU   ENABLED
 

Functions

void * vsf_dma_alloc_noncoherent (uint_fast32_t size)
 
void vsf_dma_free_noncoherent (void *buffer)
 
bool vsf_driver_init (void)
 common hal drivers
 
bool vsf_driver_poll (void)
 driver polling service for f1c100s
 

Macro Definition Documentation

◆ VSF_DRIVER_MMU

#define VSF_DRIVER_MMU   ENABLED
Note
include usart poll util header file

Function Documentation

◆ vsf_dma_alloc_noncoherent()

void * vsf_dma_alloc_noncoherent ( uint_fast32_t  size)

◆ vsf_dma_free_noncoherent()

void vsf_dma_free_noncoherent ( void *  buffer)

◆ vsf_driver_init()

bool vsf_driver_init ( void  )

common hal drivers

Note
initialize device driver
Parameters
none
Return values
trueinitialization succeeded.
falseinitialization failed

initialise interrupt controller;

◆ vsf_driver_poll()

bool vsf_driver_poll ( void  )

driver polling service for f1c100s

Parameters
none
Return values
trueit is safe to enter sleep mode
falsepolling work is on going, please keep calling the function
Note
example about how to put poll functions for each instance of peripherals ! even if the function doesn't exist, the compilation would not be ! affected as long as the corresponding macro ! VSF_HAL_DRV_CFG_XXXX_POLL_MODE_EN is set to DISABLED, i.e. 0