Pudding_LWNode_Template/include/app_sensors_impl.h
Yilin Sun 7c522f09db
All checks were successful
continuous-integration/drone/push Build is passing
Initial commit.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2023-07-02 23:11:04 +08:00

19 lines
427 B
C

#ifndef APP_SENSORS_IMPL_H
#define APP_SENSORS_IMPL_H
/* HAL Drivers */
#include "stm32wlxx_hal.h"
/* Sensors */
#include "imsensors/common/sensors_common.h"
typedef struct {
I2C_HandleTypeDef *hi2c;
uint8_t dev_addr;
} app_sensors_impl_t;
ims_ret_t app_sensors_i2c_xfer(void *pdev, ims_i2c_xfer_desc_t *xfer);
ims_ret_t app_sensors_delay(void *pdev, uint32_t delay_msec);
#endif // APP_SENSORS_IMPL_H