Class EepromDriver
java.lang.Object
be.lmenten.avr.core.driver.DriverBase
be.lmenten.avr.core.driver.eeprom.EepromDriver
- All Implemented Interfaces:
AccessEventListener
,Driver
-
Field Summary
Fields inherited from class be.lmenten.avr.core.driver.DriverBase
core
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAccessEvent(AccessEvent event)
EECR (control register) content has changed.void
onReset()
Every time the core is reset, this method is called.void
onTick(long ticksCount)
After every instruction simulation, this method is called.Methods inherited from class be.lmenten.avr.core.driver.DriverBase
getId
-
Constructor Details
-
EepromDriver
-
-
Method Details
-
onReset
public void onReset()Every time the core is reset, this method is called. Default values for I/O register is normal set by the core itself but may be set here.- Specified by:
onReset
in interfaceDriver
- Overrides:
onReset
in classDriverBase
-
onTick
public void onTick(long ticksCount)After every instruction simulation, this method is called.- Specified by:
onTick
in interfaceDriver
- Overrides:
onTick
in classDriverBase
-
onAccessEvent
EECR (control register) content has changed.- Specified by:
onAccessEvent
in interfaceAccessEventListener
-