18#ifndef __HAL_DRIVER_NATIONS_N32H76X_N32H78X_COMMON_H__
19#define __HAL_DRIVER_NATIONS_N32H76X_N32H78X_COMMON_H__
32#define VSF_HW_REG_REGION(__WORD_OFFSET, __BIT_OFFSET, __BIT_LENGTH) \
33 (((__WORD_OFFSET) << 16) | ((__BIT_LENGTH) << 8) | ((__BIT_OFFSET) << 0))
34#define VSF_HW_CLKRST_REGION VSF_HW_REG_REGION
38#define vsf_hw_peripheral_clk_set vsf_hw_clkrst_region_set
39#define vsf_hw_peripheral_clk_get vsf_hw_clkrst_region_get
41#define vsf_hw_peripheral_rst_set vsf_hw_clkrst_region_set_bit
42#define vsf_hw_peripheral_rst_clear vsf_hw_clkrst_region_clear_bit
43#define vsf_hw_peripheral_rst_get vsf_hw_clkrst_region_get_bit
45#define vsf_hw_peripheral_enable vsf_hw_clkrst_region_set_bit
46#define vsf_hw_peripheral_disable vsf_hw_clkrst_region_clear_bit
48#define VSF_SYSTIMER_FREQ vsf_hw_clk_get_freq_hz(&VSF_HW_CLK_SYSTICK)
253#elif defined(CORE_CM7)
287#elif defined(CORE_CM7)
323#elif defined(CORE_CM7)
353#elif defined(CORE_CM7)
371#elif defined(CORE_CM7)
393#elif defined(CORE_CM7)
411#elif defined(CORE_CM7)
435#elif defined(CORE_CM7)
463#elif defined(CORE_CM7)
487#elif defined(CORE_CM7)
519#elif defined(CORE_CM7)
554#elif defined(CORE_CM7)
580#elif defined(CORE_CM7)
604#elif defined(CORE_CM7)
636#elif defined(CORE_CM7)
668#elif defined(CORE_CM7)
698#elif defined(CORE_CM7)
720#elif defined(CORE_CM7)
748#elif defined(CORE_CM7)
782#elif defined(CORE_CM7)
816#elif defined(CORE_CM7)
842#elif defined(CORE_CM7)
870#elif defined(CORE_CM7)
899#elif defined(CORE_CM7)
937#elif defined(CORE_CM7)
957#elif defined(CORE_CM7)
1003#define VSF_HW_CLK_AHB1 VSF_HW_CLK_SYSBUS
1004#define VSF_HW_CLK_AHB2 VSF_HW_CLK_SYSBUS
1005#define VSF_HW_CLK_AHB5 VSF_HW_CLK_SYSBUS
1006#define VSF_HW_CLK_AHB6 VSF_HW_CLK_AXI
1007#define VSF_HW_CLK_AHB9 VSF_HW_CLK_SYSBUS
1016#if VSF_HAL_USE_SDIO == ENABLED
1017# define VSF_HW_CLK_SDMMC1_BUS VSF_HW_CLK_AHB6
1020# define VSF_HW_CLK_SDMMC2_BUS VSF_HW_CLK_AHB1
1024#if VSF_HAL_USE_USART == ENABLED
1026# define VSF_HW_CLK_USART3_4 VSF_HW_CLK_APB1
1027# define VSF_HW_CLK_USART5_6_7_8 VSF_HW_CLK_APB2
1028# define VSF_HW_CLK_UART9_10_11_12 VSF_HW_CLK_APB1
1029# define VSF_HW_CLK_UART13_14_15 VSF_HW_CLK_APB2
1031# define VSF_HW_CLK_USART1 VSF_HW_CLK_USART1_2
1032# define VSF_HW_CLK_USART2 VSF_HW_CLK_USART1_2
1033# define VSF_HW_CLK_USART3 VSF_HW_CLK_USART3_4
1034# define VSF_HW_CLK_USART4 VSF_HW_CLK_USART3_4
1035# define VSF_HW_CLK_USART5 VSF_HW_CLK_USART5_6_7_8
1036# define VSF_HW_CLK_USART6 VSF_HW_CLK_USART5_6_7_8
1037# define VSF_HW_CLK_USART7 VSF_HW_CLK_USART5_6_7_8
1038# define VSF_HW_CLK_USART8 VSF_HW_CLK_USART5_6_7_8
1039# define VSF_HW_CLK_UART9 VSF_HW_CLK_UART9_10_11_12
1040# define VSF_HW_CLK_UART10 VSF_HW_CLK_UART9_10_11_12
1041# define VSF_HW_CLK_UART11 VSF_HW_CLK_UART9_10_11_12
1042# define VSF_HW_CLK_UART12 VSF_HW_CLK_UART9_10_11_12
1043# define VSF_HW_CLK_UART13 VSF_HW_CLK_UART13_14_15
1044# define VSF_HW_CLK_UART14 VSF_HW_CLK_UART13_14_15
1045# define VSF_HW_CLK_UART15 VSF_HW_CLK_UART13_14_15
1048#if VSF_HAL_USE_SPI == ENABLED
1049# define VSF_HW_CLK_SPI1_2 VSF_HW_CLK_APB2
1050# define VSF_HW_CLK_SPI3 VSF_HW_CLK_APB1
1051# define VSF_HW_CLK_SPI4_5_6_7 VSF_HW_CLK_APB5
1053# define VSF_HW_CLK_SPI1 VSF_HW_CLK_SPI1_2
1054# define VSF_HW_CLK_SPI2 VSF_HW_CLK_SPI1_2
1055# define VSF_HW_CLK_SPI4 VSF_HW_CLK_SPI4_5_6_7
1056# define VSF_HW_CLK_SPI5 VSF_HW_CLK_SPI4_5_6_7
1057# define VSF_HW_CLK_SPI6 VSF_HW_CLK_SPI4_5_6_7
1058# define VSF_HW_CLK_SPI7 VSF_HW_CLK_SPI4_5_6_7
1061#if VSF_HAL_USE_USBD == ENABLED || VSF_HAL_USE_USBH == ENABLED
vsf_err_t
Definition __type.h:42
vsf_hw_peripheral_rst_t
Definition common.h:58
@ VSF_HW_RST_SPI5
Definition common.h:144
@ VSF_HW_RST_DMA1
Definition common.h:63
@ VSF_HW_RST_SPI4
Definition common.h:145
@ VSF_HW_RST_SPI2
Definition common.h:117
@ VSF_HW_RST_GPIOJ
Definition common.h:92
@ VSF_HW_RST_GPIOA
Definition common.h:100
@ VSF_HW_RST_GPIOG
Definition common.h:94
@ VSF_HW_RST_USART2
Definition common.h:114
@ VSF_HW_RST_GPIOH
Definition common.h:93
@ VSF_HW_RST_I2C2
Definition common.h:109
@ VSF_HW_RST_MDMA
Definition common.h:83
@ VSF_HW_RST_GPIOE
Definition common.h:96
@ VSF_HW_RST_SPI1
Definition common.h:118
@ VSF_HW_RST_GPIOK
Definition common.h:91
@ VSF_HW_RST_GPIOF
Definition common.h:95
@ VSF_HW_RST_GPIOC
Definition common.h:98
@ VSF_HW_RST_I2C1
Definition common.h:110
@ VSF_HW_RST_GPIOB
Definition common.h:99
@ VSF_HW_RST_USART1
Definition common.h:115
@ VSF_HW_RST_CRC
Definition common.h:90
@ VSF_HW_RST_USART5
Definition common.h:155
@ VSF_HW_RST_GPIOD
Definition common.h:97
@ 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
bool vsf_hw_clk_is_ready(const vsf_hw_clk_t *clk)
Definition driver.c:667
vsf_err_t vsf_hw_clk_config(const vsf_hw_clk_t *clk, const vsf_hw_clk_t *clksrc, uint16_t prescaler, uint32_t freq_hz)
Definition driver.c:675
void vsf_hw_clk_disable(const vsf_hw_clk_t *clk)
Definition driver.c:651
vsf_hw_peripheral_en_t
Definition common.h:172
@ VSF_HW_EN_MDMA
Definition common.h:208
@ VSF_HW_EN_GPIOH
Definition common.h:219
@ 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_SPI4
Definition common.h:271
@ 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_DMA1
Definition common.h:181
@ VSF_HW_EN_USART5
Definition common.h:281
@ VSF_HW_EN_GPIOG
Definition common.h:220
@ VSF_HW_EN_USART1
Definition common.h:241
@ VSF_HW_EN_I2C2
Definition common.h:235
@ VSF_HW_EN_GPIOJ
Definition common.h:218
@ VSF_HW_EN_GPIOK
Definition common.h:217
@ VSF_HW_EN_I2C3
Definition common.h:234
@ VSF_HW_EN_GPIOF
Definition common.h:221
@ VSF_HW_EN_SPI5
Definition common.h:270
bool vsf_hw_clk_is_enabled(const vsf_hw_clk_t *clk)
Definition driver.c:659
void vsf_hw_clk_enable(const vsf_hw_clk_t *clk)
Definition driver.c:640
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_SHR1
Definition driver.c:706
const vsf_hw_clk_t VSF_HW_CLK_APB6
Definition driver.c:518
@ VSF_HW_RST_USB1
Definition common.h:105
@ VSF_HW_RST_USART3
Definition common.h:156
@ VSF_HW_RST_SDHOST2
Definition common.h:82
@ VSF_HW_RST_SHRTIM1
Definition common.h:183
@ VSF_HW_RST_DSI
Definition common.h:65
@ VSF_HW_RST_SPI7
Definition common.h:215
@ VSF_HW_RST_OTPC
Definition common.h:62
@ VSF_HW_RST_FDCAN2
Definition common.h:170
@ VSF_HW_RST_I2C8
Definition common.h:218
@ VSF_HW_RST_GPU
Definition common.h:71
@ VSF_HW_RST_BTIM1
Definition common.h:138
@ VSF_HW_RST_DVP2
Definition common.h:68
@ VSF_HW_RST_SDHOST1
Definition common.h:60
@ VSF_HW_RST_ETH2
Definition common.h:89
@ VSF_HW_RST_ADC3
Definition common.h:97
@ VSF_HW_RST_DAC34
Definition common.h:102
@ VSF_HW_RST_GTIMA6
Definition common.h:148
@ VSF_HW_RST_FDCAN1
Definition common.h:169
@ VSF_HW_RST_DVP1
Definition common.h:67
@ VSF_HW_RST_SEMA4
Definition common.h:129
@ VSF_HW_RST_DMAMUX1
Definition common.h:86
@ VSF_HW_RST_UART11
Definition common.h:160
@ VSF_HW_RST_UART15
Definition common.h:201
@ VSF_HW_RST_ECCM1
Definition common.h:61
@ VSF_HW_RST_ECCM3
Definition common.h:126
@ VSF_HW_RST_I2C4
Definition common.h:191
@ VSF_HW_RST_DMA2
Definition common.h:93
@ VSF_HW_RST_COMP
Definition common.h:232
@ VSF_HW_RST_I2S3
Definition common.h:163
@ VSF_HW_RST_USART7
Definition common.h:197
@ VSF_HW_RST_ATIM2
Definition common.h:179
@ VSF_HW_RST_FDCAN3
Definition common.h:203
@ VSF_HW_RST_GTIMB1
Definition common.h:142
@ VSF_HW_RST_SHRTIM2
Definition common.h:184
@ VSF_HW_RST_GTIMA2
Definition common.h:181
@ VSF_HW_RST_USART4
Definition common.h:157
@ VSF_HW_RST_DMAMUX2
Definition common.h:57
@ VSF_HW_RST_GTIMA1
Definition common.h:180
@ VSF_HW_RST_ATIM4
Definition common.h:211
@ VSF_HW_RST_I2C7
Definition common.h:217
@ VSF_HW_RST_UART10
Definition common.h:159
@ VSF_HW_RST_FDCAN7
Definition common.h:205
@ VSF_HW_RST_USB1WRAP
Definition common.h:103
@ VSF_HW_RST_FDCAN8
Definition common.h:206
@ VSF_HW_RST_USB2
Definition common.h:85
@ VSF_HW_RST_GTIMB2
Definition common.h:143
@ VSF_HW_RST_LCD
Definition common.h:66
@ VSF_HW_RST_GPIOI
Definition common.h:123
@ VSF_HW_RST_GTIMB3
Definition common.h:144
@ VSF_HW_RST_I2C9
Definition common.h:219
@ VSF_HW_RST_DMA3
Definition common.h:94
@ VSF_HW_RST_I2C10
Definition common.h:220
@ VSF_HW_RST_GTIMA5
Definition common.h:147
@ VSF_HW_RST_USART8
Definition common.h:198
@ VSF_HW_RST_PWR
Definition common.h:127
@ VSF_HW_RST_FEMCCFG
Definition common.h:75
@ VSF_HW_RST_SDRAM
Definition common.h:77
@ VSF_HW_RST_FDCAN6
Definition common.h:172
@ VSF_HW_RST_UART13
Definition common.h:199
@ VSF_HW_RST_CAHD
Definition common.h:174
@ VSF_HW_RST_I2C5
Definition common.h:192
@ VSF_HW_RST_XSPI2
Definition common.h:74
@ VSF_HW_RST_FEMC
Definition common.h:76
@ VSF_HW_RST_DAC56
Definition common.h:101
@ VSF_HW_RST_ECCM2
Definition common.h:107
@ VSF_HW_RST_SDPU
Definition common.h:109
@ VSF_HW_RST_FDCAN5
Definition common.h:171
@ VSF_HW_RST_DSMU
Definition common.h:190
@ VSF_HW_RST_WWDG1
Definition common.h:69
@ VSF_HW_RST_USB1POR
Definition common.h:104
@ VSF_HW_RST_UART9
Definition common.h:158
@ VSF_HW_RST_I2S1
Definition common.h:186
@ VSF_HW_RST_UART14
Definition common.h:200
@ VSF_HW_RST_DSICFG
Definition common.h:64
@ VSF_HW_RST_JPEGD
Definition common.h:55
@ VSF_HW_RST_CAHI
Definition common.h:173
@ VSF_HW_RST_GTIMA7
Definition common.h:149
@ VSF_HW_RST_DAC12
Definition common.h:151
@ VSF_HW_RST_AFIO
Definition common.h:130
@ VSF_HW_RST_ESC
Definition common.h:134
@ VSF_HW_RST_SDMMC1
Definition common.h:59
@ VSF_HW_RST_I2S2
Definition common.h:187
@ VSF_HW_RST_I2C6
Definition common.h:193
@ VSF_HW_RST_ATIM1
Definition common.h:178
@ VSF_HW_RST_GTIMA3
Definition common.h:182
@ VSF_HW_RST_BTIM4
Definition common.h:141
@ VSF_HW_RST_I2S4
Definition common.h:164
@ VSF_HW_RST_ADC2
Definition common.h:96
@ VSF_HW_RST_FMAC
Definition common.h:110
@ VSF_HW_RST_FDCAN4
Definition common.h:204
@ VSF_HW_RST_WWDG2
Definition common.h:152
@ VSF_HW_RST_ATIM3
Definition common.h:210
@ VSF_HW_RST_XSPI1
Definition common.h:73
@ VSF_HW_RST_UART12
Definition common.h:161
@ VSF_HW_RST_BTIM3
Definition common.h:140
@ VSF_HW_RST_JPEGE
Definition common.h:56
@ VSF_HW_RST_USB2WRAP
Definition common.h:83
@ VSF_HW_RST_BTIM2
Definition common.h:139
@ VSF_HW_RST_GTIMA4
Definition common.h:145
@ VSF_HW_RST_USB2POR
Definition common.h:84
@ VSF_HW_RST_ADC1
Definition common.h:87
@ VSF_HW_RST_ECCMAC
Definition common.h:91
@ VSF_HW_RST_LPUART2
Definition common.h:230
const vsf_hw_clk_t VSF_HW_CLK_HSI_CG
Definition driver.c:164
const vsf_hw_pwr_t VSF_HW_PWR_JPEG
Definition driver.c:723
const vsf_hw_clk_t VSF_HW_CLK_CPU
const vsf_hw_clk_t VSF_HW_CLK_PLL1
Definition driver.c:231
const vsf_hw_pwr_t VSF_HW_PWR_ESC
Definition driver.c:763
const vsf_hw_clk_t VSF_HW_CLK_PLL1A
Definition driver.c:272
const vsf_hw_clk_t VSF_HW_CLK_AXI
Definition driver.c:471
const vsf_hw_clk_t VSF_HW_CLK_APB2
Definition driver.c:496
const vsf_hw_clk_t VSF_HW_CLK_SDMMC1
Definition driver.c:578
const vsf_hw_clk_t VSF_HW_CLK_MSI_CG
Definition driver.c:202
const vsf_hw_pwr_t VSF_HW_PWR_ETH2
Definition driver.c:735
const vsf_hw_pwr_t VSF_HW_PWR_GPU
Definition driver.c:715
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_HCS1
Definition driver.c:638
const vsf_hw_clk_t VSF_HW_CLK_HSE_KER_CG
const vsf_hw_pwr_t VSF_HW_PWR_USB1
Definition driver.c:751
const vsf_hw_pwr_t VSF_HW_PWR_SDMMC2
Definition driver.c:743
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_GRC
Definition driver.c:660
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_HCS2
Definition driver.c:649
const vsf_hw_clk_t VSF_HW_CLK_PERI
Definition driver.c:533
const vsf_hw_clk_t VSF_HW_CLK_PLL3
Definition driver.c:251
const vsf_hw_clk_t VSF_HW_CLK_PLL2C
Definition driver.c:323
const vsf_hw_clk_t VSF_HW_CLK_SHRPLL
Definition driver.c:261
const vsf_hw_pwr_t VSF_HW_PWR_LCDC
Definition driver.c:719
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_SHRA
Definition driver.c:690
const vsf_hw_pwr_t VSF_HW_PWR_ETH1
Definition driver.c:747
const vsf_hw_clk_t VSF_HW_CLK_USBREF
Definition driver.c:621
vsf_err_t vsf_hw_pll_config(const vsf_hw_clk_t *clk, uint32_t out_freq_hz)
configure frequency range of pll input/output clocks
Definition driver.c:1119
bool vsf_hw_power_domain_is_ready(const vsf_hw_pwr_domain_t *domain)
Definition driver.c:1208
const vsf_hw_clk_t VSF_HW_CLK_AXIHYP
Definition driver.c:456
const vsf_hw_clk_t VSF_HW_CLK_PLL2B
Definition driver.c:313
const vsf_hw_clk_t VSF_HW_CLK_PLL1C
Definition driver.c:292
const vsf_hw_clk_t VSF_HW_CLK_PLL3B
Definition driver.c:344
const vsf_hw_pwr_t VSF_HW_PWR_SDMMC1
Definition driver.c:755
const vsf_hw_clk_t VSF_HW_CLK_SDRAM
Definition driver.c:555
const vsf_hw_clk_t VSF_HW_CLK_MSI_KER_CG
Definition driver.c:209
const vsf_hw_clk_t VSF_HW_CLK_APB5
Definition driver.c:507
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_SHR2
Definition driver.c:698
const vsf_hw_pwr_t VSF_HW_PWR_DSI
Definition driver.c:727
const vsf_hw_clk_t VSF_HW_CLK_PLL1B
Definition driver.c:282
const vsf_hw_clk_t VSF_HW_CLK_PLL2A
Definition driver.c:303
const vsf_hw_pwr_t VSF_HW_PWR_USB2
Definition driver.c:739
const vsf_hw_pwr_t VSF_HW_PWR_FMAC
Definition driver.c:759
const vsf_hw_clk_t VSF_HW_CLK_PLL3A
Definition driver.c:334
const vsf_hw_clk_t VSF_HW_CLK_HSE_CG
const vsf_hw_clk_t VSF_HW_CLK_HSI_KER_CG
Definition driver.c:171
const vsf_hw_clk_t VSF_HW_CLK_SYSBUS
Definition driver.c:381
void vsf_hw_power_domain_disable(const vsf_hw_pwr_domain_t *domain)
Definition driver.c:1199
const vsf_hw_clk_t VSF_HW_CLK_SYSTICK
const vsf_hw_clk_t VSF_HW_CLK_APB1
Definition driver.c:485
const vsf_hw_clk_t VSF_HW_CLK_SDMMC2
Definition driver.c:589
const vsf_hw_clk_t VSF_HW_CLK_MSI
Definition driver.c:178
const vsf_hw_clk_t VSF_HW_CLK_PLL2
Definition driver.c:241
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_ESC
Definition driver.c:673
const vsf_hw_pwr_domain_t VSF_HW_PWR_DOMAIN_MDMA
Definition driver.c:682
const vsf_hw_pwr_t VSF_HW_PWR_DVP
Definition driver.c:731
const vsf_hw_clk_t VSF_HW_CLK_PLL3C
Definition driver.c:354
const vsf_hw_clk_t VSF_HW_CLK_USART1_2
Definition driver.c:602
void vsf_hw_power_domain_enable(const vsf_hw_pwr_domain_t *domain)
Definition driver.c:1189
const vsf_hw_clk_t VSF_HW_CLK_AXISYS
Definition driver.c:393
@ VSF_HW_RST_LPTIM2
Definition common.h:154
@ VSF_HW_RST_LPTIM3
Definition common.h:153
@ VSF_HW_RST_LPTIM1
Definition common.h:118
@ VSF_HW_RST_ETH1
Definition common.h:60
@ VSF_HW_RST_SDMMC2
Definition common.h:66
@ VSF_HW_RST_SPI6
Definition common.h:155
@ VSF_HW_RST_LPTIM4
Definition common.h:152
@ VSF_HW_RST_LPUART1
Definition common.h:156
@ VSF_HW_RST_CORDIC
Definition common.h:65
@ VSF_HW_RST_LPTIM5
Definition common.h:151
#define vsf_hw_power_enable
Definition common.h:47
@ VSF_HW_EN_LPTIM3
Definition common.h:271
@ VSF_HW_EN_LPTIM2
Definition common.h:272
@ VSF_HW_EN_ETH1RX
Definition common.h:171
@ VSF_HW_EN_ETH1MAC
Definition common.h:173
@ VSF_HW_EN_USART3
Definition common.h:229
@ VSF_HW_EN_XSPI1
Definition common.h:213
@ VSF_HW_EN_CORDIC
Definition common.h:180
@ VSF_HW_EN_LPTIM1
Definition common.h:235
@ VSF_HW_EN_ETH1TX
Definition common.h:172
@ VSF_HW_EN_LPTIM5
Definition common.h:269
@ VSF_HW_EN_LPTIM4
Definition common.h:270
@ VSF_HW_EN_SPI6
Definition common.h:273
@ VSF_HW_EN_SDMMC2
Definition common.h:181
@ VSF_HW_EN_LPUART1
Definition common.h:274
@ VSF_HW_EN_XSPI2
Definition common.h:211
#define vsf_hw_power_disable
Definition common.h:48
const vsf_hw_clk_t VSF_HW_CLK_SYS
Definition driver.c:326
@ VSF_HW_RST_USART6
Definition common.h:55
const vsf_hw_clk_t VSF_HW_CLK_LSI
Definition driver.c:216
const vsf_hw_clk_t VSF_HW_CLK_LSE
Definition driver.c:195
const vsf_hw_clk_t VSF_HW_CLK_HSI
Definition driver.c:138
uint32_t vsf_hw_clk_get_freq_hz(const vsf_hw_clk_t *clk)
Definition driver.c:594
@ VSF_HW_EN_USART6
Definition common.h:81
@ VSF_HW_EN_GPIOE
Definition common.h:68
@ VSF_HW_EN_GPIOB
Definition common.h:65
@ VSF_HW_EN_GPIOC
Definition common.h:66
@ VSF_HW_EN_GPIOD
Definition common.h:67
@ VSF_HW_EN_GPIOA
Definition common.h:64
@ VSF_HW_EN_GPIOI
Definition common.h:72
@ VSF_HW_EN_SDMMC1
Definition common.h:85
uint_fast8_t vsf_hw_clkrst_region_get(uint32_t region)
Definition driver.c:498
const vsf_hw_clk_t VSF_HW_CLK_HSE
Definition driver.c:180
void vsf_hw_clkrst_region_set(uint32_t region, uint_fast8_t value)
Definition driver.c:485
const vsf_hw_clk_t * vsf_hw_clk_get_src(const vsf_hw_clk_t *clk)
Definition driver.c:556
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
vsf_hw_peripheral_en_t
Definition common.h:131
uint_fast8_t vsf_hw_clkrst_region_get_bit(uint32_t region)
Definition driver.c:530
unsigned short uint16_t
Definition stdint.h:7
unsigned char uint_fast8_t
Definition stdint.h:23
unsigned uint32_t
Definition stdint.h:9
const vsf_hw_pwr_domain_t * domain
Definition driver.c:82
vk_av_control_value_t value
Definition vsf_audio.h:171