VSF Documented
Macros | Typedefs | Enumerations | Functions
common.h File Reference
#include "hal/vsf_hal_cfg.h"
#include "hal/arch/vsf_arch.h"

Go to the source code of this file.

Macros

#define SWI0_IRQn   Interrupt23_IRQn
 
#define SWI1_IRQn   Interrupt24_IRQn
 
#define SWI2_IRQn   Interrupt25_IRQn
 
#define SWI3_IRQn   Interrupt26_IRQn
 
#define SWI4_IRQn   Interrupt27_IRQn
 
#define SWI5_IRQn   Interrupt28_IRQn
 
#define SWI6_IRQn   Interrupt29_IRQn
 
#define SWI7_IRQn   Interrupt30_IRQn
 
#define SWI8_IRQn   Interrupt31_IRQn
 
#define SWI9_IRQn   Interrupt32_IRQn
 
#define SWI10_IRQn   Interrupt33_IRQn
 
#define SWI11_IRQn   Interrupt34_IRQn
 
#define SWI12_IRQn   Interrupt35_IRQn
 
#define SWI13_IRQn   Interrupt36_IRQn
 
#define SWI14_IRQn   Interrupt37_IRQn
 
#define SWI15_IRQn   Interrupt38_IRQn
 
#define SWI16_IRQn   Interrupt39_IRQn
 
#define SWI17_IRQn   Interrupt40_IRQn
 
#define SWI18_IRQn   Interrupt41_IRQn
 
#define SWI19_IRQn   Interrupt42_IRQn
 
#define SWI20_IRQn   Interrupt43_IRQn
 
#define SWI21_IRQn   Interrupt44_IRQn
 
#define SWI22_IRQn   Interrupt45_IRQn
 
#define SWI23_IRQn   Interrupt80_IRQn
 
#define SWI24_IRQn   Interrupt81_IRQn
 
#define SWI25_IRQn   Interrupt83_IRQn
 
#define SWI26_IRQn   Interrupt87_IRQn
 
#define SWI27_IRQn   Interrupt88_IRQn
 
#define SWI28_IRQn   Interrupt97_IRQn
 
#define VSF_HW_CLKRST_REGION(__WORD_OFFSET, __BIT_OFFSET, __BIT_LENGTH)    (((__WORD_OFFSET) << 16) | ((__BIT_LENGTH) << 8) | ((__BIT_OFFSET) << 0))
 
#define vsf_hw_peripheral_rst_set   vsf_hw_clkrst_region_set_bit
 
#define vsf_hw_peripheral_rst_clear   vsf_hw_clkrst_region_clear_bit
 
#define vsf_hw_peripheral_rst_get   vsf_hw_clkrst_region_get_bit
 
#define vsf_hw_peripheral_enable   vsf_hw_clkrst_region_set_bit
 
#define vsf_hw_peripheral_disable   vsf_hw_clkrst_region_clear_bit
 

Typedefs

typedef enum vsf_hw_peripheral_rst_t vsf_hw_peripheral_rst_t
 
typedef enum vsf_hw_peripheral_en_t vsf_hw_peripheral_en_t
 
typedef struct vsf_hw_clk_t vsf_hw_clk_t
 

Enumerations

enum  vsf_hw_peripheral_rst_t
 
enum  vsf_hw_peripheral_en_t
 

Functions

void vsf_hw_clkrst_region_set_bit (uint32_t region)
 
void vsf_hw_clkrst_region_clear_bit (uint32_t region)
 
uint_fast8_t vsf_hw_clkrst_region_get_bit (uint32_t region)
 

Macro Definition Documentation

◆ SWI0_IRQn

#define SWI0_IRQn   Interrupt23_IRQn

◆ SWI1_IRQn

#define SWI1_IRQn   Interrupt24_IRQn

◆ SWI2_IRQn

#define SWI2_IRQn   Interrupt25_IRQn

◆ SWI3_IRQn

#define SWI3_IRQn   Interrupt26_IRQn

◆ SWI4_IRQn

#define SWI4_IRQn   Interrupt27_IRQn

◆ SWI5_IRQn

