AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 55
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
AT89C5132
Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT89C5132.pdf
(3 pages)
2.AT89C5132.pdf
(182 pages)
3.AT89C5132.pdf
(38 pages)
4.AT89C5132.pdf
(33 pages)
Specifications of AT89C5132
Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
4173E–USB–09/07
Reset Value = 0000 0000b
Notes:
Table 42. TH0 Register
TH0 (S:8Ch) – Timer 0 High Byte Register
Reset Value = 0000 0000b
Number
Bit Number
Bit
7
6
5
4
3
2
1
0
7:0
7
-
1. Reloaded from TH1 at overflow.
2. Reloaded from TH0 at overflow.
Mnemonic
GATE1
GATE0
C/T1#
C/T0#
M01
M10
M00
M11
Mnemonic
Bit
Bit
6
-
Description
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
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
TH0 is an 8-bit Timer using Timer 1’s TR0 and TF0 Bits.
0
0
1
1
0
0
1
1
Description
High Byte of Timer 0
0
1
0
1
0
1
0
1
5
-
Operating mode
Mode 0: 8-bit Timer/Counter (TH1) with 5-bit prescaler (TL1).
Mode 1: 16-bit Timer/Counter.
Mode 2: 8-bit auto-reload Timer/Counter (TL1).
Mode 3: Timer 1 halted. Retains count.
Operating mode
Mode 0: 8-bit Timer/Counter (TH0) with 5-bit 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.
4
-
3
-
2
-
(1)
(2)
AT89C5132
1
-
0
-
55