參數(shù)資料
型號: 16F630
廠商: Microchip Technology Inc.
英文描述: 14-Pin FLASH-Based 8-Bit CMOS Microcontrollers
中文描述: 14引腳基于閃存的8位CMOS微控制器
文件頁數(shù): 32/132頁
文件大?。?/td> 2651K
代理商: 16F630
PIC16F630/676
DS40039C-page 30
2003 Microchip Technology Inc.
4.3
Using Timer0 with an External
Clock
When no prescaler is used, the external clock input is
the same as the prescaler output. The synchronization
of T0CKI, with the internal phase clocks, is accom-
plished by sampling the prescaler output on the Q2 and
Q4 cycles of the internal phase clocks. Therefore, it is
necessary for T0CKI to be high for at least 2T
OSC
(and
a small RC delay of 20 ns) and low for at least 2T
OSC
(and a small RC delay of 20 ns). Refer to the electrical
specification of the desired device.
REGISTER 4-1:
OPTION_REG — OPTION REGISTER (ADDRESS: 81h)
Note:
The ANSEL (9Fh) and CMCON (19h)
registers must be initialized to configure an
analog channel as a digital input. Pins
configured as analog inputs will read ‘0’.
The ANSEL register is defined for the
PIC16F676.
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
RAPU
INTEDG
T0CS
T0SE
PSA
PS2
PS1
PS0
bit 7
bit 0
bit 7
RAPU:
PORTA Pull-up Enable bit
1
= PORTA pull-ups are disabled
0
= PORTA pull-ups are enabled by individual port latch values
bit 6
INTEDG:
Interrupt Edge Select bit
1
= Interrupt on rising edge of RA2/INT pin
0
= Interrupt on falling edge of RA2/INT pin
bit 5
T0CS:
TMR0 Clock Source Select bit
1
= Transition on RA2/T0CKI pin
0
= Internal instruction cycle clock (CLKOUT)
bit 4
T0SE:
TMR0 Source Edge Select bit
1
= Increment on high-to-low transition on RA2/T0CKI pin
0
= Increment on low-to-high transition on RA2/T0CKI pin
bit 3
PSA:
Prescaler Assignment bit
1
= Prescaler is assigned to the WDT
0
= Prescaler is assigned to the Timer0 module
bit 2-0
PS2:PS0:
Prescaler Rate Select bits
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
- n = Value at POR
’1’ = Bit is set
’0’ = Bit is cleared
x = Bit is unknown
000
001
010
011
100
101
110
111
1 : 2
1 : 4
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
1 : 256
1 : 1
1 : 2
1 : 4
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
Bit Value
TMR0 Rate WDT Rate
相關PDF資料
PDF描述
16F84 CAT 5E CROSSOVER, BLUE 15 FT PATCH CABLE
16F84A CAT 5E CROSSOVER PATCH CORD CABLE BLUE 20 FT
16F871 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 6 FT
16F872 CAT 5E CROSSOVER PATCH CORD CABLE GREEN 10 FT
16F876A 28/40-pin Enhanced FLASH Microcontrollers
相關代理商/技術參數(shù)
參數(shù)描述
16F684-I 制造商:Microchip Technology Inc 功能描述:
16F6H 制造商:EDAL 制造商全稱:EDAL 功能描述:Silicon High Voltage Assembly
16F6H1 制造商:EDAL 制造商全稱:EDAL 功能描述:Silicon High Voltage Assembly
16F7674 制造商:未知廠家 制造商全稱:未知廠家 功能描述:SMD TWEEZER HEAD
16F7676 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CLIP KABELKIT