forked from Apple-2-HW/TommyPROM
18 lines
331 B
C
18 lines
331 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);
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // #define INCLUDE_PROM_ADDRESS_DRIVER_H
|
||
|
|