Functional Description Of The Timer; Clocks - Altera Cyclone V Device Handbook

Hide thumbs Also See for Cyclone V:
Table of Contents

Advertisement

23-2

Functional Description of the Timer

Figure 23-1: Timer Block Diagram
Functional Description of the Timer
The 32-bit timer counts down from a programmed value and generates an interrupt when the count reaches
zero. The timer has an independent clock input connected to the system clock signal or to an external clock
source. †
The timer supports the following modes of operation:
• Free-running mode decrementing from the maximum value (0xFFFFFFFF). Reloads maximum value
upon reaching zero.
• User-defined count mode generates a periodic interrupt. Decrements from the user-defined count value
loaded from the timer1 load count register (timer1loadcount). Reloads the user-defined count upon
reaching zero.
The initial value for the timer (that is, the value from which it counts down) is loaded into the timer by the
timer1loadcount register. The following events can cause a timer to load the initial count from the
timer1loadcount register: †
• Timer is enabled after being reset or disabled
• Timer counts down to 0

Clocks

Table 23-1: Timer Clock Characteristics
This table shows the clock signals and connections associated with the timers.
Timer
OSC1 timer 0
OSC1 timer 1
SP timer 0
SP timer 1
Altera Corporation
Interrupt and
Reset
Manager
System Reset Control
Clock
Register Block
Manager
Slave Interface
L4 Peripheral Bus (osc1_clk)
System Clock
osc1_clk
l4_sp_clk
Timer
Interrupt
Timer must be disabled if clock
frequency changes
MPU
Notes
Timer Introduction
Send Feedback
cv_54023
2013.12.30

Advertisement

Table of Contents
loading

Table of Contents