nanovm.avr
Class Timer
java.lang.Object
nanovm.avr.Timer
public class Timer
- extends java.lang.Object
Constructor Summary |
Timer()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STOPPED
public static final int STOPPED
- See Also:
- Constant Field Values
DIV1
public static final int DIV1
- See Also:
- Constant Field Values
DIV8
public static final int DIV8
- See Also:
- Constant Field Values
DIV64
public static final int DIV64
- See Also:
- Constant Field Values
DIV128
public static final int DIV128
- See Also:
- Constant Field Values
DIV1024
public static final int DIV1024
- See Also:
- Constant Field Values
Timer
public Timer()
setSpeed
public static void setSpeed(int speed)
get
public static int get()
wait
public static void wait(int ticks)
setPrescaler
public static void setPrescaler(int value)