MCUXpresso SDK API Reference Manual  Rev 2.16.000
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
DCDC_SOC driver

Overview

The MCUXpresso SDK provides APIs for MCUXpresso SDK devices' dcdc operation.

The DCDC Converter(DCDC) is used for generating the power supply for the chip's core logic. It can provide two outputs for SoC peripherals and external devices with high conversion efficiency. As a module to provide the power for hardware system, the DCDC starts working when the system is powered up before the software takes over the SoC. Some important configuration is done by the board settings. Before the software can access the DCDC's register, the DCDC is already working normally with the default settings. However, if the application needs to improve the DCDC's performance or change the default settings, this DCDC driver would be helpful. The DCDC's register cannot be accessed by software before its initialization (open the clock gate).

The DCDC module supports two control modes: Static control mode and Set point control mode. When the module controlled by GPC set points, that is set point control mode, the DCDC_SetPointInit() function can be used to enable DCDC module, set outputs' target voltage in the specific set point. When the control mode is set as static control mode, to change the target voltage value of DCDC's outputs, the APIs in "Outputs' Target Voltage Related Interfaces" function group can be used. To set DCDC module's power mode, the APIs in "Power Mode Related Interfaces" function group can be used.

Data Structures

struct  _dcdc_config
 Configuration for DCDC. More...
 
struct  _dcdc_min_power_config
 Configuration for min power setting. More...
 
struct  _dcdc_detection_config
 Configuration for DCDC detection. More...
 
struct  _dcdc_loop_control_config
 Configuration for the loop control. More...
 
struct  _dcdc_internal_regulator_config
 Configuration for DCDC internal regulator. More...
 
struct  _dcdc_low_power_config
 Configuration for DCDC low power. More...
 
struct  _dcdc_setpoint_config
 DCDC configuration in set point mode. More...
 

Macros

#define FSL_DCDC_DRIVER_VERSION   (MAKE_VERSION(2, 1, 2))
 DCDC driver version. More...
 
#define STANDBY_MODE_VDD1P0_TARGET_VOLTAGE
 The array of VDD1P0 target voltage in standby mode. More...
 
#define STANDBY_MODE_VDD1P8_TARGET_VOLTAGE
 The array of VDD1P8 target voltage in standby mode. More...
 
#define BUCK_MODE_VDD1P0_TARGET_VOLTAGE
 The array of VDD1P0 target voltage in buck mode. More...
 
#define BUCK_MODE_VDD1P8_TARGET_VOLTAGE
 The array of VDD1P8 target voltage in buck mode. More...
 

Typedefs

typedef enum _dcdc_control_mode dcdc_control_mode_t
 DCDC control mode, including setpoint control mode and static control mode.
 
typedef enum _dcdc_trim_input_mode dcdc_trim_input_mode_t
 DCDC trim input mode, including sample trim input and hold trim input.
 
typedef enum
_dcdc_standby_mode_1P0_target_vol 
dcdc_standby_mode_1P0_target_vol_t
 The enumeration VDD1P0's target voltage value in standby mode.
 
typedef enum
_dcdc_standby_mode_1P8_target_vol 
dcdc_standby_mode_1P8_target_vol_t
 The enumeration VDD1P8's target voltage value in standby mode.
 
typedef enum
_dcdc_buck_mode_1P0_target_vol 
dcdc_buck_mode_1P0_target_vol_t
 The enumeration VDD1P0's target voltage value in buck mode.
 
typedef enum
_dcdc_buck_mode_1P8_target_vol 
dcdc_buck_mode_1P8_target_vol_t
 The enumeration VDD1P8's target voltage value in buck mode.
 
typedef enum
_dcdc_comparator_current_bias 
dcdc_comparator_current_bias_t
 The current bias of low power comparator.
 
typedef enum
_dcdc_peak_current_threshold 
dcdc_peak_current_threshold_t
 The threshold if peak current detection.
 
typedef enum _dcdc_clock_source dcdc_clock_source_t
 Oscillator clock option.
 
typedef enum
_dcdc_voltage_output_sel 
dcdc_voltage_output_sel_t
 Voltage output option.
 
typedef struct _dcdc_config dcdc_config_t
 Configuration for DCDC.
 
typedef struct
_dcdc_min_power_config 
dcdc_min_power_config_t
 Configuration for min power setting.
 
typedef struct
_dcdc_detection_config 
dcdc_detection_config_t
 Configuration for DCDC detection.
 
typedef struct
_dcdc_loop_control_config 
dcdc_loop_control_config_t
 Configuration for the loop control.
 
typedef struct
_dcdc_internal_regulator_config 
dcdc_internal_regulator_config_t
 Configuration for DCDC internal regulator.
 
typedef struct
_dcdc_low_power_config 
dcdc_low_power_config_t
 Configuration for DCDC low power.
 
typedef struct
_dcdc_setpoint_config 
dcdc_setpoint_config_t
 DCDC configuration in set point mode.
 

Enumerations

enum  _dcdc_status_flags { kDCDC_AlreadySettledStatusFlag = DCDC_REG0_STS_DC_OK_MASK }
 The enumeration of DCDC status flags. More...
 
enum  _dcdc_setpoint_map {
  kDCDC_SetPoint0 = 1UL << 0UL,
  kDCDC_SetPoint1 = 1UL << 1UL,
  kDCDC_SetPoint2 = 1UL << 2UL,
  kDCDC_SetPoint3 = 1UL << 3UL,
  kDCDC_SetPoint4 = 1UL << 4UL,
  kDCDC_SetPoint5 = 1UL << 5UL,
  kDCDC_SetPoint6 = 1UL << 6UL,
  kDCDC_SetPoint7 = 1UL << 7UL,
  kDCDC_SetPoint8 = 1UL << 8UL,
  kDCDC_SetPoint9 = 1UL << 9UL,
  kDCDC_SetPoint10 = 1UL << 10UL,
  kDCDC_SetPoint11 = 1UL << 11UL,
  kDCDC_SetPoint12 = 1UL << 12UL,
  kDCDC_SetPoint13 = 1UL << 13UL,
  kDCDC_SetPoint14 = 1UL << 14UL,
  kDCDC_SetPoint15 = 1UL << 15UL
}
 System setpoints enumeration. More...
 
enum  _dcdc_control_mode {
  kDCDC_StaticControl = 0U,
  kDCDC_SetPointControl = 1U
}
 DCDC control mode, including setpoint control mode and static control mode. More...
 
enum  _dcdc_trim_input_mode {
  kDCDC_SampleTrimInput = 0U,
  kDCDC_HoldTrimInput = 1U
}
 DCDC trim input mode, including sample trim input and hold trim input. More...
 
