AT89C5130A-M Atmel Corporation, AT89C5130A-M Datasheet - Page 61

no-image

AT89C5130A-M

Manufacturer Part Number
AT89C5130A-M
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5130A-M

Flash (kbytes)
16 Kbytes
Max. Operating Frequency
48 MHz
Cpu
8051-12C
Max I/o Pins
34
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
1.25
Eeprom (bytes)
1024
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART/USB
Watchdog
Yes
Figure 14-2. PCA Interrupt System
4337K–USB–04/08
PCA Timer/Counter
Module 0
Module 1
Module 2
Module 3
Module 4
CMOD.0
Reset Value = 000X 0000b
Not bit addressable
The watchdog timer function is implemented in module 4 (See Figure 14-4).
The PCA interrupt system is shown in Figure 14-2.
PCA Modules: each one of the five compare/capture modules has six possible functions. It can
perform:
In addition, module 4 can be used as a Watchdog Timer.
Each module in the PCA has a special function register associated with it. These registers are:
CCAPM0 for module 0, CCAPM1 for module 1, etc. (see Table 14-3). The registers contain the
bits that control the mode that each module will operate in.
Number
• 16-bit capture, positive-edge triggered
• 16-bit capture, negative-edge triggered
• 16-bit capture, both positive and negative-edge triggered
• 16-bit Software Timer
• 16-bit High-speed Output
• 8-bit Pulse Width Modulator
Bit
1
0
ECF
Mnemonic
CCF1
CCF0
Bit
CF
ECCFn CCAPMn.0
Description
PCA Module 1 Interrupt Flag
Must be cleared by software.
Set by hardware when a match or capture occurs.
PCA Module 0 Interrupt Flag
Must be cleared by software.
Set by hardware when a match or capture occurs.
CR
CCF4 CCF3 CCF2 CCF1 CCF0
IE.6
EC
IE.7
EA
AT89C5130A/31A-M
priority decoder
CCON
0xD8
To Interrupt
61

Related parts for AT89C5130A-M