Contains a series of helper classes for dealing with analog devices, these are compatible across a wide range of devices. More...
Go to the source code of this file.
Classes | |
class | AnalogDevice |
Enumerations | |
enum | AnalogDirection { DIR_IN , DIR_OUT , DIR_PWM } |
Functions | |
AnalogDevice * | internalAnalogIo () |
Contains a series of helper classes for dealing with analog devices, these are compatible across a wide range of devices.
enum AnalogDirection |
an enumeration that describes direction, eg input or output for the ADC/POT/DAC. For some devices only one mode will make sense.
AnalogDevice* internalAnalogIo | ( | ) |
Create an instance of the analog IO abstraction for the current hardware and cache it so further calls return the same one, use this instead of creating one. In new code prefer to use internalAnalogDevice() instead which returns a reference to the correct type directly.