RTEMS 6.1-rc1
Data Structures | Macros | Typedefs | Enumerations
Pmu

Data Structures

struct  _pmu_static_lpsr_ana_ldo_config
 LPSR ANA LDO config. More...
 
struct  _pmu_static_lpsr_dig_config
 LPSR DIG LDO Config in Static/Software Mode. More...
 
struct  _pmu_snvs_dig_config
 SNVS DIG LDO config. More...
 
struct  _pmu_static_bandgap_config
 Bandgap config in static mode. More...
 
union  _pmu_well_bias_option
 The union of well bias basic options, such as clock source, power source and so on. More...
 
struct  _pmu_well_bias_config
 The structure of well bias configuration. More...
 
struct  _pmu_gpc_body_bias_config
 The stucture of body bias config in GPC mode. More...
 

Macros

#define PMU_HAS_FBB   (0U)
 

Typedefs

typedef enum _pmu_ldo_name pmu_ldo_name_t
 The name of LDOs.
 
typedef enum _pmu_body_bias_name pmu_body_bias_name_t
 The name of body bias.
 
typedef enum _pmu_control_mode pmu_control_mode_t
 The control mode of LDOs/Bandgaps/Body Bias.
 
typedef enum _pmu_ldo_operate_mode pmu_ldo_operate_mode_t
 The operation mode for the LDOs.
 
typedef enum _pmu_lpsr_ana_ldo_charge_pump_current pmu_lpsr_ana_ldo_charge_pump_current_t
 The enumeration of LPSR ANA LDO's charge pump current.
 
typedef enum _pmu_lpsr_ana_ldo_output_range pmu_lpsr_ana_ldo_output_range_t
 The enumeration of LPSR ANA LDO's output range.
 
typedef enum _pmu_lpsr_dig_voltage_step_time pmu_lpsr_dig_voltage_step_time_t
 The enumeration of voltage step time for LPSR DIG LDO.
 
typedef enum _pmu_lpsr_dig_target_output_voltage pmu_lpsr_dig_target_output_voltage_t
 The target output voltage of LPSR DIG LDO.
 
typedef enum _pmu_snvs_dig_charge_pump_current pmu_snvs_dig_charge_pump_current_t
 The enumeration of the SNVS DIG LDO's charge pump current.
 
typedef enum _pmu_snvs_dig_discharge_resistor_value pmu_snvs_dig_discharge_resistor_value_t
 The enumeration of the SNVS DIG LDO's discharge resistor.
 
typedef enum _pmu_bandgap_output_VBG_voltage_value pmu_bandgap_output_VBG_voltage_value_t
 The enumeration of output VBG voltage.
 
typedef enum _pmu_bandgap_output_current_value pmu_bandgap_output_current_value_t
 The enumeration of output current.
 
typedef enum _pmu_well_bias_power_source pmu_well_bias_power_source_t
 The enumerator of well bias power source.
 
typedef enum _pmu_bias_area_size pmu_bias_area_size_t
 The enumerator of bias area size.
 
typedef enum _pmu_well_bias_typical_freq pmu_well_bias_typical_freq_t
 The enumerator of well bias typical frequency.
 
typedef enum _pmu_adaptive_clock_source pmu_adaptive_clock_source_t
 The enumerator of well bias adaptive clock source.
 
typedef enum _pmu_freq_reduction pmu_freq_reduction_t
 The enumerator of frequency reduction due to cap increment.
 
typedef enum _pmu_well_bias_1P8_adjustment pmu_well_bias_1P8_adjustment_t
 The enumerator of well bias 1P8 adjustment.
 
typedef struct _pmu_static_lpsr_ana_ldo_config pmu_static_lpsr_ana_ldo_config_t
 LPSR ANA LDO config.
 
typedef struct _pmu_static_lpsr_dig_config pmu_static_lpsr_dig_config_t
 LPSR DIG LDO Config in Static/Software Mode.
 
typedef struct _pmu_snvs_dig_config pmu_snvs_dig_config_t
 SNVS DIG LDO config.
 
typedef struct _pmu_static_bandgap_config pmu_static_bandgap_config_t
 Bandgap config in static mode.
 
typedef union _pmu_well_bias_option pmu_well_bias_option_t
 The union of well bias basic options, such as clock source, power source and so on.
 
typedef struct _pmu_well_bias_config pmu_well_bias_config_t
 The structure of well bias configuration.
 
typedef struct _pmu_gpc_body_bias_config pmu_gpc_body_bias_config_t
 The stucture of body bias config in GPC mode.
 

Enumerations

enum  _pmu_setpoint_map {
  kPMU_SetPoint0 = 1UL << 0UL , kPMU_SetPoint1 = 1UL << 1UL , kPMU_SetPoint2 = 1UL << 2UL , kPMU_SetPoint3 = 1UL << 3UL ,
  kPMU_SetPoint4 = 1UL << 4UL , kPMU_SetPoint5 = 1UL << 5UL , kPMU_SetPoint6 = 1UL << 6UL , kPMU_SetPoint7 = 1UL << 7UL ,
  kPMU_SetPoint8 = 1UL << 8UL , kPMU_SetPoint9 = 1UL << 9UL , kPMU_SetPoint10 = 1UL << 10UL , kPMU_SetPoint11 = 1UL << 11UL ,
  kPMU_SetPoint12 = 1UL << 12UL , kPMU_SetPoint13 = 1UL << 13UL , kPMU_SetPoint14 = 1UL << 14UL , kPMU_SetPoint15 = 1UL << 15UL
}
 System setpoints enumeration. More...
 
enum  _pmu_ldo_name { kPMU_PllLdo = 0U , kPMU_LpsrAnaLdo = 1U , kPMU_LpsrDigLdo = 2U , kPMU_SnvsDigLdo = 3U }
 The name of LDOs. More...
 
enum  _pmu_body_bias_name { kPMU_RBB_SOC = 0x0U , kPMU_RBB_LPSR = 0x1U }
 The name of body bias. More...
 
enum  _pmu_control_mode { kPMU_StaticMode = 0U , kPMU_GPCMode = 1U }
 The control mode of LDOs/Bandgaps/Body Bias. More...
 
enum  _pmu_ldo_operate_mode { kPMU_LowPowerMode = 0x0U , kPMU_HighPowerMode = 0x1U }
 The operation mode for the LDOs. More...
 
enum  _pmu_lpsr_ana_ldo_charge_pump_current { kPMU_LpsrAnaChargePump300nA = 0U , kPMU_LpsrAnaChargePump400nA = 1U , kPMU_LpsrAnaChargePump500nA = 2U , kPMU_LpsrAnaChargePump600nA = 3U }
 The enumeration of LPSR ANA LDO's charge pump current. More...
 
enum  _pmu_lpsr_ana_ldo_output_range { kPMU_LpsrAnaLdoOutputFrom1P77To1P83 = 0U , kPMU_LpsrAnaLdoOutputFrom1P72To1P77 = 1U , kPMU_LpsrAnaLdoOutputFrom1P82To1P88 = 2U }
 The enumeration of LPSR ANA LDO's output range. More...
 
enum  _pmu_lpsr_dig_voltage_step_time { kPMU_LpsrDigVoltageStepInc15us = 0x0U , kPMU_LpsrDigVoltageStepInc25us = 0x1U , kPMU_LpsrDigVoltageStepInc50us = 0x2U , kPMU_LpsrDigVoltageStepInc100us = 0x3U }
 The enumeration of voltage step time for LPSR DIG LDO. More...
 
