mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 01:29:03 -04:00
CPLD: Add XC2C64A method to init from EEPROM contents.
This commit is contained in:
parent
c0b9761fe5
commit
4b7fa9f411
2 changed files with 38 additions and 0 deletions
|
@ -67,6 +67,7 @@ public:
|
|||
bool verify_sram(const verify_blocks_t& blocks);
|
||||
|
||||
bool verify_eeprom(const verify_blocks_t& blocks);
|
||||
void init_from_eeprom();
|
||||
|
||||
private:
|
||||
static constexpr size_t idcode_length = 32;
|
||||
|
@ -112,6 +113,9 @@ private:
|
|||
|
||||
void reset();
|
||||
void enable();
|
||||
void enable_otf();
|
||||
void discharge();
|
||||
void init();
|
||||
void disable();
|
||||
bool bypass();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue