INSAT Mini Project
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_6180XA1 by
Diff: Components/VL6180X/vl6180x_class.h
- Revision:
- 26:db0cdc5ecc0a
- Parent:
- 24:025afc3fe30f
- Child:
- 27:22c6f69967d9
--- a/Components/VL6180X/vl6180x_class.h Mon Nov 02 13:49:54 2015 +0000 +++ b/Components/VL6180X/vl6180x_class.h Wed Nov 04 09:11:52 2015 +0100 @@ -78,7 +78,7 @@ als_continuous_polling_high_threshold, als_continuous_polling_out_of_window, range_continuous_interrupt_low_threshold, - range_continuous_interrrupt_high_threshold, + range_continuous_interrupt_high_threshold, range_continuous_interrupt_out_of_window, als_continuous_interrupt_low_threshold, als_continuous_interrupt_high_threshold, @@ -277,7 +277,7 @@ return VL6180x_AlsSetAnalogueGain(Device, gain); } - int AlsSetThresholds(uint16_t low, uint16_t high) + int AlsSetThresholds(lux_t low, lux_t high) { return VL6180x_AlsSetThresholds(Device, low, high); } @@ -473,7 +473,7 @@ int VL6180x_AlsSetIntegrationPeriod(VL6180xDev_t dev, uint16_t period_ms); int VL6180x_AlsSetInterMeasurementPeriod(VL6180xDev_t dev, uint16_t intermeasurement_period_ms); int VL6180x_AlsSetAnalogueGain(VL6180xDev_t dev, uint8_t gain); - int VL6180x_AlsSetThresholds(VL6180xDev_t dev, uint16_t low, uint16_t high); + int VL6180x_AlsSetThresholds(VL6180xDev_t dev, lux_t low, lux_t high); int VL6180x_AlsGetInterruptStatus(VL6180xDev_t dev, uint8_t *pIntStatus); int VL6180x_StaticInit(VL6180xDev_t dev); int VL6180x_RangeWaitDeviceReady(VL6180xDev_t dev, int MaxLoop ); @@ -563,7 +563,7 @@ int AlsMeasIntContinuousMode(void (*fptr)(void)); int InterleavedMode(void (*fptr)(void)); int StartInterleavedMode(); - int VL6180x_AlsGetThresholds(VL6180xDev_t dev, uint16_t *low, uint16_t *high); + int AlsGetThresholds(VL6180xDev_t dev, lux_t *low, lux_t *high); /* IO Device */