mirror of
https://github.com/TomNisbet/TommyPROM.git
synced 2024-11-22 10:31:39 +00:00
19 lines
400 B
C++
19 lines
400 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(word address);
|
|
|
|
private:
|
|
static void setAddressRegister(uint8_t clkPin, byte addr);
|
|
static void setAddressRegisterDirect(uint8_t clkPin, byte addr);
|
|
};
|
|
|
|
|
|
#endif // #define INCLUDE_PROM_ADDRESS_DRIVER_H
|
|
|