Files
beaglefw/drv_tps65950.hh
Matthias Blankertz ba680cccdf -Added support for I2C module
-Initial support for TPS65950
-Support for changing CPU frequency in prcm driver
-Preparations for context switching
2013-07-12 20:29:34 +02:00

23 lines
304 B
C++

#ifndef _DRV_TPS65950_HH_
#define _DRV_TPS65950_HH_
#include <memory>
class TPS65950_impl;
#include "interfaces.hh"
class TPS65950 {
public:
TPS65950(II2C& i2c);
~TPS65950();
void set_cpu_opp(int opp);
void set_core_opp(int opp);
private:
std::unique_ptr<TPS65950_impl> impl_;
};
#endif