VSF Documented
driver.c File Reference
#include "hal/vsf_hal_cfg.h"
#include "./device.h"
#include "./driver.h"
#include "system.h"
#include "time_api.h"
#include "stdio_uart.h"
#include "sysctrl_api.h"
#include "pmic_api.h"
#include "dbg.h"
#include "hal/driver/common/swi/arm/vsf_swi_template.inc"

Macros

#define __VSF_HW_RNG_INIT(__IDX, __DONT_CARE)
 

Functions

int vsf_hal_pre_startup_init (void)
 
int user_pwrkey_enabled (void)
 
void vsf_arch_reset (void)
 
void vsf_arch_shutdown (void)
 
bool vsf_driver_init (void)
 common hal drivers
 

Variables

int __data_start__ = 0x00100000
 
int _shrbram = 0x00100000
 
int __fast_func_start__ = 0
 
int __fast_func_end__ = 0
 
int __fast_etext = 0
 
int __pavol_text_start__ = 0
 
int __pavol_text_end__ = 0
 
int __pavol_etext = 0
 
syscfg_predefined_t const syscfg_predefined
 

Macro Definition Documentation

◆ __VSF_HW_RNG_INIT

#define __VSF_HW_RNG_INIT ( __IDX,
__DONT_CARE )
Value:
vsf_hw_rng_init(&VSF_MCONNECT(vsf_hw_rng, __IDX));
struct VSF_MCONNECT(VSF_DMA_CFG_IMP_PREFIX, _dma_channel_t)
Definition dma.c:57
vsf_err_t vsf_hw_rng_init(vsf_hw_rng_t *rng)
Definition trng.c:63

Function Documentation

◆ vsf_hal_pre_startup_init()

int vsf_hal_pre_startup_init ( void )

◆ user_pwrkey_enabled()

int user_pwrkey_enabled ( void )

◆ vsf_arch_reset()

void vsf_arch_reset ( void )

◆ vsf_arch_shutdown()

void vsf_arch_shutdown ( void )

◆ vsf_driver_init()

bool vsf_driver_init ( void )

common hal drivers

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

Variable Documentation

◆ __data_start__

int __data_start__ = 0x00100000

◆ _shrbram

int _shrbram = 0x00100000

◆ __fast_func_start__

int __fast_func_start__ = 0

◆ __fast_func_end__

int __fast_func_end__ = 0

◆ __fast_etext

int __fast_etext = 0

◆ __pavol_text_start__

int __pavol_text_start__ = 0

◆ __pavol_text_end__

int __pavol_text_end__ = 0

◆ __pavol_etext

int __pavol_etext = 0

◆ syscfg_predefined

syscfg_predefined_t const syscfg_predefined
Initial value:
= {
.pmic_vrtc09_ldo_off = 0,
}
Generated from commit: vsfteam/vsf@ceb53fd