21 Timer1

Note:
  1. This data sheet summarizes the features of the dsPIC33CK512MPT608 family of devices. It is not intended to be a comprehensive reference source. To complement the information in this data sheet, refer to “Timers” (www.microchip.com/DS70362) in the “dsPIC33/PIC24 Family Reference Manual”, which is available from the Microchip website (www.microchip.com/).
  2. Some registers and associated bits described in this section may not be available on all devices. Refer to Memory Organization in this data sheet for device-specific register and bit information.

The Timer1 module is a 16-bit timer that can operate as a free-running interval timer/counter.

The Timer1 module has the following unique features over other timers:

  • Can be Operated in Asynchronous Counter mode
  • Asynchronous Timer
  • Operational during CPU Sleep mode
  • Software Selectable Prescalers 1:1, 1:8, 1:64 and 1:256
  • External Clock Selection Control
  • The Timer1 External Clock Input (T1CK) can Optionally be Synchronized to the Internal Device Clock and the Clock Synchronization is Performed after the Prescaler

If Timer1 is used for SCCP, the timer should be running in Synchronous mode.

The Timer1 module can operate in one of the following modes:

  • Timer mode
  • Gated Timer mode
  • Synchronous Counter mode
  • Asynchronous Counter mode

A block diagram of Timer1 is shown in Figure 21-1.

Figure 21-1. 16-Bit Timer1 Module Block Diagram