enum  _pmu_lpsr_dig_target_output_voltage {
  kPMU_LpsrDigTargetStableVoltage0P631V = 0x0U , kPMU_LpsrDigTargetStableVoltage0P65V = 0x1U , kPMU_LpsrDigTargetStableVoltage0P67V = 0x2U , kPMU_LpsrDigTargetStableVoltage0P689V = 0x3U ,
  kPMU_LpsrDigTargetStableVoltage0P709V = 0x4U , kPMU_LpsrDigTargetStableVoltage0P728V = 0x5U , kPMU_LpsrDigTargetStableVoltage0P748V = 0x6U , kPMU_LpsrDigTargetStableVoltage0P767V = 0x7U ,
  kPMU_LpsrDigTargetStableVoltage0P786V = 0x8U , kPMU_LpsrDigTargetStableVoltage0P806V = 0x9U , kPMU_LpsrDigTargetStableVoltage0P825V = 0xAU , kPMU_LpsrDigTargetStableVoltage0P845V = 0xBU ,
  kPMU_LpsrDigTargetStableVoltage0P864V = 0xCU , kPMU_LpsrDigTargetStableVoltage0P883V = 0xDU , kPMU_LpsrDigTargetStableVoltage0P903V = 0xEU , kPMU_LpsrDigTargetStableVoltage0P922V = 0xFU ,
  kPMU_LpsrDigTargetStableVoltage0P942V = 0x10U , kPMU_LpsrDigTargetStableVoltage0P961V = 0x11U , kPMU_LpsrDigTargetStableVoltage0P981V = 0x12U , kPMU_LpsrDigTargetStableVoltage1P0V = 0x13U ,
  kPMU_LpsrDigTargetStableVoltage1P019V = 0x14U , kPMU_LpsrDigTargetStableVoltage1P039V = 0x15U , kPMU_LpsrDigTargetStableVoltage1P058V = 0x16U , kPMU_LpsrDigTargetStableVoltage1P078V = 0x17U ,
  kPMU_LpsrDigTargetStableVoltage1P097V = 0x18U , kPMU_LpsrDigTargetStableVoltage1P117V = 0x19U , kPMU_LpsrDigTargetStableVoltage1P136V = 0x1AU , kPMU_LpsrDigTargetStableVoltage1P155V = 0x1BU ,
  kPMU_LpsrDigTargetStableVoltage1P175V = 0x1CU , kPMU_LpsrDigTargetStableVoltage1P194V = 0x1DU , kPMU_LpsrDigTargetStableVoltage1P214V = 0x1EU , kPMU_LpsrDigTargetStableVoltage1P233V = 0x1FU
}
 The target output voltage of LPSR DIG LDO. More...
 
enum  _pmu_snvs_dig_charge_pump_current { kPMU_SnvsDigChargePump12P5nA = 0U , kPMU_SnvsDigChargePump6P25nA = 1U , kPMU_SnvsDigChargePump18P75nA = 2U }
 The enumeration of the SNVS DIG LDO's charge pump current. More...
 
enum  _pmu_snvs_dig_discharge_resistor_value { kPMU_SnvsDigDischargeResistor15K = 0U , kPMU_SnvsDigDischargeResistor30K = 1U , kPMU_SnvsDigDischargeResistor9K = 2U }
 The enumeration of the SNVS DIG LDO's discharge resistor. More...
 
enum  _pmu_static_bandgap_power_down_option { kPMU_PowerDownBandgapFully = 1U << 0U , kPMU_PowerDownVoltageReferenceOutputOnly = 1U << 1U , kPMU_PowerDownBandgapVBGUPDetector = 1U << 2U }
 The enumeration of bandgap power down option. More...
 
enum  _pmu_bandgap_output_VBG_voltage_value {
  kPMU_BandgapOutputVBGVoltageNominal = 0x0U , kPMU_BandgapOutputVBGVoltagePlus10mV = 0x1U , kPMU_BandgapOutputVBGVoltagePlus20mV = 0x2U , kPMU_BandgapOutputVBGVoltagePlus30mV = 0x3U ,
  kPMU_BandgapOutputVBGVoltageMinus10mV = 0x4U , kPMU_BandgapOutputVBGVoltageMinus20mV = 0x5U , kPMU_BandgapOutputVBGVoltageMinus30mV = 0x6U , kPMU_BandgapOutputVBGVoltageMinus40mV = 0x7U
}
 The enumeration of output VBG voltage. More...
 
enum  _pmu_bandgap_output_current_value {
  kPMU_OutputCurrent11P5uA = 0x0U , kPMU_OutputCurrent11P8uA = 0x1U , kPMU_OutputCurrent12P1uA = 0x2U , kPMU_OutputCurrent12P4uA = 0x4U ,
  kPMU_OutputCurrent12P7uA = 0x5U , kPMU_OutputCurrent13P0uA = 0x6U , kPMU_OutputCurrent13P3uA = 0x7U
}
 The enumeration of output current. More...
 
enum  _pmu_well_bias_power_source { kPMU_WellBiasPowerFromLpsrDigLdo = 0U , kPMU_WellBiasPowerFromDCDC }
 The enumerator of well bias power source. More...
 
enum  _pmu_bias_area_size {
  kPMU_180uA_6mm2At125C = 0U , kPMU_150uA_5mm2At125C , kPMU_120uA_4mm2At125C , kPMU_90uA_3mm2At125C ,
  kPMU_60uA_2mm2At125C , kPMU_45uA_1P5mm2At125C , kPMU_30uA_1mm2At125C , kPMU_15uA_0P5mm2At125C
}
 The enumerator of bias area size. More...
 
enum  _pmu_well_bias_typical_freq {
  kPMU_OscFreqDiv128 = 0U , kPMU_OscFreqDiv64 = 1U , kPMU_OscFreqDiv32 = 2U , kPMU_OscFreqDiv16 = 3U ,
  kPMU_OscFreqDiv8 = 4U , kPMU_OscFreqDiv2 = 6U , kPMU_OscFreq = 7U
}
 The enumerator of well bias typical frequency. More...
 
enum  _pmu_adaptive_clock_source { kPMU_AdaptiveClkSourceOscClk = 0U , kPMU_AdaptiveClkSourceChargePumpClk }
 The enumerator of well bias adaptive clock source. More...
 
enum  _pmu_freq_reduction { kPMU_FreqReductionNone = 0U , kPMU_FreqReduction30PCT , kPMU_FreqReduction40PCT , kPMU_FreqReduction50PCT }
 The enumerator of frequency reduction due to cap increment. More...
 
enum  _pmu_well_bias_1P8_adjustment {
  kPMU_Cref0fFCspl0fFDeltaC0fF = 0U , kPMU_Cref0fFCspl30fFDeltaCN30fF , kPMU_Cref0fFCspl43fFDeltaCN43fF , kPMU_Cref0fFCspl62fFDeltaCN62fF ,
  kPMU_Cref0fFCspl105fFDeltaCN105fF , kPMU_Cref30fFCspl0fFDeltaC30fF , kPMU_Cref30fFCspl43fFDeltaCN12fF , kPMU_Cref30fFCspl105fFDeltaCN75fF ,
  kPMU_Cref43fFCspl0fFDeltaC43fF , kPMU_Cref43fFCspl30fFDeltaC13fF , kPMU_Cref43fFCspl62fFDeltaCN19fF , kPMU_Cref62fFCspl0fFDeltaC62fF ,
  kPMU_Cref62fFCspl43fFDeltaC19fF , kPMU_Cref105fFCspl0fFDeltaC105fF , kPMU_Cref105fFCspl30fFDeltaC75fF
}
 The enumerator of well bias 1P8 adjustment. More...
 

