PIC12C508A Microchip Technology, PIC12C508A Datasheet - Page 17

no-image

PIC12C508A

Manufacturer Part Number
PIC12C508A
Description
8-Pin/ 8-Bit CMOS Microcontrollers
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12C508A
Manufacturer:
MIROCHIP
Quantity:
5 159
Part Number:
PIC12C508A
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12C508A-04/P
Manufacturer:
MICROCHIPS
Quantity:
482
Part Number:
PIC12C508A-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12C508A-04/SM
Manufacturer:
MICROCHI
Quantity:
42
Part Number:
PIC12C508A-04/SM
Manufacturer:
MICROCIHIP
Quantity:
20 000
Company:
Part Number:
PIC12C508A-04/SM
Quantity:
30 000
Part Number:
PIC12C508A-04/SN
Manufacturer:
ROHM
Quantity:
7 948
Part Number:
PIC12C508A-04/SN
Manufacturer:
MIC
Quantity:
1 000
Part Number:
PIC12C508A-04/SN
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC12C508A-04E/SN
Manufacturer:
MICROCHIP
Quantity:
1 040
Part Number:
PIC12C508A-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12C508A-04I/P
0
Part Number:
PIC12C508A-04I/SN
Quantity:
100
4.4
The OPTION register is a 8-bit wide, write-only
register which contains various control bits to
configure the Timer0/WDT prescaler and Timer0.
By executing the OPTION instruction, the contents of
the W register will be transferred to the OPTION
register. A RESET sets the OPTION<7:0> bits.
FIGURE 4-5:
bit7
1999 Microchip Technology Inc.
bit 7:
bit 6:
bit 5:
bit 4:
bit 3:
bit 2-0:
GPWU
W-1
OPTION Register
GPWU: Enable wake-up on pin change (GP0, GP1, GP3)
1 = Disabled
0 = Enabled
GPPU: Enable weak pull-ups (GP0, GP1, GP3)
1 = Disabled
0 = Enabled
T0CS: Timer0 clock source select bit
1 = Transition on T0CKI pin
0 = Transition on internal instruction cycle clock, Fosc/4
T0SE: Timer0 source edge select bit
1 = Increment on high to low transition on the T0CKI pin
0 = Increment on low to high transition on the T0CKI pin
PSA: Prescaler assignment bit
1 = Prescaler assigned to the WDT
0 = Prescaler assigned to Timer0
PS2:PS0: Prescaler rate select bits
Bit Value
GPPU
W-1
000
001
010
011
100
101
110
111
6
OPTION REGISTER
T0CS
Timer0 Rate
W-1
5
1 : 2
1 : 4
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
1 : 256
T0SE
W-1
4
WDT Rate
1 : 1
1 : 2
1 : 4
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
PSA
W-1
3
W-1
PS2
2
Note:
Note:
PS1
W-1
1
If TRIS bit is set to ‘0’, the wake-up on
change and pull-up functions are disabled
for that pin; i.e., note that TRIS overrides
OPTION control of GPPU and GPWU.
If the T0CS bit is set to ‘1’, GP2 is forced to
be an input even if TRIS GP2 = ‘0’.
PS0
W-1
bit0
W = Writable bit
U = Unimplemented bit
- n = Value at POR reset
Reference Table 4-1 for
other resets.
PIC12C5XX
DS40139E-page 17

Related parts for PIC12C508A