mirror of
https://github.com/TomNisbet/TommyPROM.git
synced 2024-06-09 04:29:32 +00:00
33 lines
917 B
C
33 lines
917 B
C
|
#ifndef INCLUDE_PROM_DEVICE_8755A_H
|
||
|
#define INCLUDE_PROM_DEVICE_8755A_H
|
||
|
|
||
|
#include "Arduino.h"
|
||
|
#include "PromDevice.h"
|
||
|
|
||
|
/*****************************************************************************/
|
||
|
/*****************************************************************************/
|
||
|
/**
|
||
|
* PromDevice8755A class
|
||
|
*
|
||
|
* Provides the device-specific interface to read and write data from an
|
||
|
* Intel 8755A parallel EPROM using the Arduino.
|
||
|
*
|
||
|
* In addition to the 8755A, the Arduino also controls a voltage switching
|
||
|
* circuit that provides the required programming pulses on the 8755A's Vdd.
|
||
|
*/
|
||
|
class PromDevice8755A : public PromDevice
|
||
|
{
|
||
|
public:
|
||
|
PromDevice8755A(unsigned long size);
|
||
|
void begin();
|
||
|
|
||
|
protected:
|
||
|
void setAddress(word address);
|
||
|
byte readByte(word address);
|
||
|
bool burnByte(byte value, word address);
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // #define INCLUDE_PROM_DEVICE_8755A_H
|
||
|
|