LDOs Control APIs

void PMU_SetPllLdoControlMode (ANADIG_PMU_Type *base, pmu_control_mode_t mode)
 Selects the control mode of the PLL LDO. More...
 
void PMU_SwitchPllLdoToGPCMode (ANADIG_PMU_Type *base)
 Switches the PLL LDO from Static/Software Mode to GPC/Hardware Mode. More...
 
void PMU_StaticEnablePllLdo (ANADIG_PMU_Type *base)
 Enables PLL LDO via AI interface in Static/Software mode. More...
 
void PMU_StaticDisablePllLdo (void)
 Disables PLL LDO via AI interface in Static/Software mode. More...
 
void PMU_SetLpsrAnaLdoControlMode (ANADIG_LDO_SNVS_Type *base, pmu_control_mode_t mode)
 Selects the control mode of the LPSR ANA LDO. More...
 
void PMU_StaticEnableLpsrAnaLdoBypassMode (ANADIG_LDO_SNVS_Type *base, bool enable)
 Sets the Bypass mode of the LPSR ANA LDO. More...
 
void PMU_StaticGetLpsrAnaLdoDefaultConfig (pmu_static_lpsr_ana_ldo_config_t *config)
 Fill the LPSR ANA LDO configuration structure with default settings. More...
 
void PMU_StaticLpsrAnaLdoInit (ANADIG_LDO_SNVS_Type *base, const pmu_static_lpsr_ana_ldo_config_t *config)
 Initialize the LPSR ANA LDO in Static/Sofware Mode. More...
 
void PMU_StaticLpsrAnaLdoDeinit (ANADIG_LDO_SNVS_Type *base)
 Disable the output of LPSR ANA LDO. More...
 
void PMU_SetLpsrDigLdoControlMode (ANADIG_LDO_SNVS_Type *base, pmu_control_mode_t mode)
 Selects the control mode of the LPSR DIG LDO. More...
 
void PMU_StaticEnableLpsrDigLdoBypassMode (ANADIG_LDO_SNVS_Type *base, bool enable)
 Turn on/off Bypass mode of the LPSR DIG LDO in Static/Software mode. More...
 
void PMU_StaticGetLpsrDigLdoDefaultConfig (pmu_static_lpsr_dig_config_t *config)
 Gets the default configuration of LPSR DIG LDO. More...
 
void PMU_StaticLpsrDigLdoInit (ANADIG_LDO_SNVS_Type *base, const pmu_static_lpsr_dig_config_t *config)
 Initialize the LPSR DIG LDO in static mode. More...
 
void PMU_StaticLpsrDigLdoDeinit (ANADIG_LDO_SNVS_Type *base)
 Disable the LPSR DIG LDO. More...
 
void PMU_GPCSetLpsrDigLdoTargetVoltage (uint32_t setpointMap, pmu_lpsr_dig_target_output_voltage_t voltageValue)
 Sets the voltage step of LPSR DIG LDO in certain setpoint during GPC mode. More...
 
void PMU_GetSnvsDigLdoDefaultConfig (pmu_snvs_dig_config_t *config)
 Gets the default config of the SNVS DIG LDO. More...
 
void PMU_SnvsDigLdoInit (ANADIG_LDO_SNVS_DIG_Type *base, pmu_ldo_operate_mode_t mode)
 Initialize the SNVS DIG LDO. More...
 
void PMU_GPCEnableLdo (pmu_ldo_name_t name, uint32_t setpointMap)
 Controls the ON/OFF of the selected LDO in certain setpoints with GPC mode. More...
 
void PMU_GPCSetLdoOperateMode (pmu_ldo_name_t name, uint32_t setpointMap, pmu_ldo_operate_mode_t mode)
 Sets the operating mode of the selected LDO in certain setpoints with GPC mode. More...
 
void PMU_GPCEnableLdoTrackingMode (pmu_ldo_name_t name, uint32_t setpointMap)
 Controls the ON/OFF of the selected LDOs' Tracking mode in certain setpoints with GPC mode. More...
 
void PMU_GPCEnableLdoBypassMode (pmu_ldo_name_t name, uint32_t setpointMap)
 Controls the ON/OFF of the selected LDOs' Bypass mode in certain setpoints with GPC mode. More...
 
void PMU_GPCEnableLdoStandbyMode (pmu_ldo_name_t name, uint32_t setpointMap)
 When STBY assert, enable/disable the selected LDO enter it's Low power mode. More...
 

Bandgap Control APIs

void PMU_SetBandgapControlMode (ANADIG_PMU_Type *base, pmu_control_mode_t mode)
 Selects the control mode of the Bandgap Reference. More...
 
void PMU_SwitchBandgapToGPCMode (ANADIG_PMU_Type *base)
 Switches the Bandgap from Static/Software Mode to GPC/Hardware Mode. More...
 
void PMU_DisableBandgapSelfBiasAfterPowerUp (void)
 Disables Bandgap self bias for best noise performance. More...
 
void PMU_EnableBandgapSelfBiasBeforePowerDown (void)
 Enables Bandgap self bias before power down. More...
 
void PMU_StaticBandgapInit (const pmu_static_bandgap_config_t *config)
 Initialize Bandgap. More...
 

Body Bias Control APIs

void PMU_WellBiasInit (ANADIG_PMU_Type *base, const pmu_well_bias_config_t *config)
 Configures Well bias, such as power source, clock source and so on. More...
 
void PMU_GetWellBiasDefaultConfig (pmu_well_bias_config_t *config)
 Gets the default configuration of well bias. More...
 
void PMU_SetBodyBiasControlMode (ANADIG_PMU_Type *base, pmu_body_bias_name_t name, pmu_control_mode_t mode)
 Selects the control mode of the Body Bias. More...
 
void PMU_EnableBodyBias (ANADIG_PMU_Type *base, pmu_body_bias_name_t name, bool enable)
 Enables/disables the selected body bias. More...
 
void PMU_GPCEnableBodyBias (pmu_body_bias_name_t name, uint32_t setpointMap)
 Controls the ON/OFF of the selected body bias in certain setpoints with GPC mode. More...
 
void PMU_GPCEnableBodyBiasStandbyMode (pmu_body_bias_name_t name, uint32_t setpointMap)
 Controls the ON/OFF of the selected Body Bias' Wbias power switch in certain setpoints with GPC mode. More...
 
void PMU_GPCGetBodyBiasDefaultConfig (pmu_gpc_body_bias_config_t *config)
 Gets the default config of body bias in GPC mode. More...
 
void PMU_GPCSetBodyBiasConfig (pmu_body_bias_name_t name, const pmu_gpc_body_bias_config_t *config)
 Sets the config of the selected Body Bias in GPC mode. More...
 

Driver version

#define FSL_PMU_DRIVER_VERSION   (MAKE_VERSION(2, 1, 0))
 PMU driver version. More...
 

Detailed Description

Macro Definition Documentation

◆ FSL_PMU_DRIVER_VERSION

#define FSL_PMU_DRIVER_VERSION   (MAKE_VERSION(2, 1, 0))

PMU driver version.

Version 2.1.0.

Enumeration Type Documentation

◆ _pmu_adaptive_clock_source

The enumerator of well bias adaptive clock source.

Enumerator
kPMU_AdaptiveClkSourceOscClk 

The adaptive clock source is oscillator clock.

kPMU_AdaptiveClkSourceChargePumpClk 

The adaptive clock source is charge pump clock.

◆ _pmu_bandgap_output_current_value

The enumeration of output current.

Enumerator
kPMU_OutputCurrent11P5uA 

Output 11.5uA current from the bandgap.

