Page 1 of 1

[Nano100] 1Hz Timer with LIRC

Posted: 07 Apr 2020, 11:12
by chhsieh3
  • Application: This document describes how to use Timer0 clock source from LIRC and generate interrupt every 1 second.
  • BSP Version: NANO100 Series BSP CMSIS V3.02.000
  • Hardware: NuTiny-EVB-NANO120-LQFP100_V001
NANA100 has four timers, including Timer0, Timer1, Timer2, and Timer3. This example code uses Timer0 as sample. We set Timer0 clock source from LIRC and Timer0 frequency to 1 Hz.

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