Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim.mcu
Class ATMega128.Factory

    java.lang.Object
      avrora.sim.mcu.ATMega128.Factory

All Implemented Interfaces:
  MicrocontrollerFactory

Enclosing class:
  ATMega128

public static class ATMega128.Factory
extends java.lang.Object
implements MicrocontrollerFactory

Constructor Summary
`ATMega128.Factory()`

Method Summary
`Microcontroller` | `newMicrocontroller(int id, ClockDomain cd, InterpreterFactory f, Program p)` The `newMicrocontroller()` method is used to instantiate a microcontroller instance for the particular program.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ATMega128.Factory

    public ATMega128.Factory()

Method Detail

### newMicrocontroller

    public Microcontroller newMicrocontroller(int id,
                                              ClockDomain cd,
                                              InterpreterFactory f,
                                              Program p)

  The `newMicrocontroller()` method is used to instantiate a microcontroller instance for the particular program. It will construct an instance of the `Simulator` class that has all the properties of this hardware device and has been initialized with the specified program.

  Specified by:
    `newMicrocontroller` in interface `MicrocontrollerFactory`
  Parameters:
    `p` - the program to load onto the microcontroller
  Returns:
    a `Microcontroller` instance that represents the specific hardware device with the program loaded onto it

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD