MT2523 API Reference  LinkIt SDK v4

Overview

Typedefs

typedef int32_t(* sensor_driver_object_operate_callback_t) (void *self, uint32_t command, void *buff_out, int32_t size_out, int32_t *actual_out, void *buff_in, int32_t size_in)
 Operates on the physical sensor. More...
 

Typedef Documentation

typedef int32_t(* sensor_driver_object_operate_callback_t) (void *self, uint32_t command, void *buff_out, int32_t size_out, int32_t *actual_out, void *buff_in, int32_t size_in)

Operates on the physical sensor.

Parameters
[in]selfis the handle of the physical sensor driver.
[in]commandis the operation command.
[out]buffer_outis a pointer to the output data.
[in]size_outis the size of the buffer_out.
[out]actual_outis the actual size of the output.
[in]buffer_inis a pointer to the input data.
[in]size_inis the size of the buffer_in.
Returns
>=0, if the operation completed successfully.