Electronic Load  1.0
Programmable Constant Current Sink
Data Fields
SPI_XmtStruct_t Struct Reference

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

Data Fields

union {
   char   array [11]
 
   struct {
      const char   ADCCmd [7]
 
      uint16_t   DAC
 Raw value for the DAC. More...
 
      uint8_t   DAC_CMD
 Command Byte for DAC. More...
 
      uint8_t   LED
 Bitmask for LED shift register. More...
 
   }   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

◆ ADCCmd

const char ADCCmd[7]

◆ LED

uint8_t LED

Bitmask for LED shift register.

◆ DAC

uint16_t DAC

Raw value for the DAC.

◆ DAC_CMD

uint8_t DAC_CMD

Command Byte for DAC.

◆ named

struct { ... } named

◆ array

char array[11]

◆ data

union { ... } data

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