Files
drivers_framework/model/input/driver/hdf_encoder.h
T
YOUR_NAME cbaa19034f 处理ReviewBot告警
Signed-off-by: YOUR_NAME <xieyingdong1@huawei.com>
2021-12-01 09:03:31 +00:00

32 lines
871 B
C

/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
*
* HDF is dual licensed: you can use it either under the terms of
* the GPL, or the BSD license, at your option.
* See the LICENSE file in the root of this repository for complete details.
*/
#ifndef HDF_ENCODER_H
#define HDF_ENCODER_H
#include <securec.h>
#include "hdf_device_object.h"
#include "hdf_input_device_manager.h"
#include "input_config.h"
#include "osal_time.h"
#include "osal_timer.h"
typedef struct EncoderDriverInfo {
struct HdfDeviceObject *hdfEncoderDev;
uint8_t devType;
EncoderCfg *encoderCfg;
InputDevice *inputDev;
OsalTimer timer;
uint16_t encoderClkPreSta;
uint16_t encoderClkNowSta;
uint16_t encoderDataPreSta;
uint16_t encoderDataNowSta;
uint16_t encoderSWPreSta;
uint16_t encoderSWNowSta
} EncoderDriver;
#endif