|
ADS9324 Driver 0.1.0
API reference
|
Everything EnsureInitialized() and ApplyConfig() write to the chip.
More...
#include <ads9324_types.hpp>
Public Attributes | |
| Interface | interface {} |
| Data interface. | |
| ReferenceSource | reference {ReferenceSource::Pin} |
| Reference selection. | |
| std::array< Input, 16 > | inputs {DefaultInputs()} |
| AIN1 to AIN16. | |
| Filter | filter {} |
| Digital filter. | |
| ChannelSelect | channels {} |
| Channels in the frame. | |
| bool | low_speed_crosstalk {false} |
| CH_XTALK_LOW_SPEED, for under 100 kSPS per channel. | |
| Alarm | alarm {} |
| DRDY/ALARM pin. | |
| Sampling | sampling {} |
| CONVST and ready wait. | |
| Correction | correction {} |
| Offset and gain stages. | |
| Calibration | calibration {} |
| ADC calibration. | |
| std::array< TestPattern, 2 > | test_pattern {} |
| Group 0 is AIN1 to AIN8, group 1 AIN9 to AIN16. | |
| std::array< uint8_t, 2 > | window_glitch {} |
| DWC glitch filter per group, 0 to 15. | |
| DaisyChain | daisy {} |
| Out of scope. | |
| Supply | supply {} |
| Supply voltages for the range check. | |
| bool | hardware_reset {false} |
Use the RESET pin at start-up (needs GpioSet()). | |
Everything EnsureInitialized() and ApplyConfig() write to the chip.
Config{} is the datasheet's initialisation example (Table 7-18: 16-bit words on SDOUT, one lane) over the reset values of every other register; ChipResetConfig() is the chip's reset state, eight lanes on D7 to D0.