APB Timer

Overview

The APB Timer module is a sixteen-bit down counter with a selectable prescaler. Prescale values of 1, 16 and 256 can be selected. The prescaler extends the timer’s range at the expense of precision.

The Timer provides two modes of operation that provide a free running value and also periodic interrupts.

The Timer contains several configuration registers that can be written and read by the processor. Two 4-bit prescalers precede a 32-bit counter. The counter can be clocked at either the input clock rate, or a choice of 7 prescaled rates. The counter can be loaded with a value from a preload register. The counter can optionally generate an interrupt.

The Timer module is a standard APB Slave peripheral; the Timer registers are accessed through this interface.

Key Features

  • Useful for software or RTOS time base
  • 16-bit counter/timer
  • Two 4-bit pre-scalers
  • Configurable
  • Periodic and free running event timer modes
  • Interrupt output
  • AMBA APB bus interface

Block Diagram

APB Timer Block Diagram

Deliverables

  • Verilog Source
  • Complete Test Environment
  • APB Bus Functional Model
  • C-Sample Code

Technical Specifications

Maturity
Silicon Proven
Availability
Now
×
Semiconductor IP