English
Language : 

PIC16F193X Datasheet, PDF (53/418 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F193X/LF193X
2.2.3.2 OPTION register
The OPTION register, shown in Register 2-2, is a
readable and writable register, which contains various
control bits to configure:
• External INT interrupt
• Timer0
• Weak pull-ups
REGISTER 2-2: OPTION_REG: OPTION REGISTER
R/W-1/1
WPUEN
bit 7
R/W-1/1
INTEDG
R/W-1/1
T0CS
R/W-1/1
T0SE
R/W-1/1
PSA
R/W-1/1
PS2
R/W-1/1
PS1
R/W-1/1
PS0
bit 0
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2-0
WPUEN: Weak Pull-up Enable bit
1 = All weak pull-ups are disabled (except MCLR, if it is enabled)
0 = Weak pull-ups are enabled by individual WPUx latch values
INTEDG: Interrupt Edge Select bit
1 = Interrupt on rising edge of RB0/INT pin
0 = Interrupt on falling edge of RB0/INT pin
T0CS: Timer0 Clock Source Select bit
1 = Transition on RA4/T0CKI pin
0 = Internal instruction cycle clock (FOSC/4)
T0SE: Timer0 Source Edge Select bit
1 = Increment on high-to-low transition on RA4/T0CKI pin
0 = Increment on low-to-high transition on RA4/T0CKI pin
PSA: Prescaler Assignment bit
1 = Prescaler is inactive and has no effect on the Timer0 interrupt rate
0 = Prescaler is active and affects the Timer0 interrupt rate
PS<2:0>: Prescaler Rate Select bits
Bit Value Timer0 Rate
000
1:2
001
1:4
010
1:8
011
1 : 16
100
1 : 32
101
1 : 64
110
1 : 128
111
1 : 256
© 2008 Microchip Technology Inc.
Preliminary
DS41364A-page 51