source: avrstuff/EPRoxygen/27c020.h@ 16cf6ff

main
Last change on this file since 16cf6ff was 16cf6ff, checked in by Adrien Destugues <pulkomandy@…>, 12 years ago

Add some suport for reading 27c020 chips.

Should be usable with most other ROMs as well.

git-svn-id: svn://pulkomandy.tk/avrstuff@61 c6672c3c-f6b6-47f9-9001-1fd6b12fecbe

  • Property mode set to 100644
File size: 316 bytes
Line 
1#include "device.h"
2
3class x27C020: public Device
4{
5 public:
6 x27C020();
7
8 void power(void);
9 void shutdown(void);
10 void read(const char* filename);
11 void write(const char* filename);
12 void erase(void);
13 private:
14
15 static const uint8_t CTRLmask = 0b01100000;
16 static const uint8_t VOLTmask = 0b10110011;
17};
18
Note: See TracBrowser for help on using the repository browser.