initial release
Diff: Components/VL53L0X/vl53l0x_class.h
- Revision:
- 20:cb95ef8a3508
- Parent:
- 15:44e6c9013bff
--- a/Components/VL53L0X/vl53l0x_class.h Tue Aug 08 14:41:03 2017 +0000 +++ b/Components/VL53L0X/vl53l0x_class.h Fri Dec 15 14:13:04 2017 +0000 @@ -452,6 +452,26 @@ /** * + * @brief Get the 53L0 device + * + * To be called to retrive the internal device descriptor to allow usage of + * low level API having device as parameter. To be called after set_device_address() + * (if any). + * + * @par Function Description + * To be called if low level API usage is needed as those functions requires + * device as a parameter.TICINIT. + * + * @note This function return a pointer to an object internal structure + * + * @param dev ptr to ptr to Device Handle + * @return VL53L0X_ERROR_NONE Success + * @return "Other error code" See ::VL53L0X_Error + */ + VL53L0X_Error vl53l0x_get_device(VL53L0X_DEV *dev); + + /** + * * @brief One time device initialization * * To be called once and only once after device is brought out of reset (Chip enable) and booted. @@ -625,7 +645,7 @@ * @return "Other error code" See ::VL53L0X_Error */ VL53L0X_Error vl53l0x_data_init(VL53L0X_DEV dev); - + /** * @brief Do basic device init (and eventually patch loading) * This function will change the VL53L0X_State from