daisy::MAX11300Types¶
Classes¶
Name | |
---|---|
struct | daisy::MAX11300Types::DmaBuffer |
Types¶
Name | |
---|---|
enum | Pin |
enum class | AdcVoltageRange |
enum class | DacVoltageRange |
enum class | Result |
typedef void(*)(void *context, SpiHandle::Result result) | TransportCallbackFunctionPtr |
typedef void(*)(void *context) | UpdateCompleteCallbackFunctionPtr |
Types Documentation¶
enum Pin¶
Enumerator | Value | Description |
---|---|---|
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 AdcVoltageRange¶
Enumerator | Value | Description |
---|---|---|
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¶
Enumerator | Value | Description |
---|---|---|
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 Result¶
Enumerator | Value | Description |
---|---|---|
OK | & | |
ERR | & |
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
Updated on 2024-01-03 at 19:41:01 +0000