gpio_t ctrl_pin
ctrl pin mapping
tps6274x_params_t params
device initialization parameters
int tps6274x_init(tps6274x_t *dev, const tps6274x_params_t *params)
Init converter.
void tps6274x_load_ctrl(tps6274x_t *dev, int status)
Sets ctrl pin high to power a subsystem connected on the load pin.
uint16_t tps6274x_switch_voltage(tps6274x_t *dev, uint16_t voltage)
Switch to different voltage level.
Low-level GPIO peripheral driver interface definitions.
Device descriptor for the TPS6274x.
@ TPS6274X_ERR_INIT
error during init
Adds include for missing inttype definitions.
@ TPS6274X_OK
everything was fine
TPS6274x Configuration struct.