enum  _dcdc_standby_mode_1P0_target_vol {
  kDCDC_1P0StbyTarget0P625V = 0U,
  kDCDC_1P0StbyTarget0P65V,
  kDCDC_1P0StbyTarget0P675V,
  kDCDC_1P0StbyTarget0P7V,
  kDCDC_1P0StbyTarget0P725V,
  kDCDC_1P0StbyTarget0P75V,
  kDCDC_1P0StbyTarget0P775V,
  kDCDC_1P0StbyTarget0P8V,
  kDCDC_1P0StbyTarget0P825V,
  kDCDC_1P0StbyTarget0P85V,
  kDCDC_1P0StbyTarget0P875V,
  kDCDC_1P0StbyTarget0P9V,
  kDCDC_1P0StbyTarget0P925V,
  kDCDC_1P0StbyTarget0P95V,
  kDCDC_1P0StbyTarget0P975V,
  kDCDC_1P0StbyTarget1P0V,
  kDCDC_1P0StbyTarget1P025V,
  kDCDC_1P0StbyTarget1P05V,
  kDCDC_1P0StbyTarget1P075V,
  kDCDC_1P0StbyTarget1P1V,
  kDCDC_1P0StbyTarget1P125V,
  kDCDC_1P0StbyTarget1P15V,
  kDCDC_1P0StbyTarget1P175V,
  kDCDC_1P0StbyTarget1P2V,
  kDCDC_1P0StbyTarget1P225V,
  kDCDC_1P0StbyTarget1P25V,
  kDCDC_1P0StbyTarget1P275V,
  kDCDC_1P0StbyTarget1P3V,
  kDCDC_1P0StbyTarget1P325V,
  kDCDC_1P0StbyTarget1P35V,
  kDCDC_1P0StbyTarget1P375V,
  kDCDC_1P0StbyTarget1P4V = 0x1FU
}
 The enumeration VDD1P0's target voltage value in standby mode. More...
 
enum  _dcdc_standby_mode_1P8_target_vol {
  kDCDC_1P8StbyTarget1P525V = 0U,
  kDCDC_1P8StbyTarget1P55V,
  kDCDC_1P8StbyTarget1P575V,
  kDCDC_1P8StbyTarget1P6V,
  kDCDC_1P8StbyTarget1P625V,
  kDCDC_1P8StbyTarget1P65V,
  kDCDC_1P8StbyTarget1P675V,
  kDCDC_1P8StbyTarget1P7V,
  kDCDC_1P8StbyTarget1P725V,
  kDCDC_1P8StbyTarget1P75V,
  kDCDC_1P8StbyTarget1P775V,
  kDCDC_1P8StbyTarget1P8V,
  kDCDC_1P8StbyTarget1P825V,
  kDCDC_1P8StbyTarget1P85V,
  kDCDC_1P8StbyTarget1P875V,
  kDCDC_1P8StbyTarget1P9V,
  kDCDC_1P8StbyTarget1P925V,
  kDCDC_1P8StbyTarget1P95V,
  kDCDC_1P8StbyTarget1P975V,
  kDCDC_1P8StbyTarget2P0V,
  kDCDC_1P8StbyTarget2P025V,
  kDCDC_1P8StbyTarget2P05V,
  kDCDC_1P8StbyTarget2P075V,
  kDCDC_1P8StbyTarget2P1V,
  kDCDC_1P8StbyTarget2P125V,
  kDCDC_1P8StbyTarget2P15V,
  kDCDC_1P8StbyTarget2P175V,
  kDCDC_1P8StbyTarget2P2V,
  kDCDC_1P8StbyTarget2P225V,
  kDCDC_1P8StbyTarget2P25V,
  kDCDC_1P8StbyTarget2P275V,
  kDCDC_1P8StbyTarget2P3V = 0x1FU
}
 The enumeration VDD1P8's target voltage value in standby mode. More...
 
enum  _dcdc_buck_mode_1P0_target_vol {
  kDCDC_1P0BuckTarget0P6V = 0U,
  kDCDC_1P0BuckTarget0P625V,
  kDCDC_1P0BuckTarget0P65V,
  kDCDC_1P0BuckTarget0P675V,
  kDCDC_1P0BuckTarget0P7V,
  kDCDC_1P0BuckTarget0P725V,
  kDCDC_1P0BuckTarget0P75V,
  kDCDC_1P0BuckTarget0P775V,
  kDCDC_1P0BuckTarget0P8V,
  kDCDC_1P0BuckTarget0P825V,
  kDCDC_1P0BuckTarget0P85V,
  kDCDC_1P0BuckTarget0P875V,
  kDCDC_1P0BuckTarget0P9V,
  kDCDC_1P0BuckTarget0P925V,
  kDCDC_1P0BuckTarget0P95V,
  kDCDC_1P0BuckTarget0P975V,
  kDCDC_1P0BuckTarget1P0V,
  kDCDC_1P0BuckTarget1P025V,
  kDCDC_1P0BuckTarget1P05V,
  kDCDC_1P0BuckTarget1P075V,
  kDCDC_1P0BuckTarget1P1V,
  kDCDC_1P0BuckTarget1P125V,
  kDCDC_1P0BuckTarget1P15V,
  kDCDC_1P0BuckTarget1P175V,
  kDCDC_1P0BuckTarget1P2V,
  kDCDC_1P0BuckTarget1P225V,
  kDCDC_1P0BuckTarget1P25V,
  kDCDC_1P0BuckTarget1P275V,
  kDCDC_1P0BuckTarget1P3V,
  kDCDC_1P0BuckTarget1P325V,
  kDCDC_1P0BuckTarget1P35V,
  kDCDC_1P0BuckTarget1P375V = 0x1FU
}
 The enumeration VDD1P0's target voltage value in buck mode. More...
 
enum  _dcdc_buck_mode_1P8_target_vol {
  kDCDC_1P8BuckTarget1P5V = 0U,
  kDCDC_1P8BuckTarget1P525V,
  kDCDC_1P8BuckTarget1P55V,
  kDCDC_1P8BuckTarget1P575V,
  kDCDC_1P8BuckTarget1P6V,
  kDCDC_1P8BuckTarget1P625V,
  kDCDC_1P8BuckTarget1P65V,
  kDCDC_1P8BuckTarget1P675V,
  kDCDC_1P8BuckTarget1P7V,
  kDCDC_1P8BuckTarget1P725V,
  kDCDC_1P8BuckTarget1P75V,
  kDCDC_1P8BuckTarget1P775V,
  kDCDC_1P8BuckTarget1P8V,
  kDCDC_1P8BuckTarget1P825V,
  kDCDC_1P8BuckTarget1P85V,
  kDCDC_1P8BuckTarget1P875V,
  kDCDC_1P8BuckTarget1P9V,
  kDCDC_1P8BuckTarget1P925V,
  kDCDC_1P8BuckTarget1P95V,
  kDCDC_1P8BuckTarget1P975V,
  kDCDC_1P8BuckTarget2P0V,
  kDCDC_1P8BuckTarget2P025V,
  kDCDC_1P8BuckTarget2P05V,
  kDCDC_1P8BuckTarget2P075V,
  kDCDC_1P8BuckTarget2P1V,
  kDCDC_1P8BuckTarget2P125V,
  kDCDC_1P8BuckTarget2P15V,
  kDCDC_1P8BuckTarget2P175V,
  kDCDC_1P8BuckTarget2P2V,
  kDCDC_1P8BuckTarget2P225V,
  kDCDC_1P8BuckTarget2P25V,
  kDCDC_1P8BuckTarget2P275V = 0x1FU
}
 The enumeration VDD1P8's target voltage value in buck mode. More...
 
enum  _dcdc_comparator_current_bias {
  kDCDC_ComparatorCurrentBias50nA = 0U,
  kDCDC_ComparatorCurrentBias100nA = 1U,
  kDCDC_ComparatorCurrentBias200nA = 2U,
  kDCDC_ComparatorCurrentBias400nA = 3U
}
 The current bias of low power comparator. More...
 
enum  _dcdc_peak_current_threshold {
  kDCDC_PeakCurrentRunMode250mALPMode1P5A = 0U,
  kDCDC_PeakCurrentRunMode200mALPMode1P5A,
  kDCDC_PeakCurrentRunMode250mALPMode2A,
  kDCDC_PeakCurrentRunMode200mALPMode2A
}
 The threshold if peak current detection. More...
 
