Beta
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A2 by
Diff: Components/LSM6DSLSensor/LSM6DSLSensor.h
- Revision:
- 5:63b2b4c21092
- Parent:
- 1:bd2a01e81e6f
- Child:
- 6:671fd10a51b7
--- a/Components/LSM6DSLSensor/LSM6DSLSensor.h Mon Dec 05 12:18:43 2016 +0000 +++ b/Components/LSM6DSLSensor/LSM6DSLSensor.h Thu Dec 15 14:03:46 2016 +0000 @@ -147,8 +147,7 @@ int Enable_G(void); int Disable_X(void); int Disable_G(void); - int Enable_Free_Fall_Detection(void); - int Enable_Free_Fall_Detection(LSM6DSL_Interrupt_Pin_t pin); + int Enable_Free_Fall_Detection(LSM6DSL_Interrupt_Pin_t pin = LSM6DSL_INT1_PIN); int Disable_Free_Fall_Detection(void); int Set_Free_Fall_Threshold(uint8_t thr); int Enable_Pedometer(void); @@ -156,25 +155,20 @@ int Get_Step_Counter(uint16_t *step_count); int Reset_Step_Counter(void); int Set_Pedometer_Threshold(uint8_t thr); - int Enable_Tilt_Detection(void); - int Enable_Tilt_Detection(LSM6DSL_Interrupt_Pin_t pin); + int Enable_Tilt_Detection(LSM6DSL_Interrupt_Pin_t pin = LSM6DSL_INT1_PIN); int Disable_Tilt_Detection(void); - int Enable_Wake_Up_Detection(void); - int Enable_Wake_Up_Detection(LSM6DSL_Interrupt_Pin_t pin); + int Enable_Wake_Up_Detection(LSM6DSL_Interrupt_Pin_t pin = LSM6DSL_INT2_PIN); int Disable_Wake_Up_Detection(void); int Set_Wake_Up_Threshold(uint8_t thr); - int Enable_Single_Tap_Detection(void); - int Enable_Single_Tap_Detection(LSM6DSL_Interrupt_Pin_t pin); + int Enable_Single_Tap_Detection(LSM6DSL_Interrupt_Pin_t pin = LSM6DSL_INT1_PIN); int Disable_Single_Tap_Detection(void); - int Enable_Double_Tap_Detection(void); - int Enable_Double_Tap_Detection(LSM6DSL_Interrupt_Pin_t pin); + int Enable_Double_Tap_Detection(LSM6DSL_Interrupt_Pin_t pin = LSM6DSL_INT1_PIN); int Disable_Double_Tap_Detection(void); int Set_Tap_Threshold(uint8_t thr); int Set_Tap_Shock_Time(uint8_t time); int Set_Tap_Quiet_Time(uint8_t time); int Set_Tap_Duration_Time(uint8_t time); - int Enable_6D_Orientation(void); - int Enable_6D_Orientation(LSM6DSL_Interrupt_Pin_t pin); + int Enable_6D_Orientation(LSM6DSL_Interrupt_Pin_t pin = LSM6DSL_INT1_PIN); int Disable_6D_Orientation(void); int Get_6D_Orientation_XL(uint8_t *xl); int Get_6D_Orientation_XH(uint8_t *xh);