DCDC Initialization

Description

Initialize the DC-DC converter.

Configures the DC-DC converter. If the DC-DC converter is not to be used, the configuration option SL_DEVICE_INIT_DCDC_ENABLE can be disabled, and the converter will be powered off. On Series 1 devices, this option should only be used when DVDD is externally powered.

To enable the bypass switch and short the DC-DC converter input to the DC-DC output, set the configuration option SL_DEVICE_INIT_DCDC_BYPASS .

See AN0948 Power Configurations and DC-DC for further details about DC-DC converter configuration and operation.

Functions

sl_status_t sl_device_init_dcdc (void)
Initialize DCDC.

Macros

#define SL_DEVICE_INIT_DCDC_TYPE_BUCK 0
DC/DC Converter Type.
#define SL_DEVICE_INIT_DCDC_TYPE_BOOST 1
Boost Type.

Function Documentation

sl_device_init_dcdc()

sl_status_t sl_device_init_dcdc ( void )

Initialize DCDC.

Configure and start the DCDC

Returns
Status code
Return values
SL_STATUS_OK DC-DC converter initialized successfully

Macro Definition Documentation

SL_DEVICE_INIT_DCDC_TYPE_BUCK

#define SL_DEVICE_INIT_DCDC_TYPE_BUCK   0

DC/DC Converter Type.

Buck Type

SL_DEVICE_INIT_DCDC_TYPE_BOOST

#define SL_DEVICE_INIT_DCDC_TYPE_BOOST   1

Boost Type.