30#define FPGA_UPDATE_RATE 5000
31#define FPGA_MEM_ADDR_MAX 0xFF
33#define WR_COMMAND 0x80
34#define RD_COMMAND 0x00
37#define FPGA_TEMP_DEVID 0x01
38#define FMC1_TEMP_DEVID 0x02
39#define FMC2_TEMP_DEVID 0x03
40#define DCDC_TEMP_DEVID 0x04
41#define RAM_TEMP_DEVID 0x05
42#define FMC1_12V_CURR_DEVID 0x06
43#define FMC1_P3V3_CURR_DEVID 0x07
44#define FMC1_VADJ_CURR_DEVID 0x08
45#define FMC2_12V_CURR_DEVID 0x09
46#define FMC2_P3V3_CURR_DEVID 0x0A
47#define FMC2_VADJ_CURR_DEVID 0x0B
48#define FMC1_12V_DEVID 0x0C
49#define FMC1_P3V3_DEVID 0x0D
50#define FMC1_VADJ_DEVID 0x0E
51#define FMC2_12V_DEVID 0x0F
52#define FMC2_P3V3_DEVID 0x10
53#define FMC2_VADJ_DEVID 0x11
76 uint32_t fmc1_prsnt_m2c_n:1,
sensor_diag_t
Definition fpga_spi.h:64
fmc_diag_t
Definition fpga_spi.h:84
void vTaskFPGA_COMM(void *Parameters)
FPGA Diagnostics Task.
Definition fpga_spi.c:64
void fpga_spi_init(void)
Initializes the FPGA Diagnostics Task.
Definition fpga_spi.c:126
struct __attribute__((__packed__))
Definition fpga_spi.h:56
board_diagnostic_t
Definition fpga_spi.h:96
#define NUM_SENSOR
Definition sdr.h:28
General utilities functions.