|
HF-ADS7952 Driver 0.1.0-dev
HF-ADS7952 C++ Driver
|
Namespaces | |
| namespace | Alarm |
| namespace | GPIO |
| namespace | GPIOProg |
| namespace | Mode |
| namespace | Response |
Functions | |
| constexpr uint16_t | ChannelSelect (uint8_t ch) noexcept |
| Encode manual-mode channel selection bits DI[10:7]. | |
| constexpr uint16_t | Auto1ChannelBit (uint8_t ch) noexcept |
| Build the Auto-1 enable bit for a channel. | |
| constexpr uint16_t | Auto2LastChannel (uint8_t ch) noexcept |
| Encode Auto-2 last-channel field DI[9:6]. | |
Variables | |
| constexpr uint16_t | PROGRAM_ENABLE = 0x0800 |
| constexpr uint16_t | PROGRAM_RETAIN = 0x0000 |
| constexpr uint16_t | RESET_COUNTER = 0x0400 |
| constexpr uint16_t | NO_RESET_COUNTER = 0x0000 |
| constexpr uint16_t | RANGE_VREF = 0x0000 |
| constexpr uint16_t | RANGE_2VREF = 0x0040 |
| constexpr uint16_t | POWER_NORMAL = 0x0000 |
| constexpr uint16_t | POWER_DOWN = 0x0020 |
| constexpr uint16_t | OUTPUT_CHAN_ADDR = 0x0000 |
| constexpr uint16_t | OUTPUT_GPIO_DATA = 0x0010 |
| constexpr uint8_t | NUM_CHANNELS = 12 |
| Number of ADC input channels. | |
| constexpr uint8_t | RESOLUTION_BITS = 12 |
| ADC resolution in bits. | |
| constexpr uint16_t | MAX_COUNT = 4095 |
| Maximum 12-bit conversion value. | |
| constexpr uint8_t | NUM_GPIO_PINS = 4 |
| Number of GPIO pins on ADS7952. | |
| constexpr uint8_t | CHANNELS_PER_ALARM_GROUP = 4 |
| Channels per alarm group. | |
| constexpr uint8_t | NUM_ALARM_GROUPS = 3 |
| Valid alarm groups for CH0..CH11. | |
| constexpr uint8_t | INVALID_CONVERSIONS_AFTER_POWERUP = 1 |
| Frames to discard after power-up. | |
|
inlineconstexpr |
Channels per alarm group.
Definition at line 233 of file ads7952_registers.hpp.
Referenced by ads7952::ADS7952< SpiType >::ProgramAlarm().
|
inlineconstexpr |
Frames to discard after power-up.
Definition at line 235 of file ads7952_registers.hpp.
|
inlineconstexpr |
Maximum 12-bit conversion value.
Definition at line 231 of file ads7952_registers.hpp.
Referenced by ads7952::ADS7952< SpiType >::CountToVoltage(), ads7952::ADS7952< SpiType >::CountToVoltage(), and ads7952::ADS7952< SpiType >::VoltageToCount().
|
inlineconstexpr |
Definition at line 55 of file ads7952_registers.hpp.
Referenced by ads7952::ADS7952< SpiType >::EnterAuto1Mode(), and ads7952::ADS7952< SpiType >::EnterAuto2Mode().
|
inlineconstexpr |
Valid alarm groups for CH0..CH11.
Definition at line 234 of file ads7952_registers.hpp.
|
inlineconstexpr |
Number of ADC input channels.
Definition at line 229 of file ads7952_registers.hpp.
Referenced by ads7952::ADS7952< SpiType >::EnterManualMode(), ads7952::ADS7952< SpiType >::ProgramAlarm(), ads7952::ADS7952< SpiType >::ProgramAuto2LastChannel(), and ads7952::ADS7952< SpiType >::ReadChannel().
|
inlineconstexpr |
Number of GPIO pins on ADS7952.
Definition at line 232 of file ads7952_registers.hpp.
|
inlineconstexpr |
Definition at line 85 of file ads7952_registers.hpp.
|
inlineconstexpr |
Definition at line 86 of file ads7952_registers.hpp.
|
inlineconstexpr |
Definition at line 80 of file ads7952_registers.hpp.
|
inlineconstexpr |
Definition at line 79 of file ads7952_registers.hpp.
|
inlineconstexpr |
Definition at line 48 of file ads7952_registers.hpp.
Referenced by ads7952::ADS7952< SpiType >::EnterAuto1Mode(), ads7952::ADS7952< SpiType >::EnterAuto2Mode(), and ads7952::ADS7952< SpiType >::EnterManualMode().
|
inlineconstexpr |
Definition at line 49 of file ads7952_registers.hpp.
Referenced by ads7952::ADS7952< SpiType >::ReadAllChannels(), and ads7952::ADS7952< SpiType >::ReadChannel().
|
inlineconstexpr |
Definition at line 74 of file ads7952_registers.hpp.
|
inlineconstexpr |
Definition at line 73 of file ads7952_registers.hpp.
|
inlineconstexpr |
Definition at line 54 of file ads7952_registers.hpp.
Referenced by ads7952::ADS7952< SpiType >::EnterAuto1Mode(), ads7952::ADS7952< SpiType >::EnterAuto2Mode(), and ads7952::ADS7952< SpiType >::ReadAllChannels().
|
inlineconstexpr |
ADC resolution in bits.
Definition at line 230 of file ads7952_registers.hpp.