![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 153](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833153.webp)
PIC16(L)F1508/9
DS40001609E-page 154
2011-2015 Microchip Technology Inc.
18.2
Register Definitions: Option Register
TABLE 18-1:
SUMMARY OF REGISTERS ASSOCIATED WITH TIMER0
REGISTER 18-1:
OPTION_REG: OPTION REGISTER
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
WPUEN
INTEDG
TMR0CS
TMR0SE
PSA
PS<2:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7
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
bit 6
INTEDG:
Interrupt Edge Select bit
1
= Interrupt on rising edge of INT pin
0
= Interrupt on falling edge of INT pin
bit 5
TMR0CS:
Timer0 Clock Source Select bit
1
= Transition on T0CKI pin
0
= Internal instruction cycle clock (F
OSC
/4)
bit 4
TMR0SE:
Timer0 Source Edge Select bit
1
= Increment on high-to-low transition on T0CKI pin
0
= Increment on low-to-high transition on T0CKI pin
bit 3
PSA:
Prescaler Assignment bit
1
= Prescaler is not assigned to the Timer0 module
0
= Prescaler is assigned to the Timer0 module
bit 2-0
PS<2:0>:
Prescaler Rate Select bits
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
ADCON2
TRIGSEL<3:0>
—
—
—
—
INTCON
GIE
PEIE
TMR0IE
INTE
IOCIE
TMR0IF
INTF
IOCIF
OPTION_REG
WPUEN
INTEDG
TMR0CS
TMR0SE
PSA
PS<2:0>
TMR0
Holding Register for the 8-bit Timer0 Count
TRISA
—
—
TRISA5
TRISA4
—
(1)
TRISA2
TRISA1
TRISA0
Legend:
— = Unimplemented location, read as ‘
0
’. Shaded cells are not used by the Timer0 module.
*
Page provides register information.
Note
1:
Unimplemented, read as ‘
1
’.
000
001
010
011
100
101
110
111
1 : 2
1 : 4
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
1 : 256
Bit Value
Timer0 Rate
Содержание PIC12F1501
Страница 307: ...PIC16 L F1508 9 DS40001609E page 308 2011 2015 Microchip Technology Inc NOTES...
Страница 392: ...2011 2015 Microchip Technology Inc DS40001609E page 393 PIC16 L F1508 9 1RWH 6 7 7 588 8 7...
Страница 399: ...PIC16 L F1508 9 DS40001609E page 400 2011 2015 Microchip Technology Inc NOTES...