参数资料
型号: SAB80C517A-N18-T3
厂商: INFINEON TECHNOLOGIES AG
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 18 MHz, MICROCONTROLLER, PQCC84
封装: PLASTIC, LCC-84
文件页数: 76/137页
文件大小: 2089K
代理商: SAB80C517A-N18-T3
Semiconductor Group
5 - 8
On-Chip Peripheral Components
5.3
Additional Compare Mode for the Concurrent Compare Unit
The SAB 80C517A has an additional compare mode (compare mode 2) in the Compare/Capture
Unit which can be used for the Concurrent Compare Output at P5. In this compare mode 2 the P5
pins are no longer general purpose I/O pins or under control of compare/capture register CC4, but
under control of the new compare registers COMSET and COMCLR. These both 16-bit registers
are always associated with Timer 2 (same as CRC, CC1 to CC4). Each of these registers consists
of two 8-bit portions, i.e COMSET consists of COMSETL (address 0A1H) and COMSETH (address
0A2H), COMCLR consists of COMCLRL (address 0A3H) and COMCLRH (address 0A4H)
In compare mode 2 the concurrent compare output pins on Port 5 are used as follows (see
figure 5-3):
– When a compare match occurs with register COMSET, a high level appears at the pins of port
5 whose corresponding bits in the mask register SETMSK (address 0A5H) are set.
– When a compare match occurs in register COMCLR, a low level appears at the pins of port 5
whose corresponding bits in the mask register CLRMSK (address 0A6H) are set.
– Additionally the Port 5 pins used for compare mode 2 may also be directly written to by write
instructions to SFR P5. Of course, the pins can also be read under program control.
If compare mode 2 shall be selected register CC4 must operate in compare mode 1 (with the
corresponding output pin P1.4); thus, compare mode 2 is selected by enabling compare function for
register CC4 (COCAH4=1; COCAL4=0 SFR CC4EN) and by programming bits COCOEN0 and
COCOEN1 in SFR CC4EN. Like in concurrent compare mode associated with CC4, the number of
port pins at P5 which serve the compare output function can be selected by bits COCON0-
COCON2 (in SFR CC4EN). If a set and reset request occurs at the same time (identical values in
COMSET and COMCLR), the set operation takes precedence. It is also possible to use only the
interrupts which are generated by matches in COMSET and COMCLR without affecting P5
("software compare"). For this "interrupt-only" mode it is not necessary that the compare function at
CC4 is selected.
相关PDF资料
PDF描述
SAB83C517A-N18-T4 8-BIT, 18 MHz, MICROCONTROLLER, PQCC84
SAB80C517A-S18-T3 8-BIT, 18 MHz, MICROCONTROLLER, PQFP100
SAB83C517A-5S18-T3 8-BIT, MROM, 18 MHz, MICROCONTROLLER, PQFP100
SAB83C517A-5S18-T4 8-BIT, MROM, 18 MHz, MICROCONTROLLER, PQFP100
SAB80C517A-S18-T3 8-BIT, 18 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
SAB80C517-M 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Single-Chip Microcontroller
SAB80C517-M16 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Single-Chip Microcontroller
SAB80C517-M-T40/85 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Single-Chip Microcontroller
SAB80C517-N 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Single-Chip Microcontroller
SAB80C517-N16 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:8-Bit CMOS Single-Chip Microcontroller