在线时间393 小时
UID123826
注册时间2009-4-22
NXP金币2
TA的每日心情 | 难过 2021-12-15 16:01 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]初来乍到
中级会员
 
- 积分
- 377
- 最后登录
- 2023-8-16
|
发表于 2010-5-27 08:57:58
|
显示全部楼层
RE:关于定时器
Each TPM channel is associated with an I/O pin on the MCU. The function of this pin depends on the
configuration of the channel. In some cases, no pin function is needed so the pin reverts to being controlled
by general-purpose I/O controls. When a timer has control of a port pin, the port data and data direction
registers do not affect the related pin(s). See the Pins and Connections chapter for additional information
about shared pin functions.
这个是手册上说明的,大概意思是定时器不影响普通IO口的功能,可以设置IO口的方向和电平状态。 |
|