ESE project: portable camera safe box
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/Interfaces/GenericSensor.h
- Revision:
- 50:f507d4465c31
- Parent:
- 48:cb18488509a5
--- a/Components/Interfaces/GenericSensor.h Mon Jun 08 17:37:59 2015 +0200 +++ b/Components/Interfaces/GenericSensor.h Mon Jun 08 18:04:19 2015 +0200 @@ -62,35 +62,6 @@ * @return 0 in case of success, an error code otherwise */ virtual int ReadID(uint8_t *id) = 0; - - /*** betzw - TODO / NOTE: beyond code is still WIP and not confirmed yet!!! ***/ - /** - * @brief Enter sensor shutdown mode - * @return 0 in case of success, an error code otherwise - * @note not confirmed yet (WIP) - */ - virtual int PowerOff(void) = 0; - - /** - * @brief Reset sensor - * @return 0 in case of success, an error code otherwise - * @note not confirmed yet (WIP) - */ - virtual int Reset(void) = 0; - - /* Interrupt Interface */ - virtual void ConfigIT(uint16_t) = 0; - virtual void EnableIT(uint8_t) = 0; - virtual void DisableIT(uint8_t) = 0; - virtual uint8_t ITStatus(uint16_t, uint16_t) = 0; - virtual void ClearIT(uint16_t, uint16_t) = 0; - - /** - * @brief Attach a function to be called when an interrupt occurs - * @param[in] fptr A pointer to a void function, or 0 to set as none - * @note not confirmed yet (WIP) - */ - virtual void AttachIT(void (*fptr)(void)) = 0; }; #endif /* __GENERIC_SENSOR_CLASS_H */