avrora.sim.mcu
Class Timer8Bit
java.lang.Object
avrora.sim.mcu.AtmelInternalDevice
avrora.sim.mcu.Timer8Bit
- Direct Known Subclasses:
- ATMegaFamily.Timer0, ATMegaFamily.Timer2
- public abstract class Timer8Bit
- extends AtmelInternalDevice
Base class of 8-bit timers. Timer0 and Timer2 are subclasses of this.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODE_NORMAL
public static final int MODE_NORMAL
- See Also:
- Constant Field Values
MODE_PWM
public static final int MODE_PWM
- See Also:
- Constant Field Values
MODE_CTC
public static final int MODE_CTC
- See Also:
- Constant Field Values
MODE_FASTPWM
public static final int MODE_FASTPWM
- See Also:
- Constant Field Values
MAX
public static final int MAX
- See Also:
- Constant Field Values
BOTTOM
public static final int BOTTOM
- See Also:
- Constant Field Values
externalClock
protected final Clock externalClock
timerClock
protected Clock timerClock
TIFR_reg
protected ATMegaFamily.FlagRegister TIFR_reg
TIMSK_reg
protected ATMegaFamily.MaskRegister TIMSK_reg
Timer8Bit
protected Timer8Bit(AtmelMicrocontroller m,
int n,
int OCIEn,
int TOIEn,
int OCFn,
int TOVn,
int[] periods)
compareMatch
protected void compareMatch()
overflow
protected void overflow()