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
Interface MicrocontrollerFactory

All Known Implementing Classes:
  ATMega128.Factory, ATMega16.Factory, ATMega32.Factory

public interface MicrocontrollerFactory

The `MicrocontrollerFactory` interface is implemented by a class that is capable of making repeated copies of a particular microcontroller for use in simulation.

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.

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.

  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