|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Microcontroller interface corresponds to a hardware device
that implements the AVR instruction set. This interface contains methods that
get commonly needed information about the particular hardware device and
and can load programs onto this virtual device.
| Nested Class Summary | |
static interface |
Microcontroller.Pin
The Pin interface encapsulates the notion of a physical
pin on the microcontroller chip. |
| Method Summary | |
Microcontroller.Pin |
getPin(int num)
The getPin() method looks up the specified pin by its number
and returns a reference to that pin. |
Microcontroller.Pin |
getPin(java.lang.String name)
The getPin() method looks up the named pin and returns a
reference to that pin. |
Simulator |
getSimulator()
The getSimulator() method gets a simulator instance that is
capable of emulating this hardware device. |
| Methods inherited from interface avrora.sim.mcu.MicrocontrollerProperties |
cyclesToMillis, getEEPromSize, getFlashSize, getHz, getIORegSize, getPinNumber, getRamSize, isSupported, millisToCycles |
| Method Detail |
public Simulator getSimulator()
getSimulator() method gets a simulator instance that is
capable of emulating this hardware device.
Simulator instance corresponding to this
devicepublic Microcontroller.Pin getPin(java.lang.String name)
getPin() method looks up the named pin and returns a
reference to that pin. Names of pins should be UPPERCASE. The intended
users of this method are external device implementors which connect
their devices to the microcontroller through the pins.
name - the name of the pin; for example "PA0" or "OC1A"
Pin object corresponding to
the named pin if it exists; null otherwisepublic Microcontroller.Pin getPin(int num)
getPin() method looks up the specified pin by its number
and returns a reference to that pin. The intended
users of this method are external device implementors which connect
their devices to the microcontroller through the pins.
num - the pin number to look up
Pin object corresponding to
the named pin if it exists; null otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||