daisy::MAX11300Driver::PinConfig¶
Public Functions¶
Name | |
---|---|
void | Defaults() |
Public Attributes¶
Name | |
---|---|
PinMode | mode |
MAX11300Types::AdcVoltageRange | adc |
MAX11300Types::DacVoltageRange | dac |
union daisy::MAX11300Driver::PinConfig::@6 | range |
float | threshold |
uint16_t * | value |
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 Functions Documentation¶
function Defaults¶
Default pin settings - Disabled (High-Z mode)
Public Attributes Documentation¶
variable mode¶
&
variable adc¶
variable dac¶
variable 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.
Updated on 2024-01-03 at 19:41:01 +0000