Low-level GPIO peripheral driver interface definitions.
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.
@ TPS6274X_ERR_INIT
error during init
@ TPS6274X_OK
everything was fine
Adds include for missing inttype definitions.
TPS6274x Configuration struct.
gpio_t ctrl_pin
ctrl pin mapping
Device descriptor for the TPS6274x.
tps6274x_params_t params
device initialization parameters