Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
| float bC2V_DAC6B |
| float bV2C_DAC12B |
| float bV2C_DAC6B |
| float kC2V_DAC12B |
| float kC2V_DAC6B |
| float kV2C_DAC12B |
| float kV2C_DAC6B |
Generated on Tue Jul 12 2022 21:32:08 by
1.7.2