enum  _dcdc_clock_source {
  kDCDC_ClockAutoSwitch = 0U,
  kDCDC_ClockInternalOsc = 1U,
  kDCDC_ClockExternalOsc = 2U
}
 Oscillator clock option. More...
 
enum  _dcdc_voltage_output_sel {
  kDCDC_VoltageOutput1P8 = 0U,
  kDCDC_VoltageOutput1P0 = 1U
}
 Voltage output option. More...
 

Initialization and De-initialization Interfaces

void DCDC_Init (DCDC_Type *base, const dcdc_config_t *config)
 Initializes the basic resource of DCDC module, such as control mode, etc. More...
 
void DCDC_Deinit (DCDC_Type *base)
 De-initializes the DCDC module. More...
 
void DCDC_GetDefaultConfig (dcdc_config_t *config)
 Gets the default setting for DCDC, such as control mode, etc. More...
 

Power Mode Related Interfaces

static void DCDC_EnterLowPowerModeViaStandbyRequest (DCDC_Type *base, bool enable)
 Makes the DCDC enter into low power mode for GPC standby request or not. More...
 
static void DCDC_EnterLowPowerMode (DCDC_Type *base, bool enable)
 Makes DCDC enter into low power mode or not, before entering low power mode must disable stepping for VDD1P8 and VDD1P0. More...
 
static void DCDC_EnterStandbyMode (DCDC_Type *base, bool enable)
 Makes DCDC enter into standby mode or not. More...
 

Outputs' Target Voltage Related Interfaces

static void DCDC_SetVDD1P0StandbyModeTargetVoltage (DCDC_Type *base, dcdc_standby_mode_1P0_target_vol_t targetVoltage)
 Sets the target value(ranges from 0.625V to 1.4V) of VDD1P0 in standby mode, 25mV each step. More...
 
static uint16_t DCDC_GetVDD1P0StandbyModeTargetVoltage (DCDC_Type *base)
 Gets the target value of VDD1P0 in standby mode, the result takes "mV" as the unit. More...
 
static void DCDC_SetVDD1P8StandbyModeTargetVoltage (DCDC_Type *base, dcdc_standby_mode_1P8_target_vol_t targetVoltage)
 Sets the target value(ranges from 1.525V to 2.3V) of VDD1P8 in standby mode, 25mV each step. More...
 
static uint16_t DCDC_GetVDD1P8StandbyModeTargetVoltage (DCDC_Type *base)
 Gets the target value of VDD1P8 in standby mode, the result takes "mV" as the unit. More...
 
static void DCDC_SetVDD1P0BuckModeTargetVoltage (DCDC_Type *base, dcdc_buck_mode_1P0_target_vol_t targetVoltage)
 Sets the target value(ranges from 0.6V to 1.375V) of VDD1P0 in buck mode, 25mV each step. More...
 
static uint16_t DCDC_GetVDD1P0BuckModeTargetVoltage (DCDC_Type *base)
 Gets the target value of VDD1P0 in buck mode, the result takes "mV" as the unit. More...
 
static void DCDC_SetVDD1P8BuckModeTargetVoltage (DCDC_Type *base, dcdc_buck_mode_1P8_target_vol_t targetVoltage)
 Sets the target value(ranges from 1.5V to 2.275V) of VDD1P8 in buck mode, 25mV each step. More...
 
static uint16_t DCDC_GetVDD1P8BuckModeTargetVoltage (DCDC_Type *base)
 Gets the target value of VDD1P8 in buck mode, the result takes "mV" as the unit. More...
 
static void DCDC_EnableVDD1P0TargetVoltageStepping (DCDC_Type *base, bool enable)
 Enables/Disables stepping for VDD1P0, before entering low power modes the stepping for VDD1P0 must be disabled. More...
 
static void DCDC_EnableVDD1P8TargetVoltageStepping (DCDC_Type *base, bool enable)
 Enables/Disables stepping for VDD1P8, before entering low power modes the stepping for VDD1P8 must be disabled. More...
 

Detection Related Inferfaces

void DCDC_GetDefaultDetectionConfig (dcdc_detection_config_t *config)
 Gets the default setting for detection configuration. More...
 
void DCDC_SetDetectionConfig (DCDC_Type *base, const dcdc_detection_config_t *config)
 Configures the DCDC detection. More...
 

DCDC Miscellaneous Inferfaces

static void DCDC_EnableOutputRangeComparator (DCDC_Type *base, bool enable)
 Enables/Disables the output range comparator. More...
 
void DCDC_SetClockSource (DCDC_Type *base, dcdc_clock_source_t clockSource)
 Configures the DCDC clock source. More...
 
void DCDC_GetDefaultLowPowerConfig (dcdc_low_power_config_t *config)
 Gets the default setting for low power configuration. More...
 
void DCDC_SetLowPowerConfig (DCDC_Type *base, const dcdc_low_power_config_t *config)
 Configures the DCDC low power. More...
 
static void DCDC_SetBandgapVoltageTrimValue (DCDC_Type *base, uint32_t trimValue)
 Sets the bangap trim value(0~31) to trim bandgap voltage. More...
 
void DCDC_GetDefaultLoopControlConfig (dcdc_loop_control_config_t *config)
 Gets the default setting for loop control configuration. More...
 
void DCDC_SetLoopControlConfig (DCDC_Type *base, const dcdc_loop_control_config_t *config)
 Configures the DCDC loop control. More...
 
void DCDC_SetMinPowerConfig (DCDC_Type *base, const dcdc_min_power_config_t *config)
 Configures for the min power. More...
 
static void DCDC_SetLPComparatorBiasValue (DCDC_Type *base, dcdc_comparator_current_bias_t biasValue)
 Sets the current bias of low power comparator. More...
 
void DCDC_SetInternalRegulatorConfig (DCDC_Type *base, const dcdc_internal_regulator_config_t *config)
 Configures the DCDC internal regulator. More...
 
static void DCDC_EnableAdjustDelay (DCDC_Type *base, bool enable)
 Adjusts delay to reduce ground noise. More...
 
static void DCDC_EnableImproveTransition (DCDC_Type *base, bool enable)
 Enables/Disables to improve the transition from heavy load to light load. More...
 

Setpoint Control Related Interfaces

void DCDC_SetPointInit (DCDC_Type *base, const dcdc_setpoint_config_t *config)
 Initializes DCDC module when the control mode selected as setpoint mode. More...
 
static void DCDC_SetPointDeinit (DCDC_Type *base, uint32_t setpointMap)
 Disable DCDC module when the control mode selected as setpoint mode. More...
 

DCDC Status Related Interfaces

static uint32_t DCDC_GetStatusFlags (DCDC_Type *base)
 Get DCDC status flags. More...
 

Application Guideline Interfaces

void DCDC_BootIntoDCM (DCDC_Type *base)
 Boots DCDC into DCM(discontinous conduction mode). More...
 
void DCDC_BootIntoCCM (DCDC_Type *base)
 Boots DCDC into CCM(continous conduction mode). More...
 

Data Structure Documentation

struct _dcdc_config

Data Fields

dcdc_control_mode_t controlMode
 DCDC control mode. More...
 
dcdc_trim_input_mode_t trimInputMode
 Hold trim input. More...
 
bool enableDcdcTimeout
 Enable internal count for DCDC_OK timeout. More...
 