kPMU_OutputCurrent11P8uA 

Output 11.8uA current from the bandgap.

kPMU_OutputCurrent12P1uA 

Output 12.1uA current from the bandgap.

kPMU_OutputCurrent12P4uA 

Output 12.4uA current from the bandgap.

kPMU_OutputCurrent12P7uA 

Output 12.7uA current from the bandgap.

kPMU_OutputCurrent13P0uA 

Output 13.0uA current from the bandgap.

kPMU_OutputCurrent13P3uA 

Output 13.3uA current from the bandgap.

◆ _pmu_bandgap_output_VBG_voltage_value

The enumeration of output VBG voltage.

Enumerator
kPMU_BandgapOutputVBGVoltageNominal 

Output nominal voltage.

kPMU_BandgapOutputVBGVoltagePlus10mV 

Output VBG voltage Plus 10mV.

kPMU_BandgapOutputVBGVoltagePlus20mV 

Output VBG voltage Plus 20mV.

kPMU_BandgapOutputVBGVoltagePlus30mV 

Output VBG voltage Plus 30mV.

kPMU_BandgapOutputVBGVoltageMinus10mV 

Output VBG voltage Minus 10mV.

kPMU_BandgapOutputVBGVoltageMinus20mV 

Output VBG voltage Minus 20mV.

kPMU_BandgapOutputVBGVoltageMinus30mV 

Output VBG voltage Minus 30mV.

kPMU_BandgapOutputVBGVoltageMinus40mV 

Output VBG voltage Minus 40mV.

◆ _pmu_bias_area_size

The enumerator of bias area size.

Enumerator
kPMU_180uA_6mm2At125C 

Imax = 180uA; Areamax-RVT = 6.00mm2 at 125C

kPMU_150uA_5mm2At125C 

Imax = 150uA; Areamax-RVT = 5.00mm2 at 125C

kPMU_120uA_4mm2At125C 

Imax = 120uA; Areamax-RVT = 4.00mm2 at 125C

kPMU_90uA_3mm2At125C 

Imax = 90uA; Areamax-RVT = 3.00mm2 at 125C

kPMU_60uA_2mm2At125C 

Imax = 60uA; Areamax-RVT = 2.00mm2 at 125C

kPMU_45uA_1P5mm2At125C 

Imax = 45uA; Areamax-RVT = 1P5mm2 at 125C

kPMU_30uA_1mm2At125C 

Imax = 30uA; Areamax-RVT = 1.00mm2 at 125C

kPMU_15uA_0P5mm2At125C 

Imax = 15uA; Areamax-RVT = 0.50mm2 at 125C

◆ _pmu_body_bias_name

The name of body bias.

Enumerator
kPMU_RBB_SOC 

The RBB implemented in SOC.

kPMU_RBB_LPSR 

The RBB implemented in LPSRMIX.

◆ _pmu_control_mode

The control mode of LDOs/Bandgaps/Body Bias.

Enumerator
kPMU_StaticMode 

Static/Software Control mode.

kPMU_GPCMode 

GPC/Hardware Control mode.

◆ _pmu_freq_reduction

The enumerator of frequency reduction due to cap increment.

Enumerator
kPMU_FreqReductionNone 

No frequency reduction.

kPMU_FreqReduction30PCT 

30% frequency reduction due to cap increment.

kPMU_FreqReduction40PCT 

40% frequency reduction due to cap increment.

kPMU_FreqReduction50PCT 

50% frequency reduction due to cap increment.

◆ _pmu_ldo_name

The name of LDOs.

Enumerator
kPMU_PllLdo 

The PLL LDO in SOC domain.

kPMU_LpsrAnaLdo 

The LPSR ANA LDO in LPSR domain.

kPMU_LpsrDigLdo 

The LPSR DIG LDO in LPSR domain.

kPMU_SnvsDigLdo 

The SNVS DIG LDO in SNVS domain.

◆ _pmu_ldo_operate_mode

The operation mode for the LDOs.

Enumerator
kPMU_LowPowerMode 

LDOs operate in Low power mode.

kPMU_HighPowerMode 

LDOs operate in High power mode.

◆ _pmu_lpsr_ana_ldo_charge_pump_current

The enumeration of LPSR ANA LDO's charge pump current.

Enumerator
kPMU_LpsrAnaChargePump300nA 

The current of the charge pump is selected as 300nA.

kPMU_LpsrAnaChargePump400nA 

The current of the charge pump is selected as 400nA.

kPMU_LpsrAnaChargePump500nA 

The current of the charge pump is selected as 500nA.

kPMU_LpsrAnaChargePump600nA 

The current of the charge pump is selected as 600nA.

◆ _pmu_lpsr_ana_ldo_output_range

The enumeration of LPSR ANA LDO's output range.

Enumerator
kPMU_LpsrAnaLdoOutputFrom1P77To1P83 

The output voltage varies from 1.77V to 1.83V.

kPMU_LpsrAnaLdoOutputFrom1P72To1P77 

The output voltage varies from 1.72V to 1.77V.

kPMU_LpsrAnaLdoOutputFrom1P82To1P88 

The output voltage varies from 1.82V to 1.88V.

◆ _pmu_lpsr_dig_target_output_voltage

The target output voltage of LPSR DIG LDO.

Enumerator
kPMU_LpsrDigTargetStableVoltage0P631V 

The target voltage selected as 0.631V

kPMU_LpsrDigTargetStableVoltage0P65V 

The target voltage selected as 0.65V

kPMU_LpsrDigTargetStableVoltage0P67V 

The target voltage selected as 0.67V

kPMU_LpsrDigTargetStableVoltage0P689V 

The target voltage selected as 0.689V

kPMU_LpsrDigTargetStableVoltage0P709V 

The target voltage selected as 0.709V

kPMU_LpsrDigTargetStableVoltage0P728V 

The target voltage selected as 0.728V

kPMU_LpsrDigTargetStableVoltage0P748V 

The target voltage selected as 0.748V

kPMU_LpsrDigTargetStableVoltage0P767V 

The target voltage selected as 0.767V

kPMU_LpsrDigTargetStableVoltage0P786V 

The target voltage selected as 0.786V

kPMU_LpsrDigTargetStableVoltage0P806V 

The target voltage selected as 0.806V

kPMU_LpsrDigTargetStableVoltage0P825V 

The target voltage selected as 0.825V

kPMU_LpsrDigTargetStableVoltage0P845V 

The target voltage selected as 0.845V

kPMU_LpsrDigTargetStableVoltage0P864V 

The target voltage selected as 0.864V

kPMU_LpsrDigTargetStableVoltage0P883V 

The target voltage selected as 0.883V

kPMU_LpsrDigTargetStableVoltage0P903V 

The target voltage selected as 0.903V

kPMU_LpsrDigTargetStableVoltage0P922V 

The target voltage selected as 0.922V

kPMU_LpsrDigTargetStableVoltage0P942V 

The target voltage selected as 0.942V

kPMU_LpsrDigTargetStableVoltage0P961V 

The target voltage selected as 0.961V

kPMU_LpsrDigTargetStableVoltage0P981V 

The target voltage selected as 0.981V

kPMU_LpsrDigTargetStableVoltage1P0V 

The target voltage selected as 1.0V

kPMU_LpsrDigTargetStableVoltage1P019V 

The target voltage selected as 1.019V

kPMU_LpsrDigTargetStableVoltage1P039V 

The target voltage selected as 1.039V

kPMU_LpsrDigTargetStableVoltage1P058V 

The target voltage selected as 1.058V

kPMU_LpsrDigTargetStableVoltage1P078V 

