A collection of Analog Devices drivers for the mbed platform
For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all
Diff: examples/drvdiag/driver_wrapper/adxl362_diag.h
- Revision:
- 21:a8023e5e97be
- Parent:
- 19:fb92949e59c9
--- a/examples/drvdiag/driver_wrapper/adxl362_diag.h Tue May 17 15:15:19 2016 +0300 +++ b/examples/drvdiag/driver_wrapper/adxl362_diag.h Tue May 17 18:15:28 2016 +0300 @@ -65,10 +65,18 @@ void fifo_setup(void); void fifo_read_u16(void); void fifo_scan(void); + void intinit(void); + void checkawake(void); private: ADXL362& dut; + + static const uint16_t INACT_VAL = 50; + static const uint16_t INACT_TIMER = 50 * 10; + static const uint16_t ACT_VAL = 50; + static const uint8_t ACT_TIMER = 100; + static const uint16_t SCAN_SENSOR_TIME = 500; }; void rising_adxl362(); void falling_adxl362();