nanovm.avr
Class Adc
java.lang.Object
nanovm.avr.Adc
public class Adc
- extends java.lang.Object
Constructor Summary |
Adc()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIV2
public static final int DIV2
- See Also:
- Constant Field Values
DIV2A
public static final int DIV2A
- See Also:
- Constant Field Values
DIV4
public static final int DIV4
- See Also:
- Constant Field Values
DIV8
public static final int DIV8
- See Also:
- Constant Field Values
DIV16
public static final int DIV16
- See Also:
- Constant Field Values
DIV32
public static final int DIV32
- 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
AREF
public static final int AREF
- See Also:
- Constant Field Values
AVCC
public static final int AVCC
- See Also:
- Constant Field Values
INTERNAL
public static final int INTERNAL
- See Also:
- Constant Field Values
CHANNEL0
public static final int CHANNEL0
- See Also:
- Constant Field Values
CHANNEL1
public static final int CHANNEL1
- See Also:
- Constant Field Values
CHANNEL2
public static final int CHANNEL2
- See Also:
- Constant Field Values
CHANNEL3
public static final int CHANNEL3
- See Also:
- Constant Field Values
CHANNEL4
public static final int CHANNEL4
- See Also:
- Constant Field Values
CHANNEL5
public static final int CHANNEL5
- See Also:
- Constant Field Values
CHANNEL6
public static final int CHANNEL6
- See Also:
- Constant Field Values
CHANNEL7
public static final int CHANNEL7
- See Also:
- Constant Field Values
CHANNELVBG
public static final int CHANNELVBG
- See Also:
- Constant Field Values
CHANNELGND
public static final int CHANNELGND
- See Also:
- Constant Field Values
Adc
public Adc()
setPrescaler
public static void setPrescaler(int value)
setReference
public static void setReference(int value)
getValue
public static int getValue(int channel)
getByte
public static int getByte(int channel)