The target voltage selected as 1.078V

kPMU_LpsrDigTargetStableVoltage1P097V 

The target voltage selected as 1.097V

kPMU_LpsrDigTargetStableVoltage1P117V 

The target voltage selected as 1.117V

kPMU_LpsrDigTargetStableVoltage1P136V 

The target voltage selected as 1.136V

kPMU_LpsrDigTargetStableVoltage1P155V 

The target voltage selected as 1.155V

kPMU_LpsrDigTargetStableVoltage1P175V 

The target voltage selected as 1.175V

kPMU_LpsrDigTargetStableVoltage1P194V 

The target voltage selected as 1.194V

kPMU_LpsrDigTargetStableVoltage1P214V 

The target voltage selected as 1.214V

kPMU_LpsrDigTargetStableVoltage1P233V 

The target voltage selected as 1.233V

◆ _pmu_lpsr_dig_voltage_step_time

The enumeration of voltage step time for LPSR DIG LDO.

Enumerator
kPMU_LpsrDigVoltageStepInc15us 

LPSR DIG LDO voltage step time selected as 15us.

kPMU_LpsrDigVoltageStepInc25us 

LPSR DIG LDO voltage step time selected as 25us.

kPMU_LpsrDigVoltageStepInc50us 

LPSR DIG LDO voltage step time selected as 50us.

kPMU_LpsrDigVoltageStepInc100us 

LPSR DIG LDO voltage step time selected as 100us.

◆ _pmu_setpoint_map

System setpoints enumeration.

Enumerator
kPMU_SetPoint0 

Set point 0.

kPMU_SetPoint1 

Set point 1.

kPMU_SetPoint2 

Set point 2.

kPMU_SetPoint3 

Set point 3.

kPMU_SetPoint4 

Set point 4.

kPMU_SetPoint5 

Set point 5.

kPMU_SetPoint6 

Set point 6.

kPMU_SetPoint7 

Set point 7.

kPMU_SetPoint8 

Set point 8.

kPMU_SetPoint9 

Set point 9.

kPMU_SetPoint10 

Set point 10.

kPMU_SetPoint11 

Set point 11.

kPMU_SetPoint12 

Set point 12.

kPMU_SetPoint13 

Set point 13.

kPMU_SetPoint14 

Set point 14.

kPMU_SetPoint15 

Set point 15.

◆ _pmu_snvs_dig_charge_pump_current

The enumeration of the SNVS DIG LDO's charge pump current.

Enumerator
kPMU_SnvsDigChargePump12P5nA 

The current of SNVS DIG LDO's charge pump is selected as 12.5nA.

kPMU_SnvsDigChargePump6P25nA 

The current of SNVS DIG LDO's charge pump is selected as 6.25nA.

kPMU_SnvsDigChargePump18P75nA 

The current of SNVS DIG LDO's charge pump is selected as 18.75nA.

◆ _pmu_snvs_dig_discharge_resistor_value

The enumeration of the SNVS DIG LDO's discharge resistor.

Enumerator
kPMU_SnvsDigDischargeResistor15K 

The Discharge Resistor is selected as 15K ohm

kPMU_SnvsDigDischargeResistor30K 

The Discharge Resistor is selected as 30K ohm

kPMU_SnvsDigDischargeResistor9K 

The Discharge Resistor is selected as 9K ohm

◆ _pmu_static_bandgap_power_down_option

The enumeration of bandgap power down option.

Enumerator
kPMU_PowerDownBandgapFully 

Fully power down the bandgap module.

kPMU_PowerDownVoltageReferenceOutputOnly 

Power down only the reference output section of the bandgap

kPMU_PowerDownBandgapVBGUPDetector 

Power down the VBGUP detector of the bandgap without affecting any additional functionality.

◆ _pmu_well_bias_1P8_adjustment

The enumerator of well bias 1P8 adjustment.

Enumerator
kPMU_Cref0fFCspl0fFDeltaC0fF 

Cref = 0fF, Cspl = 0fF, DeltaC = 0fF.

kPMU_Cref0fFCspl30fFDeltaCN30fF 

Cref = 0fF, Cspl = 30fF, DeltaC = -30fF.

kPMU_Cref0fFCspl43fFDeltaCN43fF 

Cref = 0fF, Cspl = 43fF, DeltaC = -43fF.

kPMU_Cref0fFCspl62fFDeltaCN62fF 

Cref = 0fF, Cspl = 62fF, DeltaC = -62fF.

kPMU_Cref0fFCspl105fFDeltaCN105fF 

Cref = 0fF, Cspl = 105fF, DeltaC = -105fF.

kPMU_Cref30fFCspl0fFDeltaC30fF 

Cref = 30fF, Cspl = 0fF, DeltaC = 30fF.

kPMU_Cref30fFCspl43fFDeltaCN12fF 

Cref = 30fF, Cspl = 43fF, DeltaC = -12fF.

kPMU_Cref30fFCspl105fFDeltaCN75fF 

Cref = 30fF, Cspl = 105fF, DeltaC = -75fF.

kPMU_Cref43fFCspl0fFDeltaC43fF 

Cref = 43fF, Cspl = 0fF, DeltaC = 43fF.

kPMU_Cref43fFCspl30fFDeltaC13fF 

Cref = 43fF, Cspl = 30fF, DeltaC = 13fF.

kPMU_Cref43fFCspl62fFDeltaCN19fF 

Cref = 43fF, Cspl = 62fF, DeltaC = -19fF.

kPMU_Cref62fFCspl0fFDeltaC62fF 

Cref = 62fF, Cspl = 0fF, DeltaC = 62fF.

kPMU_Cref62fFCspl43fFDeltaC19fF 

Cref = 62fF, Cspl = 43fF, DeltaC = 19fF.

kPMU_Cref105fFCspl0fFDeltaC105fF 

Cref = 105fF, Cspl = 0fF, DeltaC = 105fF.

kPMU_Cref105fFCspl30fFDeltaC75fF 

Cref = 105fF, Cspl = 30fF, DeltaC = 75fF.

◆ _pmu_well_bias_power_source

The enumerator of well bias power source.

Enumerator
kPMU_WellBiasPowerFromLpsrDigLdo 

LPSR Dig LDO supplies the power stage and NWELL sampler.

kPMU_WellBiasPowerFromDCDC 

DCDC supplies the power stage and NWELL sampler.

◆ _pmu_well_bias_typical_freq

The enumerator of well bias typical frequency.

Enumerator
kPMU_OscFreqDiv128 

Typical frequency = osc_freq / 128.

kPMU_OscFreqDiv64 

Typical frequency = osc_freq / 64.

kPMU_OscFreqDiv32 

Typical frequency = osc_freq / 32.

kPMU_OscFreqDiv16 

Typical frequency = osc_freq / 16.

kPMU_OscFreqDiv8 

Typical frequency = osc_freq / 8.

kPMU_OscFreqDiv2 

Typical frequency = osc_freq / 2.

kPMU_OscFreq 

Typical frequency = oscillator frequency.

Function Documentation

◆ PMU_DisableBandgapSelfBiasAfterPowerUp()

void PMU_DisableBandgapSelfBiasAfterPowerUp ( void  )

Disables Bandgap self bias for best noise performance.

This function should be invoked after powering up. This function will wait for the bandgap stable and disable the bandgap self bias. After powering up, it need to wait for the bandgap to get stable and then disable Bandgap Self bias for best noise performance.

brief Disables Bandgap self bias for best noise performance.

This function waits for the bandgap to be stable and disables the bandgap self bias. After being powered up, it needs to wait for the bandgap stable to be stable and then disable Bandgap Self bias for best noise performance.

