查看: 2826|回复: 1

[其他] 关于定时器

[复制链接]

该用户从未签到

4

主题

18

帖子

0

新手上路

Rank: 1

积分
40
最后登录
1970-1-1
发表于 2010-5-26 15:01:48 | 显示全部楼层 |阅读模式
问一个很菜的问题,怎么使定时器输出口为普通I/O口,因为我发现关闭定时器后输出口为高电平
我知道答案 目前已有0人回答
回复

使用道具 举报

  • TA的每日心情
    难过
    2021-12-15 16:01
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]初来乍到

    305

    主题

    4701

    帖子

    0

    中级会员

    Rank: 3Rank: 3

    积分
    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口的方向和电平状态。
    该会员没有填写今日想说内容.
    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /3 下一条

    Archiver|手机版|小黑屋|恩智浦技术社区

    GMT+8, 2025-7-20 20:29 , Processed in 0.086011 second(s), 22 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.

    快速回复 返回顶部 返回列表