AT89C51CC02 Atmel Corporation, AT89C51CC02 Datasheet - Page 62
AT89C51CC02
Manufacturer Part Number
AT89C51CC02
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT89C51CC02.pdf
(7 pages)
2.AT89C51CC02.pdf
(159 pages)
3.AT89C51CC02.pdf
(33 pages)
4.AT89C51CC02.pdf
(29 pages)
Specifications of AT89C51CC02
Flash (kbytes)
16 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
20
Uart
1
Can
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
0.5
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 5.5
Timers
4
Isp
UART/CAN
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C51CC02CA-SISUM
Manufacturer:
Atmel
Quantity:
972
Part Number:
AT89C51CC02CA-SISUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT89C51CC02CA-TISUM
Manufacturer:
Atmel
Quantity:
1 492
Company:
Part Number:
AT89C51CC02CA-UM
Manufacturer:
AD
Quantity:
10
Company:
Part Number:
AT89C51CC02UA-RATUM
Manufacturer:
Atmel
Quantity:
1 845
Company:
Part Number:
AT89C51CC02UA-UM
Manufacturer:
NEDI
Quantity:
4
62
AT/T89C51CC02
Table 39. TMOD Register
TMOD (S:89h)
Timer/Counter Mode Control Register
Reset Value = 0000 0000b
Notes:
Table 40. TH0 Register
TH0 (S:8Ch)
Timer 0 High Byte Register
Reset Value = 0000 0000b
Number
Number
GATE1
Bit
Bit
7:0
7
7
7
6
5
4
3
2
1
0
1. Reloaded from TH1 at overflow.
2. Reloaded from TH0 at overflow.
Mnemonic Description
Mnemonic Description
C/T1#
GATE1
GATE0
C/T1#
C/T0#
M01
M10
M00
M11
Bit
Bit
6
6
Timer 1 Gating Control bit
Clear to enable Timer 1 whenever TR1 bit is set.
Set to enable Timer 1 only while INT1# pin is high and TR1 bit is set.
Timer 1 Counter/Timer Select bit
Clear for Timer operation: Timer 1 counts the divided-down system clock.
Set for Counter operation: Timer 1 counts negative transitions on external pin T1.
Timer 1 Mode Select bits
M11 M01 Operating mode
Timer 0 Gating Control bit
Clear to enable Timer 0 whenever TR0 bit is set.
Set to enable Timer/Counter 0 only while INT0# pin is high and TR0 bit is set.
Timer 0 Counter/Timer Select bit
Clear for Timer operation: Timer 0 counts the divided-down system clock.
Set for Counter operation: Timer 0 counts negative transitions on external pin T0.
Timer 0 Mode Select bit
M10 M00 Operating mode
TH0 is an 8-bit Timer using Timer 1’s TR0 and TF0 bits.
High Byte of Timer 0
0
0
1
1
0
0
1
1
M11
5
5
0
1
1
0
0
1
0
1
Mode 0: 8-bit Timer/Counter (TH1) with 5bit prescaler (TL1).
Mode 1: 16-bit Timer/Counter.
Mode 3: Timer 1 halted. Retains count.
Mode 2: 8-bit auto-reload Timer/Counter (TL1).
Mode 0: 8-bit Timer/Counter (TH0) with 5bit prescaler (TL0).
Mode 1: 16-bit Timer/Counter.
Mode 2: 8-bit auto-reload Timer/Counter (TL0).
Mode 3: TL0 is an 8-bit Timer/Counter.
M01
4
4
GATE0
3
3
C/T0#
2
2
(1)
(2)
M10
1
1
4126L–CAN–01/08
M00
0
0