◆ PMU_EnableBandgapSelfBiasBeforePowerDown()

void PMU_EnableBandgapSelfBiasBeforePowerDown ( void  )

Enables Bandgap self bias before power down.

This function will enable Bandgap self bias feature before powering down or there will be risk of Bandgap not starting properly.

brief Enables Bandgap self bias before power down.

This function will enable Bandgap self bias feature before powering down or there will be risk of Bandgap not starting properly.

◆ PMU_EnableBodyBias()

void PMU_EnableBodyBias ( ANADIG_PMU_Type base,
pmu_body_bias_name_t  name,
bool  enable 
)

Enables/disables the selected body bias.

Parameters
basePMU peripheral base address.
nameThe name of the body bias to be turned on/off, please refer to pmu_body_bias_name_t.
enableUsed to turn on/off the specific body bias.
  • true Enable the selected body bias.
  • false Disable the selected body bias.

brief Enables/disables the selected body bias.

param base PMU peripheral base address. param name The name of the body bias to be turned on/off, please refer to pmu_body_bias_name_t. param enable Used to turn on/off the specific body bias.

  • true Enable the selected body bias.
  • false Disable the selected body bias.

◆ PMU_GetSnvsDigLdoDefaultConfig()

void PMU_GetSnvsDigLdoDefaultConfig ( pmu_snvs_dig_config_t config)

Gets the default config of the SNVS DIG LDO.

The default values are:

config->chargePumpCurrent = kPMU_SnvsDigChargePump12P5nA;
config->dischargeResistorValue = kPMU_SnvsDigDischargeResistor15K;
config->trimValue = 0U;
config->enablePullDown = true;
config->enableLdoStable = false;
@ kPMU_SnvsDigDischargeResistor15K
Definition: fsl_pmu.h:192
@ kPMU_LowPowerMode
Definition: fsl_pmu.h:102
@ kPMU_SnvsDigChargePump12P5nA
Definition: fsl_pmu.h:182
Definition: deflate.c:114
Parameters
configPointer to pmu_snvs_dig_config_t.

brief Gets the default config of the SNVS DIG LDO.

The default values are: code config->mode = kPMU_LowPowerMode; config->chargePumpCurrent = kPMU_SnvsDigChargePump12P5nA; config->dischargeResistorValue = kPMU_SnvsDigDischargeResistor15K; config->trimValue = 0U; config->enablePullDown = true; config->enableLdoStable = false; endcode

param config Pointer to the structure pmu_snvs_dig_config_t. Please refer to pmu_snvs_dig_config_t.

◆ PMU_GetWellBiasDefaultConfig()

void PMU_GetWellBiasDefaultConfig ( pmu_well_bias_config_t config)

Gets the default configuration of well bias.

Parameters
configThe pointer to the pmu_well_bias_config_t structure.

brief Enables/disables the selected body bias.

param base PMU peripheral base address. param name The name of the body bias to be turned on/off, please refer to pmu_body_bias_name_t. param enable Used to turn on/off the specific body bias.

  • true Enable the selected body bias.
  • false Disable the selected body bias.

◆ PMU_GPCEnableBodyBias()

void PMU_GPCEnableBodyBias ( pmu_body_bias_name_t  name,
uint32_t  setpointMap 
)

Controls the ON/OFF of the selected body bias in certain setpoints with GPC mode.

Parameters
nameThe name of the selected body bias. Please see enumeration pmu_body_bias_name_t for details.
setpointMapThe map of setpoints that the specific body bias will be enabled in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

brief Controls the ON/OFF of the selected body bias in the certain setpoints with GPC mode.

param name The name of the selected body bias. Please see the enumeration pmu_body_bias_name_t for details. param setpointMap The map of setpoints that the specific body bias will be enabled in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

◆ PMU_GPCEnableBodyBiasStandbyMode()

void PMU_GPCEnableBodyBiasStandbyMode ( pmu_body_bias_name_t  name,
uint32_t  setpointMap 
)

Controls the ON/OFF of the selected Body Bias' Wbias power switch in certain setpoints with GPC mode.

Parameters
nameThe name of the selected body bias. Please see the enumeration pmu_body_bias_name_t for details.
setpointMapThe map of setpoints that the specific body bias's wbias power switch will be turn on in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

brief Controls the ON/OFF of the selected Body Bias' Wbias power switch in certain setpoints with GPC mode.

param name The name of the selected body bias. Please see the enumeration pmu_body_bias_name_t for details. param setpointMap The map of setpoints that the specific body bias's wbias power switch will be turn on in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

◆ PMU_GPCEnableLdo()

void PMU_GPCEnableLdo ( pmu_ldo_name_t  name,
uint32_t  setpointMap 
)

Controls the ON/OFF of the selected LDO in certain setpoints with GPC mode.

Parameters
nameThe name of the selected ldo. Please see enumeration pmu_ldo_name_t for details.
setpointMapThe map of setpoints should be the OR'ed Value of _pmu_setpoint_map, 1b'1 means enable specific ldo in that setpoint. For example, the code PMU_GPCEnableLdo(kPMU_PllLdo, 0x1U) means to enable PLL LDO in setpoint 0 and disable PLL LDO in other setpoint.

brief Controls the ON/OFF of the selected LDO in the certain setpoints with GPC mode.

param name The name of the selected ldo. Please see the enumeration pmu_ldo_name_t for details. param setpointMap The map of setpoints should be the OR'ed Value of _pmu_setpoint_map, 1b'1 means enable specific ldo in that setpoint. For example, the code PMU_GPCEnableLdo(kPMU_PllLdo, 0x1U) means enable PLL LDO in setpoint 0, disable PLL LDO in other setpoint.

◆ PMU_GPCEnableLdoBypassMode()

void PMU_GPCEnableLdoBypassMode ( pmu_ldo_name_t  name,
uint32_t  setpointMap 
)

Controls the ON/OFF of the selected LDOs' Bypass mode in certain setpoints with GPC mode.

Parameters
nameThe name of the selected ldo. Please see enumeration pmu_ldo_name_t for details.
setpointMapThe map of setpoints that the LDO bypass mode will be enabled in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

brief Controls the ON/OFF of the selected LDOs' Bypass mode in the certain setpoints with GPC mode.

param name The name of the selected ldo. Please see the enumeration pmu_ldo_name_t for details. param setpointMap The map of setpoints that the LDO bypass mode will be enabled in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

◆ PMU_GPCEnableLdoStandbyMode()

void PMU_GPCEnableLdoStandbyMode ( pmu_ldo_name_t  name,
uint32_t  setpointMap 
)

When STBY assert, enable/disable the selected LDO enter it's Low power mode.

Parameters
nameThe name of the selected ldo. Please see enumeration pmu_ldo_name_t for details.
setpointMapThe map of setpoints that the LDO low power mode will be enabled in those setpoints if STBY assert, this value should be the OR'ed Value of _pmu_setpoint_map.

brief When STBY assert, enable/disable the selected LDO enter it's Low power mode.

param name The name of the selected ldo. Please see the enumeration pmu_ldo_name_t for details. param setpointMap The map of setpoints that the LDO low power mode will be enabled in those setpoints if STBY assert, this value should be the OR'ed Value of _pmu_setpoint_map.

◆ PMU_GPCEnableLdoTrackingMode()

void PMU_GPCEnableLdoTrackingMode ( pmu_ldo_name_t  name,
uint32_t  setpointMap 
)

Controls the ON/OFF of the selected LDOs' Tracking mode in certain setpoints with GPC mode.

