dsPIC30F Family Reference Manual
DS70059C-page 12-2 © 2004 Microchip Technology Inc.
12.1 Introduction
Depending on the specific variant, the dsPIC30F device family offers several 16-bit timers. These
timers are designated as Timer1, Timer2, Timer3, ..., etc.
Each timer module is a 16-bit timer/counter consisting of the following readable/writable
registers:
• TMRx: 16-bit timer count register
• PRx: 16-bit period register associated with the timer
• TxCON: 16-bit control register associated with the timer
Each timer module also has the associated bits for interrupt control:
• Interrupt Enable Control bit (TxIE)
• Interrupt Flag Status bit (TxIF)
• Interrupt Priority Control bits (TxIP<2:0>)
With certain exceptions, all of the 16-bit timers have the same functional circuitry. The 16-bit
timers are classified into three types to account for their functional differences:
• Type A time base
• Type B time base
• Type C time base
Some 16-bit timers can be combined to form a 32-bit timer.
This section does not describe the dedicated timers that are associated with peripheral devices.
For example, this includes the time bases associated with the Motor Control PWM module and
the Quadrature Encoder Interface (QEI) module.