Home
last modified time | relevance | path

Searched refs:sConfigAVD (Results 1 – 8 of 8) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_pwr_ex.c268 void HAL_PWREx_ConfigAVD(const PWREx_AVDTypeDef *sConfigAVD) in HAL_PWREx_ConfigAVD() argument
271 assert_param(IS_PWR_AVD_LEVEL(sConfigAVD->AVDLevel)); in HAL_PWREx_ConfigAVD()
272 assert_param(IS_PWR_AVD_MODE(sConfigAVD->Mode)); in HAL_PWREx_ConfigAVD()
275 MODIFY_REG(PWR->VMCR, PWR_VMCR_ALS, sConfigAVD->AVDLevel); in HAL_PWREx_ConfigAVD()
284 if ((sConfigAVD->Mode & AVD_MODE_IT) == AVD_MODE_IT) in HAL_PWREx_ConfigAVD()
290 if ((sConfigAVD->Mode & AVD_MODE_EVT) == AVD_MODE_EVT) in HAL_PWREx_ConfigAVD()
296 if ((sConfigAVD->Mode & AVD_RISING_EDGE) == AVD_RISING_EDGE) in HAL_PWREx_ConfigAVD()
302 if ((sConfigAVD->Mode & AVD_FALLING_EDGE) == AVD_FALLING_EDGE) in HAL_PWREx_ConfigAVD()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_pwr_ex.c559 void HAL_PWREx_ConfigAVD(PWREx_AVDTypeDef *sConfigAVD) in HAL_PWREx_ConfigAVD() argument
562 assert_param(IS_PWR_AVD_LEVEL(sConfigAVD->AVDLevel)); in HAL_PWREx_ConfigAVD()
563 assert_param(IS_PWR_AVD_MODE(sConfigAVD->Mode)); in HAL_PWREx_ConfigAVD()
566 MODIFY_REG(PWR->CR1, PWR_CR1_ALS, sConfigAVD->AVDLevel); in HAL_PWREx_ConfigAVD()
574 if (AVD_MODE_IT == (sConfigAVD->Mode & AVD_MODE_IT)) in HAL_PWREx_ConfigAVD()
580 if (AVD_RISING_EDGE == (sConfigAVD->Mode & AVD_RISING_EDGE)) in HAL_PWREx_ConfigAVD()
585 if (AVD_FALLING_EDGE == (sConfigAVD->Mode & AVD_FALLING_EDGE)) in HAL_PWREx_ConfigAVD()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_pwr_ex.c1271 void HAL_PWREx_ConfigAVD(const PWREx_AVDTypeDef *sConfigAVD) in HAL_PWREx_ConfigAVD() argument
1274 assert_param(IS_PWR_AVD_LEVEL(sConfigAVD->AVDLevel)); in HAL_PWREx_ConfigAVD()
1275 assert_param(IS_PWR_AVD_MODE(sConfigAVD->Mode)); in HAL_PWREx_ConfigAVD()
1278 MODIFY_REG(PWR->CR1, PWR_CR1_ALS, sConfigAVD->AVDLevel); in HAL_PWREx_ConfigAVD()
1288 if ((sConfigAVD->Mode & AVD_MODE_IT) == AVD_MODE_IT) in HAL_PWREx_ConfigAVD()
1294 if ((sConfigAVD->Mode & AVD_MODE_EVT) == AVD_MODE_EVT) in HAL_PWREx_ConfigAVD()
1300 if ((sConfigAVD->Mode & AVD_RISING_EDGE) == AVD_RISING_EDGE) in HAL_PWREx_ConfigAVD()
1306 if ((sConfigAVD->Mode & AVD_FALLING_EDGE) == AVD_FALLING_EDGE) in HAL_PWREx_ConfigAVD()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_pwr_ex.c1980 void HAL_PWREx_ConfigAVD (const PWREx_AVDTypeDef *sConfigAVD) in HAL_PWREx_ConfigAVD() argument
1983 assert_param (IS_PWR_AVD_LEVEL (sConfigAVD->AVDLevel)); in HAL_PWREx_ConfigAVD()
1984 assert_param (IS_PWR_AVD_MODE (sConfigAVD->Mode)); in HAL_PWREx_ConfigAVD()
1987 MODIFY_REG (PWR->CR1, PWR_CR1_ALS, sConfigAVD->AVDLevel); in HAL_PWREx_ConfigAVD()
2000 if ((sConfigAVD->Mode & AVD_MODE_IT) == AVD_MODE_IT) in HAL_PWREx_ConfigAVD()
2006 if ((sConfigAVD->Mode & AVD_MODE_EVT) == AVD_MODE_EVT) in HAL_PWREx_ConfigAVD()
2013 if ((sConfigAVD->Mode & AVD_RISING_EDGE) == AVD_RISING_EDGE) in HAL_PWREx_ConfigAVD()
2019 if ((sConfigAVD->Mode & AVD_FALLING_EDGE) == AVD_FALLING_EDGE) in HAL_PWREx_ConfigAVD()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_pwr_ex.h481 void HAL_PWREx_ConfigAVD(const PWREx_AVDTypeDef *sConfigAVD);
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_hal_pwr_ex.h480 void HAL_PWREx_ConfigAVD(const PWREx_AVDTypeDef *sConfigAVD);
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/include/
Dstm32mp1xx_hal_pwr_ex.h334 void HAL_PWREx_ConfigAVD(PWREx_AVDTypeDef *sConfigAVD);
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_hal_pwr_ex.h602 void HAL_PWREx_ConfigAVD (const PWREx_AVDTypeDef *sConfigAVD);