Parameters
nameThe name of the selected ldo. Please see enumeration pmu_ldo_name_t for details.
setpointMapThe map of setpoints that the LDO tracking mode will be enabled in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

brief Controls the ON/OFF of the selected LDOs' Tracking mode in the certain setpoints with GPC mode.

param name The name of the selected ldo. Please see the enumeration pmu_ldo_name_t for details. param setpointMap The map of setpoints that the LDO tracking mode will be enabled in those setpoints, this value should be the OR'ed Value of _pmu_setpoint_map.

◆ PMU_GPCGetBodyBiasDefaultConfig()

void PMU_GPCGetBodyBiasDefaultConfig ( pmu_gpc_body_bias_config_t config)

Gets the default config of body bias in GPC mode.

Parameters
configPointer to structure pmu_gpc_body_bias_config_t.

brief Gets the default config of body bias in GPC mode.

param config Pointer to the structure pmu_gpc_body_bias_config_t.

◆ PMU_GPCSetBodyBiasConfig()

void PMU_GPCSetBodyBiasConfig ( pmu_body_bias_name_t  name,
const pmu_gpc_body_bias_config_t config 
)

Sets the config of the selected Body Bias in GPC mode.

Parameters
nameThe name of the selected body bias. Please see enumeration pmu_body_bias_name_t for details.
configPointer to structure pmu_gpc_body_bias_config_t.

brief Sets the config of the selected Body Bias in GPC mode.

param name The name of the selected body bias. Please see the enumeration pmu_body_bias_name_t for details. param config Pointer to the structure pmu_gpc_body_bias_config_t.

◆ PMU_GPCSetLdoOperateMode()

void PMU_GPCSetLdoOperateMode ( pmu_ldo_name_t  name,
uint32_t  setpointMap,
pmu_ldo_operate_mode_t  mode 
)

Sets the operating mode of the selected LDO in certain setpoints with GPC mode.

Parameters
nameThe name of the selected ldo. Please see enumeration pmu_ldo_name_t for details.
setpointMapThe map of setpoints should be the OR'ed Value of _pmu_setpoint_map.
modeThe operating mode of the selected ldo. Please refer to enumeration pmu_ldo_operate_mode_t for details.

brief Sets the operating mode of the selected LDO in the certain setpoints with GPC mode.

param name The name of the selected ldo. Please see the enumeration pmu_ldo_name_t for details. param setpointMap The map of setpoints should be the OR'ed Value of _pmu_setpoint_map. param mode The operating mode of the selected ldo. Please refer to the enumeration pmu_ldo_operate_mode_t for details.

◆ PMU_GPCSetLpsrDigLdoTargetVoltage()

void PMU_GPCSetLpsrDigLdoTargetVoltage ( uint32_t  setpointMap,
pmu_lpsr_dig_target_output_voltage_t  voltageValue 
)

Sets the voltage step of LPSR DIG LDO in certain setpoint during GPC mode.

Note
The function provides the feature to set the voltage step to different setpoints.
Parameters
setpointMapThe map of setpoints should be the OR'ed Value of _pmu_setpoint_map.
voltageValueThe voltage step to be set. See enumeration pmu_lpsr_dig_target_output_voltage_t.

brief Sets the voltage step of LPSR DIG LDO in the certain setpoint during GPC mode.

note The function provides the feature to set the voltage step to the different setpoints.

param setpointMap The map of setpoints should be the OR'ed Value of _pmu_setpoint_map. param voltageStep The voltage step to be set.

◆ PMU_SetBandgapControlMode()

void PMU_SetBandgapControlMode ( ANADIG_PMU_Type base,
pmu_control_mode_t  mode 
)

Selects the control mode of the Bandgap Reference.

Parameters
basePMU peripheral base address.
modeThe control mode of the Bandgap Reference. Please refer to pmu_control_mode_t.

brief Selects the control mode of the Bandgap Reference.

param base PMU peripheral base address. param mode The control mode of the Bandgap Reference. Please refer to pmu_control_mode_t.

◆ PMU_SetBodyBiasControlMode()

void PMU_SetBodyBiasControlMode ( ANADIG_PMU_Type base,
pmu_body_bias_name_t  name,
pmu_control_mode_t  mode 
)

Selects the control mode of the Body Bias.

Parameters
basePMU peripheral base address.
nameThe name of the body bias. Please refer to pmu_body_bias_name_t.
modeThe control mode of the Body Bias. Please refer to pmu_control_mode_t.

brief Selects the control mode of the Body Bias.

param base PMU peripheral base address. param name The name of the body bias. Please refer to pmu_body_bias_name_t. param mode The control mode of the Body Bias. Please refer to pmu_control_mode_t.

◆ PMU_SetLpsrAnaLdoControlMode()

void PMU_SetLpsrAnaLdoControlMode ( ANADIG_LDO_SNVS_Type base,
pmu_control_mode_t  mode 
)

Selects the control mode of the LPSR ANA LDO.

Parameters
basePMU peripheral base address.
modeThe control mode of the LPSR ANA LDO. Please refer to pmu_control_mode_t.

brief Selects the control mode of the LPSR ANA LDO.

param base PMU peripheral base address. param mode The control mode of the LPSR ANA LDO. Please refer to pmu_control_mode_t.

◆ PMU_SetLpsrDigLdoControlMode()

void PMU_SetLpsrDigLdoControlMode ( ANADIG_LDO_SNVS_Type base,
pmu_control_mode_t  mode 
)

Selects the control mode of the LPSR DIG LDO.

Parameters
basePMU peripheral base address.
modeThe control mode of the LPSR DIG LDO. Please refer to pmu_control_mode_t.

brief Selects the control mode of the LPSR DIG LDO.

param base ANADIG_LDO_SNVS peripheral base address. param mode The control mode of the LPSR DIG LDO. Please refer to pmu_control_mode_t.

◆ PMU_SetPllLdoControlMode()

void PMU_SetPllLdoControlMode ( ANADIG_PMU_Type base,
pmu_control_mode_t  mode 
)

Selects the control mode of the PLL LDO.

Parameters
basePMU peripheral base address.
modeThe control mode of the PLL LDO. Please refer to pmu_control_mode_t.

brief Selects the control mode of the PLL LDO.

param base PMU peripheral base address. param mode The control mode of the PLL LDO. Please refer to pmu_control_mode_t.

◆ PMU_SnvsDigLdoInit()

void PMU_SnvsDigLdoInit ( ANADIG_LDO_SNVS_DIG_Type base,
pmu_ldo_operate_mode_t  mode 
)

Initialize the SNVS DIG LDO.

Parameters
baseLDO SNVS DIG peripheral base address.
modeUsed to control LDO power mode, please refer to pmu_ldo_operate_mode_t.

brief Initialize the SNVS DIG LDO.

param base LDO SNVS DIG peripheral base address. param mode Used to control LDO power mode, please refer to pmu_ldo_operate_mode_t.

◆ PMU_StaticBandgapInit()

void PMU_StaticBandgapInit ( const pmu_static_bandgap_config_t config)

Initialize Bandgap.

Parameters
configPointer to the structure pmu_static_bandgap_config_t.

brief Init Bandgap.

param config. Pointer to the structure pmu_static_bandgap_config_t. Please refer to pmu_static_bandgap_config_t.

◆ PMU_StaticDisablePllLdo()

void PMU_StaticDisablePllLdo ( void  )

Disables PLL LDO via AI interface in Static/Software mode.

brief Disables PLL LDO via AI interface in Static/Software mode.

◆ PMU_StaticEnableLpsrAnaLdoBypassMode()