bool enableSwitchingConverterOutput
 Enable the VDDIO switching converter output. More...
 

Field Documentation

dcdc_control_mode_t _dcdc_config::controlMode
dcdc_trim_input_mode_t _dcdc_config::trimInputMode
bool _dcdc_config::enableDcdcTimeout
bool _dcdc_config::enableSwitchingConverterOutput
struct _dcdc_min_power_config

Data Fields

bool enableUseHalfFreqForContinuous
 Set DCDC clock to half frequency for the continuous mode. More...
 

Field Documentation

bool _dcdc_min_power_config::enableUseHalfFreqForContinuous
struct _dcdc_detection_config

Data Fields

bool enableXtalokDetection
 Enable xtalok detection circuit. More...
 
bool powerDownOverVoltageVdd1P8Detection
 Power down over-voltage detection comparator for VDD1P8. More...
 
bool powerDownOverVoltageVdd1P0Detection
 Power down over-voltage detection comparator for VDD1P0. More...
 
bool powerDownLowVoltageDetection
 Power down low-voltage detection comparator. More...
 
bool powerDownOverCurrentDetection
 Power down over-current detection. More...
 
bool powerDownPeakCurrentDetection
 Power down peak-current detection. More...
 
bool powerDownZeroCrossDetection
 Power down the zero cross detection function for discontinuous conductor mode. More...
 
dcdc_peak_current_threshold_t PeakCurrentThreshold
 The threshold of peak current detection. More...
 

Field Documentation

bool _dcdc_detection_config::enableXtalokDetection
bool _dcdc_detection_config::powerDownOverVoltageVdd1P8Detection
bool _dcdc_detection_config::powerDownOverVoltageVdd1P0Detection
bool _dcdc_detection_config::powerDownLowVoltageDetection
bool _dcdc_detection_config::powerDownOverCurrentDetection
bool _dcdc_detection_config::powerDownPeakCurrentDetection
bool _dcdc_detection_config::powerDownZeroCrossDetection
dcdc_peak_current_threshold_t _dcdc_detection_config::PeakCurrentThreshold
struct _dcdc_loop_control_config

Data Fields

bool enableCommonHysteresis
 Enable hysteresis in switching converter common mode analog comparators. More...
 
bool enableCommonThresholdDetection
 Increase the threshold detection for common mode analog comparator. More...
 
bool enableDifferentialHysteresis
 Enable hysteresis in switching converter differential mode analog comparators. More...
 
bool enableDifferentialThresholdDetection
 Increase the threshold detection for differential mode analog comparators. More...
 
bool enableInvertHysteresisSign
 Invert the sign of the hysteresis in DC-DC analog comparators. More...
 
bool enableRCThresholdDetection
 Increase the threshold detection for RC scale circuit. More...
 
uint32_t enableRCScaleCircuit
 Available range is 0~7. More...
 
uint32_t complementFeedForwardStep
 Available range is 0~7. More...
 
uint32_t controlParameterMagnitude
 Available range is 0~15. More...
 
uint32_t integralProportionalRatio
 Available range is 0~3.Ratio of integral control parameter to proportional control parameter in the switching DC-DC converter, and can be used to optimize efficiency and loop response. More...
 

Field Documentation

bool _dcdc_loop_control_config::enableCommonHysteresis

This feature will improve transient supply ripple and efficiency.

bool _dcdc_loop_control_config::enableCommonThresholdDetection
bool _dcdc_loop_control_config::enableDifferentialHysteresis

This feature will improve transient supply ripple and efficiency.

bool _dcdc_loop_control_config::enableDifferentialThresholdDetection
bool _dcdc_loop_control_config::enableInvertHysteresisSign
bool _dcdc_loop_control_config::enableRCThresholdDetection
uint32_t _dcdc_loop_control_config::enableRCScaleCircuit

Enable analog circuit of DC-DC converter to respond faster under transient load conditions.

uint32_t _dcdc_loop_control_config::complementFeedForwardStep

Two's complement feed forward step in duty cycle in the switching DC-DC converter. Each time this field makes a transition from 0x0, the loop filter of the DC-DC converter is stepped once by a value proportional to the change. This can be used to force a certain control loop behavior, such as improving response under known heavy load transients.

uint32_t _dcdc_loop_control_config::controlParameterMagnitude

Magnitude of proportional control parameter in the switching DC-DC converter control loop.

uint32_t _dcdc_loop_control_config::integralProportionalRatio
struct _dcdc_internal_regulator_config

Data Fields

uint32_t feedbackPoint
 Available range is 0~3. More...
 

Field Documentation

uint32_t _dcdc_internal_regulator_config::feedbackPoint

Select the feedback point of the internal regulator.

struct _dcdc_low_power_config

Data Fields

bool enableAdjustHystereticValue
 Adjust hysteretic value in low power from 12.5mV to 25mV. More...
 

Field Documentation

bool _dcdc_low_power_config::enableAdjustHystereticValue
struct _dcdc_setpoint_config

Data Fields

uint32_t enableDCDCMap
 The setpoint map that enable the DCDC module. More...
 
uint32_t enableDigLogicMap
 The setpoint map that enable the DCDC dig logic. More...
 
uint32_t lowpowerMap
 The setpoint map that enable the DCDC Low powermode. More...
 
uint32_t standbyMap
 The setpoint map that enable the DCDC standby mode. More...
 
uint32_t standbyLowpowerMap
 The setpoint map that enable the DCDC low power mode, when the related setpoint is in standby mode. More...
 
dcdc_buck_mode_1P8_target_vol_tbuckVDD1P8TargetVoltage
 Point to the array that store the target voltage level of VDD1P8 in buck mode, please refer to dcdc_buck_mode_1P8_target_vol_t. More...
 
dcdc_buck_mode_1P0_target_vol_tbuckVDD1P0TargetVoltage
 Point to the array that store the target voltage level of VDD1P0 in buck mode, please refer to dcdc_buck_mode_1P0_target_vol_t. More...
 
dcdc_standby_mode_1P8_target_vol_tstandbyVDD1P8TargetVoltage
 
    Point to the array that store the target

voltage level of VDD1P8 in standby mode, please refer to dcdc_standby_mode_1P8_target_vol_t. More...

 
dcdc_standby_mode_1P0_target_vol_tstandbyVDD1P0TargetVoltage
 
    Point to the array that store the target

voltage level of VDD1P0 in standby mode, please refer to dcdc_standby_mode_1P0_target_vol_t. More...

 

Field Documentation

uint32_t _dcdc_setpoint_config::enableDCDCMap

Should be the OR'ed value of _dcdc_setpoint_map.

uint32_t _dcdc_setpoint_config::enableDigLogicMap

Should be the OR'ed value of _dcdc_setpoint_map.

uint32_t _dcdc_setpoint_config::lowpowerMap

Should be the OR'ed value of _dcdc_setpoint_map.

uint32_t _dcdc_setpoint_config::standbyMap

Should be the OR'ed value of _dcdc_setpoint_map.

uint32_t _dcdc_setpoint_config::standbyLowpowerMap

Please refer to _dcdc_setpoint_map.

dcdc_buck_mode_1P8_target_vol_t* _dcdc_setpoint_config::buckVDD1P8TargetVoltage

Note that the pointed array must have 16 elements.

dcdc_buck_mode_1P0_target_vol_t* _dcdc_setpoint_config::buckVDD1P0TargetVoltage

Note that the pointed array must have 16 elements.

dcdc_standby_mode_1P8_target_vol_t* _dcdc_setpoint_config::standbyVDD1P8TargetVoltage

