removed X-NUCLEO-COMMON and ST-INTERFACES
Dependents: unh-hackathon-example unh-hackathon-example-raw
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lsm6ds0/lsm6ds0_class.h
- Revision:
- 92:d1c67d482bad
- Parent:
- 88:7b8d3316d753
diff -r c21be6c34852 -r d1c67d482bad Components/lsm6ds0/lsm6ds0_class.h --- a/Components/lsm6ds0/lsm6ds0_class.h Thu Mar 23 13:05:15 2017 +0000 +++ b/Components/lsm6ds0/lsm6ds0_class.h Fri Mar 24 10:57:29 2017 +0100 @@ -61,67 +61,67 @@ virtual ~LSM6DS0() {} /*** Interface Methods ***/ - virtual int Init(void *init_struct) { + virtual int init(void *init_struct) { return LSM6DS0_Init((IMU_6AXES_InitTypeDef*)init_struct); } - virtual int ReadID(uint8_t *xg_id) { + virtual int read_id(uint8_t *xg_id) { return LSM6DS0_Read_XG_ID(xg_id); } - virtual int Get_X_Axes(int32_t *pData) { + virtual int get_x_axes(int32_t *pData) { return LSM6DS0_X_GetAxes(pData); } - virtual int Get_X_AxesRaw(int16_t *pData) { + virtual int get_x_axes_raw(int16_t *pData) { return LSM6DS0_X_GetAxesRaw(pData); } - virtual int Get_G_Axes(int32_t *pData) { + virtual int get_g_axes(int32_t *pData) { return LSM6DS0_G_GetAxes(pData); } - virtual int Get_G_AxesRaw(int16_t *pData) { + virtual int get_g_axes_raw(int16_t *pData) { return LSM6DS0_G_GetAxesRaw(pData); } - virtual int Get_X_ODR(float *odr) { + virtual int get_x_odr(float *odr) { return LSM6DS0_X_Get_ODR(odr); } - virtual int Set_X_ODR(float odr) { + virtual int set_x_odr(float odr) { return LSM6DS0_X_Set_ODR(odr); } - virtual int Get_X_Sensitivity(float *pfData) { + virtual int get_x_sensitivity(float *pfData) { return LSM6DS0_X_GetSensitivity(pfData); } - virtual int Get_X_FS(float *fullScale) { + virtual int get_x_fs(float *fullScale) { return LSM6DS0_X_Get_FS(fullScale); } - virtual int Set_X_FS(float fullScale) { + virtual int set_x_fs(float fullScale) { return LSM6DS0_X_Set_FS(fullScale); } - virtual int Get_G_ODR(float *odr) { + virtual int get_g_odr(float *odr) { return LSM6DS0_G_Get_ODR(odr); } - virtual int Set_G_ODR(float odr) { + virtual int set_g_odr(float odr) { return LSM6DS0_G_Set_ODR(odr); } - virtual int Get_G_Sensitivity(float *pfData) { + virtual int get_g_sensitivity(float *pfData) { return LSM6DS0_G_GetSensitivity(pfData); } - virtual int Get_G_FS(float *fullScale) { + virtual int get_g_fs(float *fullScale) { return LSM6DS0_G_Get_FS(fullScale); } - virtual int Set_G_FS(float fullScale) { + virtual int set_g_fs(float fullScale) { return LSM6DS0_G_Set_FS(fullScale); }