18#ifndef __HAL_DRIVER_SIFLI_SF32LB52X_COMMON_H__
19#define __HAL_DRIVER_SIFLI_SF32LB52X_COMMON_H__
30#define SWI0_IRQn Interrupt23_IRQn
31#define SWI1_IRQn Interrupt24_IRQn
32#define SWI2_IRQn Interrupt25_IRQn
33#define SWI3_IRQn Interrupt26_IRQn
34#define SWI4_IRQn Interrupt27_IRQn
35#define SWI5_IRQn Interrupt28_IRQn
36#define SWI6_IRQn Interrupt29_IRQn
37#define SWI7_IRQn Interrupt30_IRQn
38#define SWI8_IRQn Interrupt31_IRQn
39#define SWI9_IRQn Interrupt32_IRQn
40#define SWI10_IRQn Interrupt33_IRQn
41#define SWI11_IRQn Interrupt34_IRQn
42#define SWI12_IRQn Interrupt35_IRQn
43#define SWI13_IRQn Interrupt36_IRQn
44#define SWI14_IRQn Interrupt37_IRQn
45#define SWI15_IRQn Interrupt38_IRQn
46#define SWI16_IRQn Interrupt39_IRQn
47#define SWI17_IRQn Interrupt40_IRQn
48#define SWI18_IRQn Interrupt41_IRQn
49#define SWI19_IRQn Interrupt42_IRQn
50#define SWI20_IRQn Interrupt43_IRQn
51#define SWI21_IRQn Interrupt44_IRQn
52#define SWI22_IRQn Interrupt45_IRQn
53#define SWI23_IRQn Interrupt80_IRQn
54#define SWI24_IRQn Interrupt81_IRQn
55#define SWI25_IRQn Interrupt83_IRQn
56#define SWI26_IRQn Interrupt87_IRQn
57#define SWI27_IRQn Interrupt88_IRQn
58#define SWI28_IRQn Interrupt97_IRQn
62#define VSF_HW_CLKRST_REGION(__WORD_OFFSET, __BIT_OFFSET, __BIT_LENGTH) \
63 (((__WORD_OFFSET) << 16) | ((__BIT_LENGTH) << 8) | ((__BIT_OFFSET) << 0))
67#define vsf_hw_peripheral_rst_set vsf_hw_clkrst_region_set_bit
68#define vsf_hw_peripheral_rst_clear vsf_hw_clkrst_region_clear_bit
69#define vsf_hw_peripheral_rst_get vsf_hw_clkrst_region_get_bit
71#define vsf_hw_peripheral_enable vsf_hw_clkrst_region_set_bit
72#define vsf_hw_peripheral_disable vsf_hw_clkrst_region_clear_bit
vsf_hw_peripheral_rst_t
Definition common.h:58
@ VSF_HW_RST_SPI2
Definition common.h:117
@ VSF_HW_RST_USART2
Definition common.h:114
@ VSF_HW_RST_I2C2
Definition common.h:109
@ VSF_HW_RST_SPI1
Definition common.h:118
@ VSF_HW_RST_I2C1
Definition common.h:110
@ VSF_HW_RST_TRNG
Definition common.h:70
@ VSF_HW_RST_USART1
Definition common.h:115
@ VSF_HW_RST_CRC
Definition common.h:90
@ VSF_HW_RST_SYSCFG
Definition common.h:169
@ VSF_HW_RST_I2C3
Definition common.h:108
@ VSF_HW_RST_SPI3
Definition common.h:150
#define VSF_HW_CLKRST_REGION(__WORD_OFFSET, __BIT_OFFSET, __BIT_LENGTH)
Definition common.h:32
vsf_hw_peripheral_en_t
Definition common.h:172
@ VSF_HW_EN_SPI2
Definition common.h:243
@ VSF_HW_EN_SPI1
Definition common.h:244
@ VSF_HW_EN_USART2
Definition common.h:240
@ VSF_HW_EN_I2C1
Definition common.h:236
@ VSF_HW_EN_CRC
Definition common.h:215
@ VSF_HW_EN_SPI3
Definition common.h:276
@ VSF_HW_EN_USART1
Definition common.h:241
@ VSF_HW_EN_I2C2
Definition common.h:235
@ VSF_HW_EN_SYSCFG
Definition common.h:295
@ VSF_HW_EN_I2C3
Definition common.h:234
@ VSF_HW_EN_TRNG
Definition common.h:193
@ VSF_HW_RST_USART3
Definition common.h:113
@ VSF_HW_EN_USART3
Definition common.h:229
vsf_hw_peripheral_en_t
Definition common.h:63
vsf_hw_peripheral_rst_t
Definition common.h:76
void vsf_hw_clkrst_region_clear_bit(uint32_t region)
Definition driver.c:518
void vsf_hw_clkrst_region_set_bit(uint32_t region)
Definition driver.c:506
uint_fast8_t vsf_hw_clkrst_region_get_bit(uint32_t region)
Definition driver.c:530
unsigned int uint32_t
Definition lvgl.h:43
unsigned char uint_fast8_t
Definition stdint.h:23