Example test suite for my ADIS16467 driver.
ADIS16467 Driver Example Tests
These examples show how to use some of the functionality in my ADIS16467 driver. To get started with MBed CLI:
Build Instructions
$ hg clone https://yhnrita@os.mbed.com/users/yhnrita/code/ADIS16467-Tests/ $ cd ADIS16467-Tests $ mbed deploy $ mbed compile
ADIS16467TestSuite.h@2:ca014ee9f00a, 2020-02-21 (annotated)
- Committer:
- Rita Yang
- Date:
- Fri Feb 21 18:24:44 2020 -0800
- Revision:
- 2:ca014ee9f00a
Adding fixed source files.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Rita Yang |
2:ca014ee9f00a | 1 | /* |
Rita Yang |
2:ca014ee9f00a | 2 | USC RPL ADIS16467 Test Suite |
Rita Yang |
2:ca014ee9f00a | 3 | Contributors: Rita Yang |
Rita Yang |
2:ca014ee9f00a | 4 | */ |
Rita Yang |
2:ca014ee9f00a | 5 | |
Rita Yang |
2:ca014ee9f00a | 6 | #pragma once |
Rita Yang |
2:ca014ee9f00a | 7 | |
Rita Yang |
2:ca014ee9f00a | 8 | #include <ADIS16467.h> |
Rita Yang |
2:ca014ee9f00a | 9 | #include "mbed.h" |
Rita Yang |
2:ca014ee9f00a | 10 | |
Rita Yang |
2:ca014ee9f00a | 11 | class ADIS16467TestSuite { |
Rita Yang |
2:ca014ee9f00a | 12 | public: |
Rita Yang |
2:ca014ee9f00a | 13 | void test_readData(); |
Rita Yang |
2:ca014ee9f00a | 14 | void test_printFlags(); |
Rita Yang |
2:ca014ee9f00a | 15 | void test_burstRead(); |
Rita Yang |
2:ca014ee9f00a | 16 | void test_readFlags(); |
Rita Yang |
2:ca014ee9f00a | 17 | void test_sensorSelfTest(); |
Rita Yang |
2:ca014ee9f00a | 18 | void test_setPoll(uint16_t pollRate); |
Rita Yang |
2:ca014ee9f00a | 19 | void test_calibrateBias(); |
Rita Yang |
2:ca014ee9f00a | 20 | void test_existence(); |
Rita Yang |
2:ca014ee9f00a | 21 | void test_firmInfo(); |
Rita Yang |
2:ca014ee9f00a | 22 | ADIS16467::ADIS16467 * imu; |
Rita Yang |
2:ca014ee9f00a | 23 | }; |