Specifications
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 4: Timers
Fig. 4-1 Timer TMR0
OPTION_REG Register
Fig. 4-2 OPTION_REG Register
● RBPU - PORTB Pull-up enable bit
❍ 0 - PORTB pull-up resistors are disabled; and
❍ 1 - PORTB pins can be connected to pull-up resistors.
● INTEDG - Interrupt Edge Select bit
❍ 0 - Interrupt on rising edge of INT pin (0-1); and
❍ 1 - Interrupt on falling edge of INT pin (1-0).
● T0CS - TMR0 Clock Select bit
❍ 0 - Pulses are brought to TMR0 timer/counter input through the RA4 pin; and
http://www.mikroe.com/en/books/picmcubook/ch4/ (2 of 12)5/3/2009 11:32:57 AM