2019-03-25 14:02:24 +00:00
|
|
|
#ifndef TLC5615_H
|
|
|
|
#define TLC5615_H
|
|
|
|
|
|
|
|
#include "spi.h"
|
|
|
|
|
|
|
|
class TLC5615
|
|
|
|
{
|
|
|
|
public:
|
2019-04-03 11:30:57 +00:00
|
|
|
TLC5615(volatile SPI&, SPIADR adr);
|
2019-04-03 06:40:14 +00:00
|
|
|
void setValue(uint16_t) const volatile;
|
2019-03-25 14:02:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
private:
|
2019-04-03 06:40:14 +00:00
|
|
|
volatile SPI& spi;
|
2019-04-03 11:30:57 +00:00
|
|
|
const SPIADR adr;
|
2019-03-25 14:02:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TLC5615_H
|