1234567891011121314151617181920212223242526 |
- #ifndef __ENCODER_INTERFACE_H__
- #define __ENCODER_INTERFACE_H__
- #include "esp_common.h"
- #include "log/esp_log.h"
- #include "hal/io.h"
- #include "hal/lsm6ds3.h"
- #include "interface/light_interface.h"
- #include "hal/lps25hb.h"
- #include "hal/max17043.h"
- #define Encoder_InitIO IO_InitIO
- #define Encoder_DisableIOInterrupts IO_DisableIOInterrupts
- #define Encoder_EnableIOInterrupts IO_EnableIOInterrupts
- #define Encoder_SetIMUCallback IO_SetIMUCallback
- #define Encoder_SetSwitchCallback IO_SetSwitchCallback
- #define Encoder_DisableDebounceTimer IO_DisableDebounceTimer
- #define Encoder_EnableMotion LSM6DS3_EnableMotion
- #define Encoder_DisableMotion LSM6DS3_DisableMotion
- #define Encoder_GetVoltage max17043_getVoltage
- #define Encoder_GetSOC max17043_getSOC
- #define Encoder_InitUART uart_init
- #endif
|