Electronic Load 1.0 Programmable Constant Current Sink

Data Fields
ADC_RcvStruct_t Struct Reference

Raw values for ADC, DAC and LEDs. More...

Collaboration diagram for ADC_RcvStruct_t:
[legend]

## Data Fields
union {
char array [11]
struct {
uint16_t DAC
| Raw value for the DAC. More...
uint8_t DAC_CMD
uint8_t dummy
| Dummy byte. More...
uint8_t LED
| Bitmask for LED shift register. More...
SPIADCData_t SPIADCData
} named
} | data

## Detailed Description

Raw values for ADC, DAC and LEDs.

This structure holds the raw values for the four channels of an ADC, the actual Value for the DAC and LED states. It is the direct data stream from the ADC and must be filled starting at the end to get the correct byte order for an uint16_t

## Field Documentation

## ◆ SPIADCData

SPIADCData_t SPIADCData

## ◆ dummy

uint8_t dummy

Dummy byte.

## ◆ LED

uint8_t LED

Bitmask for LED shift register.

## ◆ DAC

uint16_t DAC

Raw value for the DAC.

## ◆ DAC_CMD

uint8_t DAC_CMD

## ◆ named

struct { ... } named

## ◆ array

char array[11]

## ◆ data

union { ... } data

The documentation for this struct was generated from the following file:

- spi.h