定时器最大计时为什么是65535us
时间: 2024-04-23 20:29:01 浏览: 123
定时器的最大计时为65535us是因为定时器是由16位加法计数器组成的,最大计数值为65535个计数脉冲。在定时器工作模式下,每接收到一个计数脉冲,计数器就会加1,当计数值累计至全为1时(16位65535),再输入一个计数脉冲,计数器就会溢出回零。因此,定时器的最大计时为65535个计数脉冲,即65535us。\[1\]\[2\]
#### 引用[.reference_title]
- *1* [定时器计时](https://blog.csdn.net/chengcao123/article/details/121129034)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [【蓝桥杯单片机笔记5】定时器简单应用及进阶](https://blog.csdn.net/silver321/article/details/122582918)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文