Struct daisy::MAX11300Driver::PinConfig¶
Public Attributes¶
Type | Name |
---|---|
MAX11300Types::AdcVoltageRange | adc |
MAX11300Types::DacVoltageRange | dac |
PinMode | mode |
union daisy::MAX11300Driver::PinConfig | range |
float | threshold |
uint16_t * | value |
Public Functions¶
Type | Name |
---|---|
void | Defaults () |
Detailed Description¶
The PinConfig struct holds the necessary information needed to configure a pin/port of the MAX11300, as well as a pointer to the stateful pin data.
Public Attributes Documentation¶
variable adc¶
variable dac¶
variable mode¶
&
variable range¶
union daisy::MAX11300Driver::PinConfig daisy::MAX11300Driver< Transport, num_devices >::PinConfig::range;
&
variable threshold¶
This is a voltage value used as follows:
GPI - Defines what input voltage constituates a logical 1 GPO - The output voltage of the pin at logical 1
variable value¶
In the case of ANALOG_IN or ANALOG_OUT modes, this points to the current 12 bit value of the pin.
Public Functions Documentation¶
function Defaults¶
Default pin settings - Disabled (High-Z mode)
The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/max11300.h