- 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
|