[Mini51] Software RTC

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

10 Jun 2020, 15:20

  • Application: This document describes how to use timer periodic mode to emulate RTC function.
  • BSP Version: Mini51DE Series BSP CMSIS V3.02.000
  • Hardware: NuTiny-EVB-Mini51_V2.1
This example code demonstrates how to use timer periodic mode to emulate RTC function. We configure Timer0 in periodic mode. Enable interrupt and one interrupt tick per second. Hence, we can get the latest time related information every second.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1225172140
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests