找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M251] Pulse Counting in Power-down Mode

[复制链接]
跳转到指定楼层
楼主
admin 发表于 昨天 10:42 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
  • Application: This example code uses TIMER0 to count the number of pulses, and uses RTC to wake up the microcontroller (MCU) and output the number of pulses.
  • BSP Version: M251_M252_M254_M256_M258_Series_BSP_CMSIS_V3.02.006
  • Hardware: NuMaker_M251KG_V1.1

This example code starts by setting up the RTC and TIMER0, then switches the microcontroller (MCU) to Power-down mode. TIMER0 will count the pulses on PB5 until the RTC wakes up the MCU, at which point the counting will stop and the number of pulses will be printed.


You can download the sample code at https://www.nuvoton.com/resource-download.jsp?tp_GUID=EC012024091006190337


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU