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

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
60
AT89C5130A/31A-M
Reset Value = 00XX X000b
Not bit addressable
The CMOD register includes three additional bits associated with the PCA (See Figure 14-1 and
Table 14-1).
The CCON register contains the run control bit for the PCA and the flags for the PCA timer (CF)
and each module (see Table 14-2).
Table 14-2.
Number
• The CIDL bit allows the PCA to stop during idle mode.
• The WDTE bit enables or disables the watchdog function on module 4.
• The ECF bit when set causes an interrupt and the PCA overflow flag CF (in the CCON SFR)
• Bit CR (CCON.6) must be set by software to run the PCA. The PCA is shut off by clearing this
• Bit CF: The CF bit (CCON.7) is set when the PCA counter overflows and an interrupt will be
• Bits 0 through 4 are the flags for the modules (bit 0 for module 0, bit 1 for module 1, etc.) and
to be set when the PCA timer overflows.
bit.
generated if the ECF bit in the CMOD register is set. The CF bit can only be cleared by
software.
are set by hardware when either a match or a capture occurs. These flags can only be
cleared by software.
Bit
7
6
5
4
3
2
CF
7
Mnemonic
CCF4
CCF3
CCF2
CR
Bit
CF
CCON Register
CCON - PCA Counter Control Register (D8h)
CR
6
Description
PCA Counter Overflow flag
Set by hardware when the counter rolls over. CF flags an interrupt if bit ECF in CMOD is set.
CF may be set by either hardware or software but can only be cleared by software.
PCA Counter Run control bit
Must be cleared by software to turn the PCA counter off.
Set by software to turn the PCA counter on.
Reserved
The value read from this bit is indeterminate. Do not set this bit.
PCA Module 4 interrupt flag
Must be cleared by software.
Set by hardware when a match or capture occurs.
PCA Module 3 interrupt flag
Must be cleared by software.
Set by hardware when a match or capture occurs.
PCA Module 2 interrupt flag
Must be cleared by software.
Set by hardware when a match or capture occurs.
5
CCF4
4
CCF3
3
CCF2
2
CCF1
1
4337K–USB–04/08
CCF0
0

Related parts for AT89C5130A-M