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.
AD8556 Class Reference
#include <AD8556.h>
Public Member Functions | |
AD8556 (PinName dig) | |
Constructor. | |
~AD8556 () | |
Destructor. | |
int | init (unsigned char mode=ADC_MODE_SIMULATION, unsigned char First_Stage_Gain_Code=0, unsigned char Second_Stage_Gain_Code=0, unsigned char Vdac_Code=0x7F) |
init | |
void | prog_vdac (float vdac, float vdd=5.0, float vss=0.0, unsigned char mode=ADC_MODE_SIMULATION) |
prog_vdac | |
void | prog_gain (float gain=70.0, unsigned char mode=ADC_MODE_SIMULATION) |
prog_gain |
Detailed Description
AD8556 class.
Used for controlling a AD8556 Instrumentation Amplifiers connected via Single-wire serial interface.
Definition at line 35 of file AD8556.h.
Constructor & Destructor Documentation
AD8556 | ( | PinName | dig ) |
Constructor.
AD8556: Digitally Programmable Sensor Signal Amplifier with EMI Filters http://www.analog.com/en/specialty-amplifiers/instrumentation-amplifiers/ad8556/products/product.html.
- Parameters:
-
dig
- Date:
- 05/09/2013
- Parameters:
-
dig
Definition at line 17 of file AD8556.cpp.
~AD8556 | ( | ) |
Destructor.
Definition at line 24 of file AD8556.cpp.
Member Function Documentation
int init | ( | unsigned char | mode = ADC_MODE_SIMULATION , |
unsigned char | First_Stage_Gain_Code = 0 , |
||
unsigned char | Second_Stage_Gain_Code = 0 , |
||
unsigned char | Vdac_Code = 0x7F |
||
) |
init
- Parameters:
-
First_Stage_Gain_Code Second_Stage_Gain_Code Vdac_Code mode First_Stage_Gain_Code Second_Stage_Gain_Code Vdac_Code
Definition at line 39 of file AD8556.cpp.
void prog_gain | ( | float | gain = 70.0 , |
unsigned char | mode = ADC_MODE_SIMULATION |
||
) |
void prog_vdac | ( | float | vdac, |
float | vdd = 5.0 , |
||
float | vss = 0.0 , |
||
unsigned char | mode = ADC_MODE_SIMULATION |
||
) |
prog_vdac
vdac
- Parameters:
-
vdac consigne (volt) vdd positive voltage supply (volt) vss nagative voltage supply (volt) mode
Definition at line 139 of file AD8556.cpp.
Generated on Mon Jul 18 2022 13:22:21 by
