avrora.sim.mcu
Class Microcontrollers

java.lang.Object
  extended byavrora.sim.mcu.Microcontrollers

public class Microcontrollers
extends java.lang.Object

The Microcontrollers class represents a static, known mapping between names and implementations of microcontroller models. For example, "atmega128l" is mapped to an instance of the ATMega128L class.


Constructor Summary
Microcontrollers()
           
 
Method Summary
static MicrocontrollerFactory getMicrocontroller(java.lang.String name)
          The getMicrocontroller method retrieves an instance of the Microcontroller interface that represents the named microcontroller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Microcontrollers

public Microcontrollers()
Method Detail

getMicrocontroller

public static MicrocontrollerFactory getMicrocontroller(java.lang.String name)
The getMicrocontroller method retrieves an instance of the Microcontroller interface that represents the named microcontroller.

Parameters:
name - the name of the microcontroller
Returns:
an instance of the Microcontroller interface representing the hardware device if implemented; null otherwise