Home
last modified time | relevance | path

Searched refs:sConfigPVD (Results 1 – 7 of 7) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_pwr.c328 HAL_StatusTypeDef HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD) in HAL_PWR_ConfigPVD() argument
331 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()
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_pwr.c355 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD) in HAL_PWR_ConfigPVD() argument
358 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()
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_pwr.c368 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD) in HAL_PWR_ConfigPVD() argument
371 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()
/loramac-node-latest/src/boards/NucleoL476/
Dboard.c414 PWR_PVDTypeDef sConfigPVD; in PVD_Config() local
415 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()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_pwr.h385 HAL_StatusTypeDef HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD);
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_pwr.h457 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD);
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_pwr.h409 void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD);