Device driver interface for the TPS6274x DC-DC Converter. More...
Device driver interface for the TPS6274x DC-DC Converter.
Definition in file tps6274x.h.
Go to the source code of this file.
Data Structures | |
struct | tps6274x_params_t |
TPS6274x Configuration struct. More... | |
struct | tps6274x_t |
Device descriptor for the TPS6274x. More... | |
Enumerations | |
enum | { TPS6274X_OK = 0 , TPS6274X_ERR_INIT } |
Status and error return codes. More... | |
Functions | |
int | tps6274x_init (tps6274x_t *dev, const tps6274x_params_t *params) |
Init converter. | |
uint16_t | tps6274x_switch_voltage (tps6274x_t *dev, uint16_t voltage) |
Switch to different voltage level. | |
void | tps6274x_load_ctrl (tps6274x_t *dev, int status) |
Sets ctrl pin high to power a subsystem connected on the load pin. | |