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.
Dependents: Inductive_Sensor_3
Fork of LDC1101 by
Diff: LDC1000.h
- Revision:
- 8:b5fb9681869c
- Parent:
- 5:98d4fd07734a
- Child:
- 12:312970050c8c
--- a/LDC1000.h Tue May 26 14:50:16 2015 +0000
+++ b/LDC1000.h Fri May 29 09:28:46 2015 +0000
@@ -20,7 +20,7 @@
#endif
typedef enum { LDC_RESPONSE_192=2,\
- LDC_RESPONSE_384, \
+ LDC_RESPONSE_384= 3, \
LDC_RESPONSE_768, \
LDC_RESPONSE_1536, \
LDC_RESPONSE_3072, \
@@ -58,6 +58,16 @@
* @brief get the calculated inductance value
**/
float getInductance(void);
+
+
+ // EXTRA test get variables values to verify (to calculate the induction)
+ float get_raw_l(void);
+ float get_fsensor(void);
+ float get_frequency(void);
+ float get_responsetime(void);
+ float get_cap(void);
+
+
/**
* @brief Set the value of the external capacitor
* This is needed for the calculation of the inductance.
@@ -74,8 +84,6 @@
**/
uint32_t readRawL(void){_raw_l = readRawCounts(); return _raw_l;};
- // EXTRA test Read INTB register
- uint32_t readINTBregister(void){INTB = readINTB(); return INTB;};
/**
* @brief Set the Response Time parameters.
