VL53L0X World smallest Time-of-Flight (ToF) ranging sensor
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: HelloWorld_ST_Sensors mbed-os-mqtt-client Multi_VL53L0X DISCO-IOT01_HomeEnv ... more
Fork of VL53L0X by
Diff: VL53L0X_i2c_platform.h
- Revision:
- 2:d07edeaff6f1
- Parent:
- 0:a1a69d32f310
--- a/VL53L0X_i2c_platform.h Wed Oct 04 13:21:38 2017 +0000 +++ b/VL53L0X_i2c_platform.h Fri Oct 13 15:31:04 2017 +0000 @@ -73,20 +73,20 @@ */ int32_t VL53L0X_comms_initialise(uint8_t comms_type, - uint16_t comms_speed_khz); + uint16_t comms_speed_khz); - /** - * @brief Initialise platform serial comms. - * - * @param comPortStr - String to indicate the comm port - * @param baudRate - Bau rate - * - * @return status - status 0 = ok, 1 = error - * - */ +/** +* @brief Initialise platform serial comms. +* +* @param comPortStr - String to indicate the comm port +* @param baudRate - Bau rate +* +* @return status - status 0 = ok, 1 = error +* +*/ int VL53L0_i2c_init(char *comPortStr, unsigned int baudRate); - + /** * @brief Close platform comms. * @@ -139,7 +139,7 @@ * Wrapper for SystemVerilog Read Multi task * * @code - * + * * Example: * * uint8_t buffer[COMMS_BUFFER_SIZE]; @@ -166,7 +166,7 @@ * Wrapper for SystemVerilog Write Byte task * * @code - * + * * Example: * * uint8_t page_number = MAIN_SELECT_PAGE;