avrora.sim.radio
Interface Radio.RadioController

All Known Implementing Classes:
CC1000Radio.ATMegaController
Enclosing interface:
Radio

public static interface Radio.RadioController

A RadioController is an object installed into a Microcontroller. The recommended implementation is to implement specialized IO registers as inner classes and install them into the Microcontroller. Changes to these specialized registers should initiate appropriate behavior with the radio.


Method Summary
 void disable()
          Disable transfers.
 void enable()
          Enable transfers.
 void install(Microcontroller mcu)
          Installs this Controller into a microcontroller.
 

Method Detail

install

public void install(Microcontroller mcu)
Installs this Controller into a microcontroller. This should setup the pins, IO registers in such a way that changes to CPU state will make corresponding changes to the RadioController state that will initiate sends and receives if necessary.


enable

public void enable()
Enable transfers.


disable

public void disable()
Disable transfers.