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.
For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all
examples/drvdiag/driver_wrapper/cn0357_diag.h@7:b62398a1d17a, 2016-04-20 (annotated)
- Committer:
- Adrian Suciu
- Date:
- Wed Apr 20 16:35:44 2016 +0300
- Revision:
- 7:b62398a1d17a
- Child:
- 8:6e96c6b3c83f
Added drvdiag tool
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Adrian Suciu |
7:b62398a1d17a | 1 | |
| Adrian Suciu |
7:b62398a1d17a | 2 | #ifndef CN0357_DIAG_H_ |
| Adrian Suciu |
7:b62398a1d17a | 3 | #define CN0357_DIAG_H_ |
| Adrian Suciu |
7:b62398a1d17a | 4 | #include "CN0357.h" |
| Adrian Suciu |
7:b62398a1d17a | 5 | |
| Adrian Suciu |
7:b62398a1d17a | 6 | class CN0357_Diag |
| Adrian Suciu |
7:b62398a1d17a | 7 | { |
| Adrian Suciu |
7:b62398a1d17a | 8 | public: |
| Adrian Suciu |
7:b62398a1d17a | 9 | CN0357_Diag(CN0357& cn); |
| Adrian Suciu |
7:b62398a1d17a | 10 | |
| Adrian Suciu |
7:b62398a1d17a | 11 | void set_RDAC(void); |
| Adrian Suciu |
7:b62398a1d17a | 12 | void read_ppm(void); |
| Adrian Suciu |
7:b62398a1d17a | 13 | void set_sensor_param(void); |
| Adrian Suciu |
7:b62398a1d17a | 14 | |
| Adrian Suciu |
7:b62398a1d17a | 15 | |
| Adrian Suciu |
7:b62398a1d17a | 16 | private: |
| Adrian Suciu |
7:b62398a1d17a | 17 | CN0357& dut; |
| Adrian Suciu |
7:b62398a1d17a | 18 | }; |
| Adrian Suciu |
7:b62398a1d17a | 19 | |
| Adrian Suciu |
7:b62398a1d17a | 20 | |
| Adrian Suciu |
7:b62398a1d17a | 21 | #endif /* AD5270_DIAG_H_ */ |
CN0357 - Toxic gas measurement
CN0216 - Weight Scale