#define SWI5_IRQn   Interrupt28_IRQn

◆ SWI6_IRQn

#define SWI6_IRQn   Interrupt29_IRQn

◆ SWI7_IRQn

#define SWI7_IRQn   Interrupt30_IRQn

◆ SWI8_IRQn

#define SWI8_IRQn   Interrupt31_IRQn

◆ SWI9_IRQn

#define SWI9_IRQn   Interrupt32_IRQn

◆ SWI10_IRQn

#define SWI10_IRQn   Interrupt33_IRQn

◆ SWI11_IRQn

#define SWI11_IRQn   Interrupt34_IRQn

◆ SWI12_IRQn

#define SWI12_IRQn   Interrupt35_IRQn

◆ SWI13_IRQn

#define SWI13_IRQn   Interrupt36_IRQn

◆ SWI14_IRQn

#define SWI14_IRQn   Interrupt37_IRQn

◆ SWI15_IRQn

#define SWI15_IRQn   Interrupt38_IRQn

◆ SWI16_IRQn

#define SWI16_IRQn   Interrupt39_IRQn

◆ SWI17_IRQn

#define SWI17_IRQn   Interrupt40_IRQn

◆ SWI18_IRQn

#define SWI18_IRQn   Interrupt41_IRQn

◆ SWI19_IRQn

#define SWI19_IRQn   Interrupt42_IRQn

◆ SWI20_IRQn

#define SWI20_IRQn   Interrupt43_IRQn

◆ SWI21_IRQn

#define SWI21_IRQn   Interrupt44_IRQn

◆ SWI22_IRQn

#define SWI22_IRQn   Interrupt45_IRQn

◆ SWI23_IRQn

#define SWI23_IRQn   Interrupt80_IRQn

◆ SWI24_IRQn

#define SWI24_IRQn   Interrupt81_IRQn

◆ SWI25_IRQn

#define SWI25_IRQn   Interrupt83_IRQn

◆ SWI26_IRQn

#define SWI26_IRQn   Interrupt87_IRQn

◆ SWI27_IRQn

#define SWI27_IRQn   Interrupt88_IRQn

◆ SWI28_IRQn

#define SWI28_IRQn   Interrupt97_IRQn

◆ VSF_HW_CLKRST_REGION

#define VSF_HW_CLKRST_REGION (   __WORD_OFFSET,
  __BIT_OFFSET,
  __BIT_LENGTH 
)     (((__WORD_OFFSET) << 16) | ((__BIT_LENGTH) << 8) | ((__BIT_OFFSET) << 0))

◆ vsf_hw_peripheral_rst_set

#define vsf_hw_peripheral_rst_set   vsf_hw_clkrst_region_set_bit

◆ vsf_hw_peripheral_rst_clear

#define vsf_hw_peripheral_rst_clear   vsf_hw_clkrst_region_clear_bit

◆ vsf_hw_peripheral_rst_get

#define vsf_hw_peripheral_rst_get   vsf_hw_clkrst_region_get_bit

◆ vsf_hw_peripheral_enable

#define vsf_hw_peripheral_enable   vsf_hw_clkrst_region_set_bit

◆ vsf_hw_peripheral_disable

#define vsf_hw_peripheral_disable   vsf_hw_clkrst_region_clear_bit

Typedef Documentation

◆ vsf_hw_peripheral_rst_t

◆ vsf_hw_peripheral_en_t

◆ vsf_hw_clk_t

typedef struct vsf_hw_clk_t vsf_hw_clk_t

Enumeration Type Documentation

◆ vsf_hw_peripheral_rst_t

◆ vsf_hw_peripheral_en_t

Function Documentation

◆ vsf_hw_clkrst_region_set_bit()

void vsf_hw_clkrst_region_set_bit ( uint32_t  region)
extern

◆ vsf_hw_clkrst_region_clear_bit()

void vsf_hw_clkrst_region_clear_bit ( uint32_t  region)
extern

◆ vsf_hw_clkrst_region_get_bit()

uint_fast8_t vsf_hw_clkrst_region_get_bit ( uint32_t  region)
extern