|
AMU Library 3.0
C/C++ library for communicating with AMU (Aerospace Measurement Unit) devices
|
I2C commands for data acquisition and measurement operations. More...
Enumerations | |
| enum | CMD_EXEC_t { CMD_EXEC_MEAS_ACTIVE_CHANNELS = 0x0100 + 0x30+ 0x00 , CMD_EXEC_MEAS_CHANNEL = 0x0100 + 0x30+ 0x01 , CMD_EXEC_MEAS_TSENSORS = 0x0100 + 0x30+ 0x02 , CMD_EXEC_MEAS_INTERNAL_VOLTAGES = 0x0100 + 0x30+ 0x03 , CMD_EXEC_MEAS_SUN_SENSOR = 0x0100 + 0x30+ 0x04 , CMD_EXEC_MEAS_PRESSURE_SENSOR = 0x0100 + 0x30+ 0x05 , CMD_EXEC_ADC_CAL = 0x0100 + 0x30+ 0x07 , CMD_EXEC_ADC_CAL_ALL_INTERNAL = 0x0100 + 0x30+ 0x08 , CMD_EXEC_ADC_CAL_SAVE_ALL_INTERNAL = 0x0100 + 0x30+ 0x09 , CMD_EXEC_DAC_CAL = 0x0100 + 0x30+ 0x0A , CMD_EXEC_DAC_CAL_SAVE = 0x0100 + 0x30+ 0x0B , CMD_EXEC_TSENSOR_CAL_25C = 0x0100 + 0x30+ 0x0C , CMD_EXEC_TSENSOR_COEFF_SAVE = 0x0100 + 0x30+ 0x0D , CMD_EXEC_SUNSENSOR_COEFF_SAVE = 0x0100 + 0x30+ 0x0E , CMD_EXEC_HEATER_PID_SAVE = 0x0100 + 0x30+ 0x0F } |
| Execution and measurement command identifiers. More... | |
| enum | CMD_MEAS_CH_t { CMD_MEAS_CH_VOLTAGE = 0x0100 + 0x70+ 0x00 , CMD_MEAS_CH_CURRENT = 0x0100 + 0x70+ 0x01 , CMD_MEAS_CH_TSENSOR = 0x0100 + 0x70+ 0x02 , CMD_MEAS_CH_TSENSOR_0 = 0x0100 + 0x70+ 0x02 , CMD_MEAS_CH_TSENSOR_1 = 0x0100 + 0x70+ 0x03 , CMD_MEAS_CH_TSENSOR_2 = 0x0100 + 0x70+ 0x04 , CMD_MEAS_CH_BIAS = 0x0100 + 0x70+ 0x05 , CMD_MEAS_CH_OFFSET = 0x0100 + 0x70+ 0x06 , CMD_MEAS_CH_TEMP = 0x0100 + 0x70+ 0x07 , CMD_MEAS_CH_AVDD = 0x0100 + 0x70+ 0x08 , CMD_MEAS_CH_IOVDD = 0x0100 + 0x70+ 0x09 , CMD_MEAS_CH_ALDO = 0x0100 + 0x70+ 0x0A , CMD_MEAS_CH_DLDO = 0x0100 + 0x70+ 0x0B , CMD_MEAS_CH_SS_TL = 0x0100 + 0x70+ 0x0C , CMD_MEAS_CH_SS_BL = 0x0100 + 0x70+ 0x0D , CMD_MEAS_CH_SS_BR = 0x0100 + 0x70+ 0x0E , CMD_MEAS_CH_SS_TR = 0x0100 + 0x70+ 0x0F } |
| Measurement channel command identifiers. More... | |
I2C commands for data acquisition and measurement operations.
These I2C commands perform measurements including:
Commands include both execution (0x013x) and channel-specific (0x017x) ranges.
| enum CMD_EXEC_t |
Execution and measurement command identifiers.
These commands trigger measurements and calibration procedures. Most return measurement data or perform calibration operations.
Definition at line 415 of file amu_commands.h.
| enum CMD_MEAS_CH_t |
Measurement channel command identifiers.
These commands perform measurements on specific ADC channels. Channel assignments are based on AMU_ADC_CH_t definitions.
| Enumerator | ||
|---|---|---|
| CMD_MEAS_CH_VOLTAGE | 0x0100 + 0x70+ 0x00 | Measures dedicated voltage channel. Measures voltage on the dedicated voltage input channel
|
| CMD_MEAS_CH_CURRENT | 0x0100 + 0x70+ 0x01 | Measures dedicated current channel. Measures current on the dedicated current input channel
|
| CMD_MEAS_CH_TSENSOR | 0x0100 + 0x70+ 0x02 | Measures primary temperature sensor. Measures primary temperature sensor (same as TSENSOR0)
|
| CMD_MEAS_CH_TSENSOR_0 | 0x0100 + 0x70+ 0x02 | Measures temperature sensor 0. Measures temperature sensor 0
|
| CMD_MEAS_CH_TSENSOR_1 | 0x0100 + 0x70+ 0x03 | Measures temperature sensor 1. Measures temperature sensor 1
|
| CMD_MEAS_CH_TSENSOR_2 | 0x0100 + 0x70+ 0x04 | Measures temperature sensor 2. Measures temperature sensor 2
|
| CMD_MEAS_CH_BIAS | 0x0100 + 0x70+ 0x05 | Measures bias voltage reference. Measures bias voltage reference
|
| CMD_MEAS_CH_OFFSET | 0x0100 + 0x70+ 0x06 | Measures offset calibration reference. Measures offset calibration reference
|
| CMD_MEAS_CH_TEMP | 0x0100 + 0x70+ 0x07 | Measures internal MCU temperature. Measures internal MCU temperature sensor
|
| CMD_MEAS_CH_AVDD | 0x0100 + 0x70+ 0x08 | Measures analog supply voltage. Measures analog supply voltage (AVDD)
|
| CMD_MEAS_CH_IOVDD | 0x0100 + 0x70+ 0x09 | Measures I/O supply voltage. Measures I/O supply voltage (IOVDD)
|
| CMD_MEAS_CH_ALDO | 0x0100 + 0x70+ 0x0A | Measures analog LDO output voltage. Measures analog LDO regulator output voltage
|
| CMD_MEAS_CH_DLDO | 0x0100 + 0x70+ 0x0B | Measures digital LDO output voltage. Measures digital LDO regulator output voltage
|
| CMD_MEAS_CH_SS_TL | 0x0100 + 0x70+ 0x0C | Measures sun sensor top-left quadrant. Measures sun sensor top-left quadrant photodiode
|
| CMD_MEAS_CH_SS_BL | 0x0100 + 0x70+ 0x0D | Measures sun sensor bottom-left quadrant. Measures sun sensor bottom-left quadrant photodiode
|
| CMD_MEAS_CH_SS_BR | 0x0100 + 0x70+ 0x0E | Measures sun sensor bottom-right quadrant. Measures sun sensor bottom-right quadrant photodiode
|
| CMD_MEAS_CH_SS_TR | 0x0100 + 0x70+ 0x0F | Measures sun sensor top-right quadrant. Measures sun sensor top-right quadrant photodiode
|
Definition at line 953 of file amu_commands.h.