English
Language : 

JN516X Datasheet, PDF (38/94 Pages) NXP Semiconductors – IEEE802.15.4 Wireless Microcontroller
11 Timers
11.1 Peripheral Timer/Counters
A general-purpose timer/counter unit, Timer0, is available that can be configured to operate in one of five possible
modes. This has:
• Clocked from internal system clock (16MHz)
• 5-bit prescaler, divides system clock by 2 prescale value as the clock to the timer (prescaler range is 0 to 16)
• 16-bit counter, 16-bit Rise and Fall (period) registers
• Timer: can generate interrupts off Rise and Fall counts. Can be gated by external signal
• Counter: counts number of transitions on external event signal. Can use low-high, high-low or both
transitions
• PWM/Single pulse: outputs repeating Pulse Width Modulation signal or a single pulse. Can set period and
mark-space ratio
• Capture: measures times between transitions of an applied signal
• Delta-Sigma: Return-To-Zero (RTZ) and Non-Return-to-Zero (NRZ) modes
• Timer usage of external IO can be controlled on a pin by pin basis
Four further timers are also available that support the same functionality but have no Counter or Capture mode.
These are referred to as PWM timers. Additionally, is not possible to gate these four timers with an external signal.
Sw System Single
Reset Reset Shot
Interrupt Enable
Reset
Generator
Interrupt
Interrupt
Generator
TIMxCAP
Capture
Generator
TIMxCK_GT
Fall
-1
<
Rise
=
Edge
Select
SYSCLK
Prescaler
EN
Counter
PWM/∆Σ
EN
Delta Sigma
PWM/∆Σ
>=
DQ
TIMxOut
PWM/∆Σ
Figure 25: Timer Unit Block Diagram
38
JN-DS-JN516x v1.1 Production
© NXP Laboratories UK 2013