AT89C5131-PLTIL ATMEL Corporation, AT89C5131-PLTIL Datasheet - Page 55

no-image

AT89C5131-PLTIL

Manufacturer Part Number
AT89C5131-PLTIL
Description
8-bit Flash Microcontroller with Full Speed USB Device
Manufacturer
ATMEL Corporation
Datasheet
Figure 25. PCA Timer/Counter
4136B–USB–09/03
F
F
Idle
CLK PERIPH
CLK PERIPH
T0 OVF
P1.2
/6
/2
Table 49. CMOD Register
CMOD - PCA Counter Mode Register (D9h)
Reset Value = 00XX X000b
Not bit addressable
Number
CIDL
CIDL
Bit
CF
7
7
6
5
4
3
2
1
0
WDTE
CR
Mnemonic
WDTE
WDTE
CPS1
CPS0
CIDL
ECF
Bit
6
-
-
-
CCF4 CCF3 CCF2 CCF1 CCF0
Description
Counter Idle Control
Cleared to program the PCA Counter to continue functioning during idle Mode.
Set to program PCA to be gated off during idle.
Watchdog Timer Enable
Cleared to disable Watchdog Timer function on PCA Module 4.
Set to enable Watchdog Timer function on PCA Module 4.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
PCA Count Pulse Select
CPS1
0
0
1
1
PCA Enable Counter Overflow Interrupt
Cleared to disable CF bit in CCON to inhibit an interrupt.
Set to enable CF bit in CCON to generate an interrupt.
5
-
CPS0
0
1
0
1
CPS1 CPS0
16 Bit Up/Down Counter
CH
4
-
Selected PCA input
Internal clock f
Internal clock f
Timer 0 Overflow
External clock at ECI/P1.2 pin (max rate = f
ECF
CL
3
-
CMOD
0xD9
CCON
0xD8
CLK PERIPH
CLK PERIPH
overflow
CPS1
2
/6
/2
To PCA
modules
AT89C5131
CPS0
1
It
CLK PERIPH
ECF
0
/ 4)
55

Related parts for AT89C5131-PLTIL