encoder_interface.h 606 B

123456789101112131415161718192021
  1. #ifndef ENCODER_INTERFACE_H
  2. #define ENCODER_INTERFACE_H
  3. #include "esp_common.h"
  4. #include "log/esp_log.h"
  5. #include "hal/io.h"
  6. #include "hal/lsm6ds3.h"
  7. #include "interface/light_interface.h"
  8. #include "hal/lps25hb.h"
  9. #include "hal/max17043.h"
  10. #define Encoder_InitIO IO_InitIO
  11. #define Encoder_DisableIOInterrupts IO_DisableIOInterrupts
  12. #define Encoder_EnableIOInterrupts IO_EnableIOInterrupts
  13. #define Encoder_SetIMUCallback IO_SetIMUCallback
  14. #define Encoder_SetSwitchCallback IO_SetSwitchCallback
  15. #define Encoder_EnableMotion LSM6DS3_EnableMotion
  16. #define Encoder_DisableMotion LSM6DS3_DisableMotion
  17. #endif