文件名称:avr_encoder
介绍说明--下载内容来自于网络,使用问题请自行百度
1.将连接编码器的I/O口初始化成带上拉的输入
2.开启单片机的外部中断0,并配置成任意的逻辑电平变化都将引发中断
3.提供读取编码器计数值的API
4.提供读取编码器旋转方向的API-1. Connect the encoder I/O port is initialized to inputs with pull 2. Turn on the external microcontroller interrupt 0, and configured to any logic level change will trigger an interrupt 3. Provide Read encoder count API 4. Read encoder provides the rotational direction of the API
2.开启单片机的外部中断0,并配置成任意的逻辑电平变化都将引发中断
3.提供读取编码器计数值的API
4.提供读取编码器旋转方向的API-1. Connect the encoder I/O port is initialized to inputs with pull 2. Turn on the external microcontroller interrupt 0, and configured to any logic level change will trigger an interrupt 3. Provide Read encoder count API 4. Read encoder provides the rotational direction of the API
(系统自动生成,下载前可以参看下载内容)
下载文件列表
avr_encoder/encoder.c
avr_encoder/encoder.h
avr_encoder
avr_encoder/encoder.h
avr_encoder
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
