James Reynolds / AD594x Driver
Embed: (wiki syntax)

« Back to documentation index

LPDACPara_Type Struct Reference

LPDACPara_Type Struct Reference
[TypeDefinitions]

LPDAC parameters: LPDAC code to voltage transfer function. More...

#include <ad5940.h>

Data Fields

float kC2V_DAC12B
 the k factor of code to voltage(in mV) transfer function
float bC2V_DAC12B
 the offset of code to voltage transfer function.
float kC2V_DAC6B
 the k factor for LPDAC 6 bit output.
float bC2V_DAC6B
 the offset for LPDAC 6 bit output.
float kV2C_DAC12B
 the k factor for converting voltage to code for LPDAC 12bit output.
float bV2C_DAC12B
 the offset for converting voltage to code for LPDAC 12bit output.
float kV2C_DAC6B
 the k factor for converting voltage to code for LPDAC 6bit output.
float bV2C_DAC6B
 the offset for converting voltage to code for LPDAC 6bit output.

Detailed Description

LPDAC parameters: LPDAC code to voltage transfer function.

Voltage(mV) = kC2V_DACxB * Code + bC2V_DACxB; where x is 12 or 6 represent 12Bit DAC and 6Bit DAC. C2V means code to voltage. Code is the data register value for LPDAC. The equation gives real output voltage of LPDAC. Similarly, Code(LSB) = kV2C_DACxB * Voltage(mV) + bC2V_DAC12B;

Apparently, kV2C_DACxB = 1/kC2V_DACxB; bC2V_DACxB = -bC2V_DACxB/kC2V_DACxB;

Definition at line 4632 of file ad5940.h.


Field Documentation

float bC2V_DAC12B

the offset of code to voltage transfer function.

It's the voltage in mV when code is zero.

Definition at line 4636 of file ad5940.h.

float bC2V_DAC6B

the offset for LPDAC 6 bit output.

Definition at line 4638 of file ad5940.h.

float bV2C_DAC12B

the offset for converting voltage to code for LPDAC 12bit output.

Definition at line 4641 of file ad5940.h.

float bV2C_DAC6B

the offset for converting voltage to code for LPDAC 6bit output.

Definition at line 4643 of file ad5940.h.

float kC2V_DAC12B

the k factor of code to voltage(in mV) transfer function

Definition at line 4635 of file ad5940.h.

float kC2V_DAC6B

the k factor for LPDAC 6 bit output.

Definition at line 4637 of file ad5940.h.

float kV2C_DAC12B

the k factor for converting voltage to code for LPDAC 12bit output.

Definition at line 4640 of file ad5940.h.

float kV2C_DAC6B

the k factor for converting voltage to code for LPDAC 6bit output.

Definition at line 4642 of file ad5940.h.