STM32L4xx_Nucleo_144 BSP User Manual: SMPS Functions

STM32L4xx_Nucleo_144 BSP

STM32L4xx_Nucleo_144 BSP User Manual

Functions

uint32_t BSP_SMPS_DeInit (void)
 DeInitialize the external SMPS component.
uint32_t BSP_SMPS_Init (uint32_t VoltageRange)
 Initialize the external SMPS component.
uint32_t BSP_SMPS_Enable (uint32_t Delay, uint32_t Power_Good_Check)
 Enable the external SMPS component.
uint32_t BSP_SMPS_Disable (void)
 Disable the external SMPS component.
uint32_t BSP_SMPS_Supply_Enable (uint32_t Delay, uint32_t Power_Good_Check)
 Enable the external SMPS SWITCH component.
uint32_t BSP_SMPS_Supply_Disable (void)
 Disable the external SMPS component.

Function Documentation

uint32_t BSP_SMPS_DeInit ( void  )

DeInitialize the external SMPS component.

Note:
Low power consumption GPIO settings
Return values:
SMPSstatus

Definition at line 459 of file stm32l4xx_nucleo_144.c.

References PIN_SMPS_ENABLE, PIN_SMPS_SWITCH_ENABLE, PORT_SMPS, PWR_AND_CLK_SMPS, and SMPS_OK.

uint32_t BSP_SMPS_Disable ( void  )

Disable the external SMPS component.

Note:
SMPS SWITCH should be disabled first !
Return values:
SMPSstatus
  • SMPS_OK: SMPS DISABLE OK - DONE
  • SMPS_KO: POWER GOOD CHECK FAILS

Definition at line 628 of file stm32l4xx_nucleo_144.c.

References PIN_SMPS_ENABLE, PIN_SMPS_SWITCH_ENABLE, PORT_SMPS, PWR_AND_CLK_SMPS, PWR_GPIO_ENABLE, PWR_GPIO_SMPS, SMPS_KO, and SMPS_OK.

uint32_t BSP_SMPS_Enable ( uint32_t  Delay,
uint32_t  Power_Good_Check 
)

Enable the external SMPS component.

Parameters:
Delay,:delay in ms after enable
Power_Good_Check,:Enable Power good check
Note:
Power_Good_Check is not used with all boards VoltageRange is not used with MB11312A/S i.e. SMPS only PWR_REGULATOR_VOLTAGE_SCALE2 by board.
Return values:
SMPSstatus
  • SMPS_OK: SMPS ENABLE OK
  • SMPS_KO: POWER GOOD CHECK FAILS

Definition at line 591 of file stm32l4xx_nucleo_144.c.

References PIN_SMPS_ENABLE, PIN_SMPS_POWERGOOD, PORT_SMPS, PWR_AND_CLK_SMPS, PWR_GPIO_SMPS, SMPS_KO, and SMPS_OK.

uint32_t BSP_SMPS_Init ( uint32_t  VoltageRange)

Initialize the external SMPS component.

Parameters:
VoltageRange,:Select operating SMPS supply
  • DCDC_AND_BOARD_DEPENDENT
Note:
VoltageRange is not used with all boards VoltageRange is not used with MB11312A/S i.e. SMPS only PWR_REGULATOR_VOLTAGE_SCALE2.
Return values:
SMPSstatus

Definition at line 510 of file stm32l4xx_nucleo_144.c.

References PIN_SMPS_ENABLE, PIN_SMPS_POWERGOOD, PIN_SMPS_SWITCH_ENABLE, PORT_SMPS, PWR_AND_CLK_SMPS, PWR_GPIO_ENABLE, PWR_GPIO_SMPS, PWR_GPIO_SWITCH_ENABLE, and SMPS_OK.

uint32_t BSP_SMPS_Supply_Disable ( void  )

Disable the external SMPS component.

Return values:
SMPSstatus
  • SMPS_OK: SMPS SWITCH DISABLE OK

Definition at line 693 of file stm32l4xx_nucleo_144.c.

References PIN_SMPS_SWITCH_ENABLE, PORT_SMPS, PWR_AND_CLK_SMPS, and SMPS_OK.

uint32_t BSP_SMPS_Supply_Enable ( uint32_t  Delay,
uint32_t  Power_Good_Check 
)

Enable the external SMPS SWITCH component.

Parameters:
Delay,:delay in ms before SMPS SWITCH ENABLE
Power_Good_Check,:Enable Power good check
Note:
Power_Good_Check is not used with all boards VoltageRange is not used with MB11312A/S i.e. SMPS only PWR_REGULATOR_VOLTAGE_SCALE2 by board.
Return values:
SMPSstatus
  • SMPS_OK: SMPS ENABLE OK
  • SMPS_KO: POWER GOOD CHECK FAILS

Definition at line 663 of file stm32l4xx_nucleo_144.c.

References PIN_SMPS_POWERGOOD, PIN_SMPS_SWITCH_ENABLE, PORT_SMPS, PWR_AND_CLK_SMPS, SMPS_KO, and SMPS_OK.

Generated on Mon Oct 9 2017 01:35:13 for STM32L4xx_Nucleo_144 BSP User Manual by   doxygen 1.7.6.1