Edit online

接口设计

3 Sep 2024

以下接口是 Input 子系统需要的标准接口。

1. aic_rtp_open
函数原型static int aic_rtp_open(struct input_dev *dev)
功能说明打开 RTP 设备,驱动会使能 RTP 控制器
参数定义dev - 指向当前的 input 设备
返回值0,成功。 < 0,失败
注意事项-
2. aic_rtp_close
函数原型static void aic_rtp_close(struct input_dev *dev)
功能说明关闭 RTP 设备,驱动会关闭 RTP 控制器
参数定义dev - 指向当前的 input 设备
返回值-
注意事项-