Note that the pointed array must have 16 elements.

dcdc_standby_mode_1P0_target_vol_t* _dcdc_setpoint_config::standbyVDD1P0TargetVoltage

Note that the pointed array must have 16 elements.

Macro Definition Documentation

#define FSL_DCDC_DRIVER_VERSION   (MAKE_VERSION(2, 1, 2))

Version 2.1.2.

#define STANDBY_MODE_VDD1P0_TARGET_VOLTAGE
Value:
{ \
625, 650, 675, 700, 725, 750, 775, 800, 825, 850, 875, 900, 925, 950, 975, 1000, 1025, 1050, 1075, 1100, 1125, \
1150, 1175, 1200, 1225, 1250, 1275, 1300, 1325, 1350, 1375, 1400 \
}
#define STANDBY_MODE_VDD1P8_TARGET_VOLTAGE
Value:
{ \
1525, 1550, 1575, 1600, 1625, 1650, 1675, 1700, 1725, 1750, 1775, 1800, 1825, 1850, 1875, 1900, 1925, 1950, \
1975, 2000, 2025, 2050, 2075, 2100, 2125, 2150, 2175, 2200, 2225, 2250, 2275, 2300 \
}
#define BUCK_MODE_VDD1P0_TARGET_VOLTAGE
Value:
{ \
600, 625, 650, 675, 700, 725, 750, 775, 800, 825, 850, 875, 900, 925, 950, 975, 1000, 1025, 1050, 1075, 1100, \
1125, 1150, 1175, 1200, 1225, 1250, 1275, 1300, 1325, 1350, 1375 \
}
#define BUCK_MODE_VDD1P8_TARGET_VOLTAGE
Value:
{ \
1500, 1525, 1550, 1575, 1600, 1625, 1650, 1675, 1700, 1725, 1750, 1775, 1800, 1825, 1850, 1875, 1900, 1925, \
1950, 1975, 2000, 2025, 2050, 2075, 2100, 2125, 2150, 2175, 2200, 2225, 2250, 2275 \
}

Enumeration Type Documentation

Enumerator
kDCDC_AlreadySettledStatusFlag 

Indicate DCDC status.

1'b1: DCDC already settled 1'b0: DCDC is settling.

Enumerator
kDCDC_SetPoint0 

Set point 0.

kDCDC_SetPoint1 

Set point 1.

kDCDC_SetPoint2 

Set point 2.

kDCDC_SetPoint3 

Set point 3.

kDCDC_SetPoint4 

Set point 4.

kDCDC_SetPoint5 

Set point 5.

kDCDC_SetPoint6 

Set point 6.

kDCDC_SetPoint7 

Set point 7.

kDCDC_SetPoint8 

Set point 8.

kDCDC_SetPoint9 

Set point 9.

kDCDC_SetPoint10 

Set point 10.

kDCDC_SetPoint11 

Set point 11.

kDCDC_SetPoint12 

Set point 12.

kDCDC_SetPoint13 

Set point 13.

kDCDC_SetPoint14 

Set point 14.

kDCDC_SetPoint15 

Set point 15.

Enumerator
kDCDC_StaticControl 

Static control.

kDCDC_SetPointControl 

Controlled by GPC set points.

Enumerator
kDCDC_SampleTrimInput 

Sample trim input.

kDCDC_HoldTrimInput 

Hold trim input.

Enumerator
kDCDC_1P0StbyTarget0P625V 

In standby mode, the target voltage value of VDD1P0 is 0.625V.

kDCDC_1P0StbyTarget0P65V 

In standby mode, the target voltage value of VDD1P0 is 0.65V.

kDCDC_1P0StbyTarget0P675V 

In standby mode, the target voltage value of VDD1P0 is 0.675V.

kDCDC_1P0StbyTarget0P7V 

In standby mode, the target voltage value of VDD1P0 is 0.7V.

kDCDC_1P0StbyTarget0P725V 

In standby mode, the target voltage value of VDD1P0 is 0.725V.

kDCDC_1P0StbyTarget0P75V 

In standby mode, the target voltage value of VDD1P0 is 0.75V.

kDCDC_1P0StbyTarget0P775V 

In standby mode, the target voltage value of VDD1P0 is 0.775V.

kDCDC_1P0StbyTarget0P8V 

In standby mode, the target voltage value of VDD1P0 is 0.8V.

kDCDC_1P0StbyTarget0P825V 

In standby mode, the target voltage value of VDD1P0 is 0.825V.

kDCDC_1P0StbyTarget0P85V 

In standby mode, the target voltage value of VDD1P0 is 0.85V.

kDCDC_1P0StbyTarget0P875V 

In standby mode, the target voltage value of VDD1P0 is 0.875V.

kDCDC_1P0StbyTarget0P9V 

In standby mode, the target voltage value of VDD1P0 is 0.9V.

kDCDC_1P0StbyTarget0P925V 

In standby mode, the target voltage value of VDD1P0 is 0.925V.

kDCDC_1P0StbyTarget0P95V 

In standby mode, the target voltage value of VDD1P0 is 0.95V.

kDCDC_1P0StbyTarget0P975V 

In standby mode, the target voltage value of VDD1P0 is 0.975V.

kDCDC_1P0StbyTarget1P0V 

In standby mode, the target voltage value of VDD1P0 is 1.0V.

kDCDC_1P0StbyTarget1P025V 

In standby mode, the target voltage value of VDD1P0 is 1.025V.

kDCDC_1P0StbyTarget1P05V 

In standby mode, the target voltage value of VDD1P0 is 1.05V.

kDCDC_1P0StbyTarget1P075V 

In standby mode, the target voltage value of VDD1P0 is 1.075V.

kDCDC_1P0StbyTarget1P1V 

In standby mode, the target voltage value of VDD1P0 is 1.1V.

kDCDC_1P0StbyTarget1P125V 

In standby mode, the target voltage value of VDD1P0 is 1.125V.

kDCDC_1P0StbyTarget1P15V 

In standby mode, the target voltage value of VDD1P0 is 1.15V.

kDCDC_1P0StbyTarget1P175V 

In standby mode, the target voltage value of VDD1P0 is 1.175V.

kDCDC_1P0StbyTarget1P2V 

In standby mode, the target voltage value of VDD1P0 is 1.2V.

kDCDC_1P0StbyTarget1P225V 

In standby mode, the target voltage value of VDD1P0 is 1.225V.

kDCDC_1P0StbyTarget1P25V 

In standby mode, the target voltage value of VDD1P0 is 1.25V.

kDCDC_1P0StbyTarget1P275V 

In standby mode, the target voltage value of VDD1P0 is 1.275V.

kDCDC_1P0StbyTarget1P3V 

In standby mode, the target voltage value of VDD1P0 is 1.3V.

kDCDC_1P0StbyTarget1P325V 

In standby mode, the target voltage value of VDD1P0 is 1.325V.

kDCDC_1P0StbyTarget1P35V 

In standby mode, the target voltage value of VDD1P0 is 1.35V.

kDCDC_1P0StbyTarget1P375V 

In standby mode, the target voltage value of VDD1P0 is 1.375V.

kDCDC_1P0StbyTarget1P4V 

In standby mode, The target voltage value of VDD1P0 is 1.4V.

Enumerator
kDCDC_1P8StbyTarget1P525V 

In standby mode, the target voltage value of VDD1P8 is 1.525V.

kDCDC_1P8StbyTarget1P55V 

In standby mode, the target voltage value of VDD1P8 is 1.55V.

kDCDC_1P8StbyTarget1P575V 

In standby mode, the target voltage value of VDD1P8 is 1.575V.

kDCDC_1P8StbyTarget1P6V 

In standby mode, the target voltage value of VDD1P8 is 1.6V.

kDCDC_1P8StbyTarget1P625V 

In standby mode, the target voltage value of VDD1P8 is 1.625V.

kDCDC_1P8StbyTarget1P65V 

In standby mode, the target voltage value of VDD1P8 is 1.65V.

kDCDC_1P8StbyTarget1P675V 

In standby mode, the target voltage value of VDD1P8 is 1.675V.

kDCDC_1P8StbyTarget1P7V 

In standby mode, the target voltage value of VDD1P8 is 1.7V.

kDCDC_1P8StbyTarget1P725V 

In standby mode, the target voltage value of VDD1P8 is 1.725V.

kDCDC_1P8StbyTarget1P75V 

In standby mode, the target voltage value of VDD1P8 is 1.75V.

kDCDC_1P8StbyTarget1P775V 

In standby mode, the target voltage value of VDD1P8 is 1.775V.

kDCDC_1P8StbyTarget1P8V 

In standby mode, the target voltage value of VDD1P8 is 1.8V.

kDCDC_1P8StbyTarget1P825V 

In standby mode, the target voltage value of VDD1P8 is 1.825V.

kDCDC_1P8StbyTarget1P85V 

In standby mode, the target voltage value of VDD1P8 is 1.85V.

kDCDC_1P8StbyTarget1P875V 

In standby mode, the target voltage value of VDD1P8 is 1.875V.

kDCDC_1P8StbyTarget1P9V 

In standby mode, the target voltage value of VDD1P8 is 1.9V.

kDCDC_1P8StbyTarget1P925V 

In standby mode, the target voltage value of VDD1P8 is 1.925V.

kDCDC_1P8StbyTarget1P95V 

In standby mode, the target voltage value of VDD1P8 is 1.95V.

kDCDC_1P8StbyTarget1P975V 

In standby mode, the target voltage value of VDD1P8 is 1.975V.

kDCDC_1P8StbyTarget2P0V 

In standby mode, the target voltage value of VDD1P8 is 2.0V.

kDCDC_1P8StbyTarget2P025V 

In standby mode, the target voltage value of VDD1P8 is 2.025V.

kDCDC_1P8StbyTarget2P05V 

In standby mode, the target voltage value of VDD1P8 is 2.05V.

kDCDC_1P8StbyTarget2P075V 

In standby mode, the target voltage value of VDD1P8 is 2.075V.

kDCDC_1P8StbyTarget2P1V 

In standby mode, the target voltage value of VDD1P8 is 2.1V.

kDCDC_1P8StbyTarget2P125V 

In standby mode, the target voltage value of VDD1P8 is 2.125V.

kDCDC_1P8StbyTarget2P15V 

In standby mode, the target voltage value of VDD1P8 is 2.15V.

kDCDC_1P8StbyTarget2P175V 

In standby mode, the target voltage value of VDD1P8 is 2.175V.

kDCDC_1P8StbyTarget2P2V 

In standby mode, the target voltage value of VDD1P8 is 2.2V.

kDCDC_1P8StbyTarget2P225V 

In standby mode, the target voltage value of VDD1P8 is 2.225V.

kDCDC_1P8StbyTarget2P25V 

In standby mode, the target voltage value of VDD1P8 is 2.25V.

kDCDC_1P8StbyTarget2P275V 

In standby mode, the target voltage value of VDD1P8 is 2.275V.

kDCDC_1P8StbyTarget2P3V 

In standby mode, the target voltage value is 2.3V.

Enumerator
kDCDC_1P0BuckTarget0P6V 

In buck mode, the target voltage value of VDD1P0 is 0.6V.

kDCDC_1P0BuckTarget0P625V 

In buck mode, the target voltage value of VDD1P0 is 0.625V.

kDCDC_1P0BuckTarget0P65V 

In buck mode, the target voltage value of VDD1P0 is 0.65V.

kDCDC_1P0BuckTarget0P675V 

In buck mode, the target voltage value of VDD1P0 is 0.675V.

kDCDC_1P0BuckTarget0P7V 

In buck mode, the target voltage value of VDD1P0 is 0.7V.

kDCDC_1P0BuckTarget0P725V 

In buck mode, the target voltage value of VDD1P0 is 0.725V.

kDCDC_1P0BuckTarget0P75V 

In buck mode, the target voltage value of VDD1P0 is 0.75V.

kDCDC_1P0BuckTarget0P775V 

In buck mode, the target voltage value of VDD1P0 is 0.775V.

kDCDC_1P0BuckTarget0P8V 

In buck mode, the target voltage value of VDD1P0 is 0.8V.

kDCDC_1P0BuckTarget0P825V 

In buck mode, the target voltage value of VDD1P0 is 0.825V.

kDCDC_1P0BuckTarget0P85V 

In buck mode, the target voltage value of VDD1P0 is 0.85V.

kDCDC_1P0BuckTarget0P875V 

In buck mode, the target voltage value of VDD1P0 is 0.875V.

kDCDC_1P0BuckTarget0P9V 

In buck mode, the target voltage value of VDD1P0 is 0.9V.

kDCDC_1P0BuckTarget0P925V 

In buck mode, the target voltage value of VDD1P0 is 0.925V.

kDCDC_1P0BuckTarget0P95V 

In buck mode, the target voltage value of VDD1P0 is 0.95V.

kDCDC_1P0BuckTarget0P975V 

In buck mode, the target voltage value of VDD1P0 is 0.975V.

kDCDC_1P0BuckTarget1P0V 

In buck mode, the target voltage value of VDD1P0 is 1.0V.

kDCDC_1P0BuckTarget1P025V 

In buck mode, the target voltage value of VDD1P0 is 1.025V.

kDCDC_1P0BuckTarget1P05V 

In buck mode, the target voltage value of VDD1P0 is 1.05V.

kDCDC_1P0BuckTarget1P075V 

In buck mode, the target voltage value of VDD1P0 is 1.075V.

kDCDC_1P0BuckTarget1P1V 

In buck mode, the target voltage value of VDD1P0 is 1.1V.

kDCDC_1P0BuckTarget1P125V 

In buck mode, the target voltage value of VDD1P0 is 1.125V.

kDCDC_1P0BuckTarget1P15V 

In buck mode, the target voltage value of VDD1P0 is 1.15V.

kDCDC_1P0BuckTarget1P175V 

In buck mode, the target voltage value of VDD1P0 is 1.175V.

kDCDC_1P0BuckTarget1P2V 

In buck mode, the target voltage value of VDD1P0 is 1.2V.

kDCDC_1P0BuckTarget1P225V 

In buck mode, the target voltage value of VDD1P0 is 1.225V.

kDCDC_1P0BuckTarget1P25V 

In buck mode, the target voltage value of VDD1P0 is 1.25V.

kDCDC_1P0BuckTarget1P275V 

In buck mode, the target voltage value of VDD1P0 is 1.275V.

kDCDC_1P0BuckTarget1P3V 

In buck mode, the target voltage value of VDD1P0 is 1.3V.

kDCDC_1P0BuckTarget1P325V 

In buck mode, the target voltage value of VDD1P0 is 1.325V.

kDCDC_1P0BuckTarget1P35V 

In buck mode, the target voltage value of VDD1P0 is 1.35V.

kDCDC_1P0BuckTarget1P375V 

In buck mode, the target voltage value of VDD1P0 is 1.375V.

Enumerator
kDCDC_1P8BuckTarget1P5V 

In buck mode, the target voltage value of VDD1P0 is 1.5V.

kDCDC_1P8BuckTarget1P525V 

In buck mode, the target voltage value of VDD1P0 is 1.525V.

kDCDC_1P8BuckTarget1P55V 

In buck mode, the target voltage value of VDD1P0 is 1.55V.

kDCDC_1P8BuckTarget1P575V 

In buck mode, the target voltage value of VDD1P0 is 1.575V.

kDCDC_1P8BuckTarget1P6V 

In buck mode, the target voltage value of VDD1P0 is 1.6V.

kDCDC_1P8BuckTarget1P625V 

In buck mode, the target voltage value of VDD1P0 is 1.625V.

kDCDC_1P8BuckTarget1P65V 

In buck mode, the target voltage value of VDD1P0 is 1.65V.

kDCDC_1P8BuckTarget1P675V 

In buck mode, the target voltage value of VDD1P0 is 1.675V.

kDCDC_1P8BuckTarget1P7V 

In buck mode, the target voltage value of VDD1P0 is 1.7V.

kDCDC_1P8BuckTarget1P725V 

In buck mode, the target voltage value of VDD1P0 is 1.725V.

kDCDC_1P8BuckTarget1P75V 

In buck mode, the target voltage value of VDD1P0 is 1.75V.

kDCDC_1P8BuckTarget1P775V 

In buck mode, the target voltage value of VDD1P0 is 1.775V.

kDCDC_1P8BuckTarget1P8V 

In buck mode, the target voltage value of VDD1P0 is 1.8V.

kDCDC_1P8BuckTarget1P825V 

In buck mode, the target voltage value of VDD1P0 is 1.825V.

kDCDC_1P8BuckTarget1P85V 

In buck mode, the target voltage value of VDD1P0 is 1.85V.

kDCDC_1P8BuckTarget1P875V 

In buck mode, the target voltage value of VDD1P0 is 1.875V.

kDCDC_1P8BuckTarget1P9V 

In buck mode, the target voltage value of VDD1P0 is 1.9V.

kDCDC_1P8BuckTarget1P925V 

In buck mode, the target voltage value of VDD1P0 is 1.925V.

kDCDC_1P8BuckTarget1P95V 

In buck mode, the target voltage value of VDD1P0 is 1.95V.

kDCDC_1P8BuckTarget1P975V 

In buck mode, the target voltage value of VDD1P0 is 1.975V.

kDCDC_1P8BuckTarget2P0V 

In buck mode, the target voltage value of VDD1P0 is 2.0V.

kDCDC_1P8BuckTarget2P025V 

In buck mode, the target voltage value of VDD1P0 is 2.025V.

kDCDC_1P8BuckTarget2P05V 

In buck mode, the target voltage value of VDD1P0 is 2.05V.

kDCDC_1P8BuckTarget2P075V 

In buck mode, the target voltage value of VDD1P0 is 2.075V.

kDCDC_1P8BuckTarget2P1V 

In buck mode, the target voltage value of VDD1P0 is 2.1V.

kDCDC_1P8BuckTarget2P125V 

In buck mode, the target voltage value of VDD1P0 is 2.125V.

kDCDC_1P8BuckTarget2P15V 

In buck mode, the target voltage value of VDD1P0 is 2.15V.

kDCDC_1P8BuckTarget2P175V 

In buck mode, the target voltage value of VDD1P0 is 2.175V.

kDCDC_1P8BuckTarget2P2V 

In buck mode, the target voltage value of VDD1P0 is 2.2V.

kDCDC_1P8BuckTarget2P225V 

In buck mode, the target voltage value of VDD1P0 is 2.225V.

kDCDC_1P8BuckTarget2P25V 

In buck mode, the target voltage value of VDD1P0 is 2.25V.

kDCDC_1P8BuckTarget2P275V 

In buck mode, the target voltage value of VDD1P0 is 2.275V.

Enumerator
kDCDC_ComparatorCurrentBias50nA 

The current bias of low power comparator is 50nA.

kDCDC_ComparatorCurrentBias100nA 

The current bias of low power comparator is 100nA.

kDCDC_ComparatorCurrentBias200nA 

The current bias of low power comparator is 200nA.

kDCDC_ComparatorCurrentBias400nA 

The current bias of low power comparator is 400nA.

Enumerator
kDCDC_PeakCurrentRunMode250mALPMode1P5A 

Over peak current threshold in low power mode is 250mA, in run mode is 1.5A.

kDCDC_PeakCurrentRunMode200mALPMode1P5A 

Over peak current threshold in low power mode is 200mA, in run mode is 1.5A.

kDCDC_PeakCurrentRunMode250mALPMode2A 

Over peak current threshold in low power mode is 250mA, in run mode is 2A.

kDCDC_PeakCurrentRunMode200mALPMode2A 

Over peak current threshold in low power mode is 200mA, in run mode is 2A.

Enumerator
kDCDC_ClockAutoSwitch 

Automatic clock switch from internal oscillator to external clock.

kDCDC_ClockInternalOsc 

Use internal oscillator.

kDCDC_ClockExternalOsc 

Use external 24M crystal oscillator.

Enumerator
kDCDC_VoltageOutput1P8 

1.8V output.

kDCDC_VoltageOutput1P0 

1.0V output.

Function Documentation

void DCDC_Init ( DCDC_Type *  base,
const dcdc_config_t config 
)
Parameters
baseDCDC peripheral base address.
configPointer to the dcdc_config_t structure.
void DCDC_Deinit ( DCDC_Type *  base)
Parameters
baseDCDC peripheral base address.
void DCDC_GetDefaultConfig ( dcdc_config_t config)

This function initializes the user configuration structure to a default value. The default values are:

* config->controlMode = kDCDC_StaticControl;
* config->trimInputMode = kDCDC_SampleTrimInput;
* config->enableDcdcTimeout = false;
* config->enableSwitchingConverterOutput = false;
*
Parameters
configPointer to configuration structure. See to dcdc_config_t.
static void DCDC_EnterLowPowerModeViaStandbyRequest ( DCDC_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
enableUsed to control the behavior.
  • true Makes DCDC enter into low power mode for GPC standby mode.
static void DCDC_EnterLowPowerMode ( DCDC_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
enableUsed to control the behavior.
  • true Makes DCDC enter into low power mode.
static void DCDC_EnterStandbyMode ( DCDC_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
enableUsed to control the behavior.
  • true Makes DCDC enter into standby mode.
static void DCDC_SetVDD1P0StandbyModeTargetVoltage ( DCDC_Type *  base,
dcdc_standby_mode_1P0_target_vol_t  targetVoltage 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
targetVoltageThe target value of VDD1P0 in standby mode, see dcdc_standby_mode_1P0_target_vol_t.
static uint16_t DCDC_GetVDD1P0StandbyModeTargetVoltage ( DCDC_Type *  base)
inlinestatic
Parameters
baseDCDC peripheral base address.
Returns
The VDD1P0's voltage value in standby mode and the unit is "mV".
static void DCDC_SetVDD1P8StandbyModeTargetVoltage ( DCDC_Type *  base,
dcdc_standby_mode_1P8_target_vol_t  targetVoltage 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
targetVoltageThe target value of VDD1P8 in standby mode, see dcdc_standby_mode_1P8_target_vol_t.
static uint16_t DCDC_GetVDD1P8StandbyModeTargetVoltage ( DCDC_Type *  base)
inlinestatic
Parameters
baseDCDC peripheral base address.
Returns
The VDD1P8's voltage value in standby mode and the unit is "mV".
static void DCDC_SetVDD1P0BuckModeTargetVoltage ( DCDC_Type *  base,
dcdc_buck_mode_1P0_target_vol_t  targetVoltage 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
targetVoltageThe target value of VDD1P0 in buck mode, see dcdc_buck_mode_1P0_target_vol_t.
static uint16_t DCDC_GetVDD1P0BuckModeTargetVoltage ( DCDC_Type *  base)
inlinestatic
Parameters
baseDCDC peripheral base address.
Returns
The VDD1P0's voltage value in buck mode and the unit is "mV".
static void DCDC_SetVDD1P8BuckModeTargetVoltage ( DCDC_Type *  base,
dcdc_buck_mode_1P8_target_vol_t  targetVoltage 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
targetVoltageThe target value of VDD1P8 in buck mode, see dcdc_buck_mode_1P8_target_vol_t.
static uint16_t DCDC_GetVDD1P8BuckModeTargetVoltage ( DCDC_Type *  base)
inlinestatic
Parameters
baseDCDC peripheral base address.
Returns
The VDD1P8's voltage value in buck mode and the unit is "mV".
static void DCDC_EnableVDD1P0TargetVoltageStepping ( DCDC_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
enableUsed to control the behavior.
  • true Enables stepping for VDD1P0.
  • false Disables stepping for VDD1P0.
static void DCDC_EnableVDD1P8TargetVoltageStepping ( DCDC_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
enableUsed to control the behavior.
  • true Enables stepping for VDD1P8.
  • false Disables stepping for VDD1P8.
void DCDC_GetDefaultDetectionConfig ( dcdc_detection_config_t config)

The default configuration are set according to responding registers' setting when powered on. They are:

* config->enableXtalokDetection = false;
* config->powerDownOverVoltageVdd1P8Detection = true;
* config->powerDownOverVoltageVdd1P0Detection = true;
* config->powerDownLowVoltageDetection = false;
* config->powerDownOverCurrentDetection = true;
* config->powerDownPeakCurrentDetection = true;
* config->powerDownZeroCrossDetection = true;
* config->OverCurrentThreshold = kDCDC_OverCurrentThresholdAlt0;
* config->PeakCurrentThreshold = kDCDC_PeakCurrentThresholdAlt0;
*
Parameters
configPointer to configuration structure. See to dcdc_detection_config_t.
void DCDC_SetDetectionConfig ( DCDC_Type *  base,
const dcdc_detection_config_t config 
)
Parameters
baseDCDC peripheral base address.
configPointer to configuration structure. See to dcdc_detection_config_t.
static void DCDC_EnableOutputRangeComparator ( DCDC_Type *  base,
bool  enable 
)
inlinestatic

The output range comparator is disabled by default.

Parameters
baseDCDC peripheral base address.
enableEnable the feature or not.
  • true Enable the output range comparator.
  • false Disable the output range comparator.
void DCDC_SetClockSource ( DCDC_Type *  base,
dcdc_clock_source_t  clockSource 
)
Parameters
baseDCDC peripheral base address.
clockSourceClock source for DCDC. See to dcdc_clock_source_t.
void DCDC_GetDefaultLowPowerConfig ( dcdc_low_power_config_t config)

The default configuration are set according to responding registers' setting when powered on. They are:

* config->enableAdjustHystereticValue = false;
*
Parameters
configPointer to configuration structure. See to dcdc_low_power_config_t.
void DCDC_SetLowPowerConfig ( DCDC_Type *  base,
const dcdc_low_power_config_t config 
)
Parameters
baseDCDC peripheral base address.
configPointer to configuration structure. See to dcdc_low_power_config_t.
static void DCDC_SetBandgapVoltageTrimValue ( DCDC_Type *  base,
uint32_t  trimValue 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
trimValueThe bangap trim value. Available range is 0U-31U.
void DCDC_GetDefaultLoopControlConfig ( dcdc_loop_control_config_t config)

The default configuration are set according to responding registers' setting when powered on. They are:

* config->enableCommonHysteresis = false;
* config->enableCommonThresholdDetection = false;
* config->enableInvertHysteresisSign = false;
* config->enableRCThresholdDetection = false;
* config->enableRCScaleCircuit = 0U;
* config->complementFeedForwardStep = 0U;
* config->controlParameterMagnitude = 2U;
* config->integralProportionalRatio = 2U;
*
Parameters
configPointer to configuration structure. See to dcdc_loop_control_config_t.
void DCDC_SetLoopControlConfig ( DCDC_Type *  base,
const dcdc_loop_control_config_t config 
)
Parameters
baseDCDC peripheral base address.
configPointer to configuration structure. See to dcdc_loop_control_config_t.
void DCDC_SetMinPowerConfig ( DCDC_Type *  base,
const dcdc_min_power_config_t config 
)
Parameters
baseDCDC peripheral base address.
configPointer to configuration structure. See to dcdc_min_power_config_t.
static void DCDC_SetLPComparatorBiasValue ( DCDC_Type *  base,
dcdc_comparator_current_bias_t  biasValue 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
biasValueThe current bias of low power comparator. Refer to dcdc_comparator_current_bias_t.
void DCDC_SetInternalRegulatorConfig ( DCDC_Type *  base,
const dcdc_internal_regulator_config_t config 
)
Parameters
baseDCDC peripheral base address.
configPointer to configuration structure. See to dcdc_internal_regulator_config_t.
static void DCDC_EnableAdjustDelay ( DCDC_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
enableEnable the feature or not.
static void DCDC_EnableImproveTransition ( DCDC_Type *  base,
bool  enable 
)
inlinestatic
Note
It is valid while zero cross detection is enabled. If ouput exceeds the threshold, DCDC would return CCM from DCM.
Parameters
baseDCDC peripheral base address.
enableEnable the feature or not.
void DCDC_SetPointInit ( DCDC_Type *  base,
const dcdc_setpoint_config_t config 
)
Note
The function should be invoked in the initial step to config the DCDC via setpoint control mode.
Parameters
baseDCDC peripheral base address.
configThe pointer to the structure dcdc_setpoint_config_t.
static void DCDC_SetPointDeinit ( DCDC_Type *  base,
uint32_t  setpointMap 
)
inlinestatic
Parameters
baseDCDC peripheral base address.
setpointMapThe map of the setpoint to disable the DCDC module, Should be the OR'ed value of _dcdc_setpoint_map.
static uint32_t DCDC_GetStatusFlags ( DCDC_Type *  base)
inlinestatic
Parameters
baseperipheral base address.
Returns
Mask of asserted status flags. See to _dcdc_status_flags.
void DCDC_BootIntoDCM ( DCDC_Type *  base)
* pwd_zcd=0x0;
* DM_CTRL = 1'b1;
* pwd_cmp_offset=0x0;
* dcdc_loopctrl_en_rcscale=0x3 or 0x5;
* DCM_set_ctrl=1'b1;
*
Parameters
baseDCDC peripheral base address.
void DCDC_BootIntoCCM ( DCDC_Type *  base)
* pwd_zcd=0x1;
* pwd_cmp_offset=0x0;
* dcdc_loopctrl_en_rcscale=0x3;
*
Parameters
baseDCDC peripheral base address.