Loading...
Searching...
No Matches
tps6274x.h File Reference

Device driver interface for the TPS6274x DC-DC Converter. More...

Detailed Description

Device driver interface for the TPS6274x DC-DC Converter.

Author
Steffen Robertz steff.nosp@m.en.r.nosp@m.obert.nosp@m.z@rw.nosp@m.th-aa.nosp@m.chen.nosp@m..de
Josua Arndt jarnd.nosp@m.t@ia.nosp@m.s.rwt.nosp@m.h-aa.nosp@m.chen..nosp@m.de

Definition in file tps6274x.h.

#include <inttypes.h>
#include "periph/gpio.h"
+ Include dependency graph for tps6274x.h:
+ This graph shows which files directly or indirectly include this file:

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.