Specifications

Chapter 2 - Microcontroller PIC16F84
bit 0:2 PS0, PS1, PS2 (Prescaler Rate Select bit)
These three bits define prescaler rate select bit. What a prescaler is and how these bits can affect
the work of a microcontroller will be explained in section on TMR0.
bit 3 PSA (Prescaler Assignment bit)
Bit which assigns prescaler between TMR0 and watchdog.
1=prescaler is assigned to watchdog
0=prescaler is assigned to a free-run timer TMR0
bit 4 T0SE (TMR0 Source Edge Select bit)
If it is allowed to trigger TMR0 by impulses from the pin RA4/T0CKI, this bit determines whether
this will be to the falling or rising edge of a signal.
1=falling edge
0=rising edge
bit 5 TOCS (TMR0 Clock Source Select bit)
This pin enables free-run timer to increment its state either from internal oscillator on every ΒΌ of
oscillator clock, or through external impulses on RA4/T0CKI pin.
1=external impulses
0=1/4 internal clock
bit 6 INTEDG (Interrupt Edge Select bit)
If interrupt is enabled possible this bit will determine the edge at which an interrupt will be
activated on pin RB0/INT.
1=rising edge
0=falling edge
bit 7 RBPU (PORTB Pull-up Enable bit)
This bit turns on and off internal 'pull-up' resistors on port B.
1= "pull-up" resistors turned off
0= "pull-up" resistors turned on
Previous page Table of contents Chapter overview Next page
http://www.mikroelektronika.co.yu/english/product/books/PICbook/2_04Poglavlje.htm (5 of 6) [4/2/2003 16:17:45]