找回密码
 立即注册

QQ登录

只需一步,快速开始

开启左侧

[M251] Pulse Counting in Power-down Mode

[复制链接]
admin 发表于 2024-9-27 10:42:58 | 显示全部楼层 |阅读模式
  • 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


牛卧堂
回复

使用道具 举报

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

本版积分规则

新唐MCU