Searched refs:sConfigPVD (Results 1 – 7 of 7) sorted by relevance
328 HAL_StatusTypeDef HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD) in HAL_PWR_ConfigPVD() argument331 assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel)); in HAL_PWR_ConfigPVD()332 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()335 MODIFY_REG(PWR->CR2, PWR_CR2_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD()344 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()350 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()356 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()361 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
355 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD) in HAL_PWR_ConfigPVD() argument358 assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel)); in HAL_PWR_ConfigPVD()359 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()362 MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD()370 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()376 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()382 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()387 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
368 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD) in HAL_PWR_ConfigPVD() argument371 assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel)); in HAL_PWR_ConfigPVD()372 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()375 MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel); in HAL_PWR_ConfigPVD()384 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()390 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()396 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()401 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
414 PWR_PVDTypeDef sConfigPVD; in PVD_Config() local415 sConfigPVD.PVDLevel = PWR_PVDLEVEL_6; in PVD_Config()416 sConfigPVD.Mode = PWR_PVD_MODE_IT_RISING; in PVD_Config()417 if( HAL_PWR_ConfigPVD( &sConfigPVD ) != HAL_OK ) in PVD_Config()
385 HAL_StatusTypeDef HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD);
457 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD);
409 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD);