2018-05-11 03:43:31 +00:00
|
|
|
#ifndef INCLUDE_PROM_ADDRESS_DRIVER_H
|
|
|
|
#define INCLUDE_PROM_ADDRESS_DRIVER_H
|
|
|
|
|
|
|
|
#include "Arduino.h"
|
|
|
|
|
|
|
|
class PromAddressDriver {
|
|
|
|
public:
|
|
|
|
static void begin();
|
2019-07-20 03:21:36 +00:00
|
|
|
static void setAddress(uint32_t address);
|
2018-05-11 03:43:31 +00:00
|
|
|
|
|
|
|
private:
|
2019-07-20 03:21:36 +00:00
|
|
|
static void setUpperAddress(byte addr);
|
2018-05-11 03:43:31 +00:00
|
|
|
static void setAddressRegister(uint8_t clkPin, byte addr);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // #define INCLUDE_PROM_ADDRESS_DRIVER_H
|