Academic Program

Timer0 Background

Timer0 Background

The Timer0 module is an 8-bit timer/counter that is included with all 8-bit PIC® MCU devices. Timer0 is more than just a timer. It has all the following features:

  • 8-bit timer/counter register (TMR0)
  • 8-bit prescaler (independent of Watchdog Timer)
  • Programmable internal or external clock source
  • Programmable external clock edge selection
  • Interrupt on overflow
  • TMR0 can be used to gate Timer1

Below is a simplified block diagram of the Timer0 module.

For more training on Timer0, check out this training: Introduction to the PIC® MCU Timer0.

Project 4 will demonstrate how to use polling to monitor the Timer0 overflow instead of using an interrupt.