Package be.lmenten.avr.core.driver
Class DriverBase
java.lang.Object
be.lmenten.avr.core.driver.DriverBase
- All Implemented Interfaces:
Driver
- Direct Known Subclasses:
EepromDriver
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
core
-
-
Constructor Details
-
DriverBase
-
-
Method Details
-
getId
Returns the unique ID for this driver instance.
This ID is defined in the CoreDescriptor data file's "simulator" section.
-
onTick
public void onTick(long ticksCount)After every instruction simulation, this method is called. -
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.
-