DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AT80C51RA2 データシートの表示(PDF) - Atmel Corporation

部品番号
コンポーネント説明
メーカー
AT80C51RA2
Atmel
Atmel Corporation Atmel
AT80C51RA2 Datasheet PDF : 86 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
Figure 6-4. PCA Timer/Counter
Fosc /12
Fosc / 4
T0 OVF
P1.2
AT/TS8xC51Rx2
To PCA
modules
overflow
It
CH
CL
16 bit up/down counter
Idle
4188F–8051–01/08
CIDL WDTE
CPS1 CPS0 ECF
CMOD
0xD9
CF CR
CCF4 CCF3 CCF2 CCF1 CCF0
CCON
0xD8
Table 6-4. CMOD: PCA Counter Mode Register
CMOD
Address 0D9H
CIDL WDTE
-
-
-
Reset value
0
0
X
X
X
CPS1
0
CPS0
0
ECF
0
Symbol
Function
CIDL
Counter Idle control: CIDL = 0 programs the PCA Counter to continue functioning during idle Mode.
CIDL = 1 programs it to be gated off during idle.
WDTE
Watchdog Timer Enable: WDTE = 0 disables Watchdog Timer function on PCA Module 4. WDTE = 1
enables it.
-
Not implemented, reserved for future use. (1)
CPS1
PCA Count Pulse Select bit 1.
CPS0
PCA Count Pulse Select bit 0.
CPS1 CPS0 Selected PCA input. (2)
0
0 Internal clock fosc/12 ( Or fosc/6 in X2 Mode).
0
1 Internal clock fosc/4 ( Or fosc/2 in X2 Mode).
1
0 Timer 0 Overflow
ECF
1
1 External clock at ECI/P1.2 pin (max rate = fosc/ 8)
PCA Enable Counter Overflow interrupt: ECF = 1 enables CF bit in CCON to generate an interrupt.
ECF = 0 disables that function of CF.
1.
User software should not write 1s to reserved bits. These bits may be used in future 8051 family
products to invoke new features. In that case, the reset or inactive value of the new bit will be 0,
and its active value will be 1. The value read from a reserved bit is indeterminate.
2.
fosc = oscillator frequency
The CMOD SFR includes three additional bits associated with the PCA (See Figure 6-4 and
Table 6-4).
25

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]