Namespace daisy::MAX11300Types¶
Namespace List > daisy > MAX11300Types
Classes¶
Type | Name |
---|---|
struct | DmaBuffer |
Public Types¶
Type | Name |
---|---|
enum | AdcVoltageRange |
enum | DacVoltageRange |
enum | Pin |
enum | Result |
typedef void(* | TransportCallbackFunctionPtr |
typedef void(* | UpdateCompleteCallbackFunctionPtr |
Public Types Documentation¶
enum AdcVoltageRange¶
enum daisy::MAX11300Types::AdcVoltageRange {
ZERO_TO_10 = 0x0100,
NEGATIVE_5_TO_5 = 0x0200,
NEGATIVE_10_TO_0 = 0x0300,
ZERO_TO_2P5 = 0x0400
};
Pins of the MAX11300 configured for AnalogRead may be defined to operate within several pre-defined voltage ranges (assuming the power supply requirements for the range is met).
Pins configiured for DigitalRead are 0-5V only, and do not tolerate negative voltages.
WARNING, when a pin is configured as DigitalRead and a voltage lower than -250mV is applied, the codes read from ALL other pins confiured as AnalogRead will become unusuably corrupted.
enum DacVoltageRange¶
enum daisy::MAX11300Types::DacVoltageRange {
ZERO_TO_10 = 0x0100,
NEGATIVE_5_TO_5 = 0x0200,
NEGATIVE_10_TO_0 = 0x0300
};
Pins of the MAX11300 configured for AnalogWrite may be defined to operate within several pre-defined voltage ranges (assuming the power supply requirements for the range is met).
Pins configiured for DigitalWrite are 0-5V only, and do not produce negative voltages.
enum Pin¶
enum daisy::MAX11300Types::Pin {
PIN_0,
PIN_1,
PIN_2,
PIN_3,
PIN_4,
PIN_5,
PIN_6,
PIN_7,
PIN_8,
PIN_9,
PIN_10,
PIN_11,
PIN_12,
PIN_13,
PIN_14,
PIN_15,
PIN_16,
PIN_17,
PIN_18,
PIN_19
};
Represents a pin/port on the MAX11300, of which there are 20.
enum Result¶
Indicates the success or failure of an operation within this class
typedef TransportCallbackFunctionPtr¶
typedef void(* daisy::MAX11300Types::TransportCallbackFunctionPtr) (void *context, SpiHandle::Result result);
a callback type used by the transport layer
typedef UpdateCompleteCallbackFunctionPtr¶
A function called when all MAX11300s have been updated
The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/max11300.h