void PMU_StaticEnableLpsrAnaLdoBypassMode ( ANADIG_LDO_SNVS_Type base,
bool  enable 
)

Sets the Bypass mode of the LPSR ANA LDO.

Parameters
baseANADIG_LDO_SNVS peripheral base address.
enableEnable/Disable bypass mode.
  • true Enable LPSR ANA Bypass mode.
  • false Disable LPSR ANA Bypass mode.

brief Sets the Bypass mode of the LPSR ANA LDO.

param base ANADIG_LDO_SNVS peripheral base address. param enable Enable/Disable bypass mode.

  • true Enable LPSR ANA Bypass mode.
  • false Disable LPSR ANA Bypass mode.

◆ PMU_StaticEnableLpsrDigLdoBypassMode()

void PMU_StaticEnableLpsrDigLdoBypassMode ( ANADIG_LDO_SNVS_Type base,
bool  enable 
)

Turn on/off Bypass mode of the LPSR DIG LDO in Static/Software mode.

Parameters
baseANADIG_LDO_SNVS peripheral base address.
enable
  • true Turns on Bypass mode of the LPSR DIG LDO.
  • false Turns off Bypass mode of the LPSR DIG LDO.

brief Turn on/off Bypass mode of the LPSR DIG LDO in Static/Software mode.

param base ANADIG_LDO_SNVS peripheral base address. param enable true - Turn on Bypass mode of the LPSR DIG LDO. false - Turn off Bypass mode of the LPSR DIG LDO.

◆ PMU_StaticEnablePllLdo()

void PMU_StaticEnablePllLdo ( ANADIG_PMU_Type base)

Enables PLL LDO via AI interface in Static/Software mode.

Parameters
basePMU peripheral base address.

brief Enables PLL LDO via AI interface in Static/Software mode.

param base PMU peripheral base address.

◆ PMU_StaticGetLpsrAnaLdoDefaultConfig()

void PMU_StaticGetLpsrAnaLdoDefaultConfig ( pmu_static_lpsr_ana_ldo_config_t config)

Fill the LPSR ANA LDO configuration structure with default settings.

The default values are:

config->enable2mALoad = true;
config->enable20uALoad = false;
config->enable4mALoad = true;
config->enableStandbyMode = false;
config->driverStrength = kPMU_LpsrAnaLdoDriverStrength0;
config->brownOutDetectorConfig = kPMU_LpsrAnaLdoBrownOutDetectorDisable;
config->chargePumpCurrent = kPMU_LpsrAnaChargePump300nA;
@ kPMU_LpsrAnaChargePump300nA
Definition: fsl_pmu.h:111
@ kPMU_LpsrAnaLdoOutputFrom1P77To1P83
Definition: fsl_pmu.h:122
@ kPMU_HighPowerMode
Definition: fsl_pmu.h:103
Parameters
configPointer to the structure pmu_static_lpsr_ana_ldo_config_t.

brief Fill the LPSR ANA LDO configuration structure with default settings.

The default values are: code config->mode = kPMU_HighPowerMode; config->enable2mALoad = true; config->enable20uALoad = false; config->enable4mALoad = true; config->enableStandbyMode = false; config->driverStrength = kPMU_LpsrAnaLdoDriverStrength0; config->brownOutDetectorConfig = kPMU_LpsrAnaLdoBrownOutDetectorDisable; config->chargePumpCurrent = kPMU_LpsrAnaChargePump300nA; config->outputRange = kPMU_LpsrAnaLdoOutputFrom1P77To1P83; endcode

param config Pointer to the structure pmu_static_lpsr_ana_ldo_config_t. Please refer to pmu_static_lpsr_ana_ldo_config_t.

◆ PMU_StaticGetLpsrDigLdoDefaultConfig()

void PMU_StaticGetLpsrDigLdoDefaultConfig ( pmu_static_lpsr_dig_config_t config)

Gets the default configuration of LPSR DIG LDO.

The default values are:

config->enableStableDetect = false;
config->brownOutConfig = kPMU_LpsrDigBrownOutDisable;
@ kPMU_LpsrDigTargetStableVoltage1P0V
Definition: fsl_pmu.h:162
@ kPMU_LpsrDigVoltageStepInc50us
Definition: fsl_pmu.h:134
Parameters
configPointer to the structure pmu_static_lpsr_dig_config_t.
configPointer to the structure pmu_static_lpsr_dig_config_t. Please refer to pmu_static_lpsr_dig_config_t.

◆ PMU_StaticLpsrAnaLdoDeinit()

void PMU_StaticLpsrAnaLdoDeinit ( ANADIG_LDO_SNVS_Type base)

Disable the output of LPSR ANA LDO.

Parameters
baseANADIG_LDO_SNVS peripheral base address.

brief Disable the output of LPSR ANA LDO.

param base ANADIG_LDO_SNVS peripheral base address.

◆ PMU_StaticLpsrAnaLdoInit()

void PMU_StaticLpsrAnaLdoInit ( ANADIG_LDO_SNVS_Type base,
const pmu_static_lpsr_ana_ldo_config_t config 
)

Initialize the LPSR ANA LDO in Static/Sofware Mode.

Parameters
baseANADIG_LDO_SNVS peripheral base address.
configPointer to the structure pmu_static_lpsr_ana_ldo_config_t.

brief Initialize the LPSR ANA LDO in Static/Sofware Mode.

param base ANADIG_LDO_SNVS peripheral base address. param config Pointer to the structure pmu_static_lpsr_ana_ldo_config_t. Please refer to pmu_static_lpsr_ana_ldo_config_t.

◆ PMU_StaticLpsrDigLdoDeinit()

void PMU_StaticLpsrDigLdoDeinit ( ANADIG_LDO_SNVS_Type base)

Disable the LPSR DIG LDO.

Parameters
baseANADIG_LDO_SNVS peripheral base address.

◆ PMU_StaticLpsrDigLdoInit()

void PMU_StaticLpsrDigLdoInit ( ANADIG_LDO_SNVS_Type base,
const pmu_static_lpsr_dig_config_t config 
)

Initialize the LPSR DIG LDO in static mode.

Parameters
baseANADIG_LDO_SNVS peripheral base address.
configPointer to the structure pmu_static_lpsr_dig_config_t.
baseANADIG_LDO_SNVS peripheral base address.
configPointer to the structure pmu_static_lpsr_dig_config_t. Please refer to pmu_static_lpsr_dig_config_t.

◆ PMU_SwitchBandgapToGPCMode()

void PMU_SwitchBandgapToGPCMode ( ANADIG_PMU_Type base)

Switches the Bandgap from Static/Software Mode to GPC/Hardware Mode.

Parameters
basePMU peripheral base address.

brief Switches the Bandgap from Static/Software Mode to GPC/Hardware Mode.

param base PMU peripheral base address.

◆ PMU_SwitchPllLdoToGPCMode()

void PMU_SwitchPllLdoToGPCMode ( ANADIG_PMU_Type base)

Switches the PLL LDO from Static/Software Mode to GPC/Hardware Mode.

Parameters
basePMU peripheral base address.

brief Switches the PLL LDO from Static/Software Mode to GPC/Hardware Mode.

param base PMU peripheral base address.

◆ PMU_WellBiasInit()

void PMU_WellBiasInit ( ANADIG_PMU_Type base,
const pmu_well_bias_config_t config 
)

Configures Well bias, such as power source, clock source and so on.

Parameters
basePMU peripheral base address.
configPointer to the pmu_well_bias_config_t structure.

brief Configures Well bias, such as power source, clock source and so on.

param base PMU peripheral base address. param config Pointer to the pmu_well_bias_config_t structure.