mirror of
https://github.com/TomNisbet/TommyPROM.git
synced 2024-10-11 12:23:43 +00:00
18 lines
395 B
C++
18 lines
395 B
C++
#ifndef INCLUDE_PROM_ADDRESS_DRIVER_H
|
|
#define INCLUDE_PROM_ADDRESS_DRIVER_H
|
|
|
|
#include "Arduino.h"
|
|
|
|
class PromAddressDriver {
|
|
public:
|
|
static void begin();
|
|
static void setAddress(uint32_t address);
|
|
|
|
private:
|
|
static void setUpperAddress(byte addr);
|
|
static void setAddressRegister(uint8_t clkPin, byte addr);
|
|
};
|
|
|
|
|
|
#endif // #define INCLUDE_PROM_ADDRESS_DRIVER_H
|