English
Language : 

C508_01 Datasheet, PDF (218/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
Interrupt System
Special Function Register CT2CON (Address F1H)
Reset Value: 00010000B
Bit No. MSB
LSB
7
6
5
4
3
2
1
0
F1H CT2P ECT2O STE2 CT2RES CT2R CLK2 CLK1 CLK0 CT2CON
The shaded bits are not used for interrupt control.
Bit
CT2P
Function
Compare Timer 2 period flag
When the Compare Timer 2 value matches the Compare Timer 2
period register value, bit CT2P is set. If the Compare Timer 2 interrupt
is enabled, the setting of CT2P will generate a Compare Timer 2
interrupt. Bit CT2P must be cleared by software.
Special Function Register BCON (Address D7H)
Reset Value: 00H
Bit No. MSB
7
D7H
BCMP
BCEM
6
PWM1
5
PWM0
4
3
2
EBCE BCERR BCEN
1
BCM1
LSB
0
BCM0
BCON
The shaded bits are not used for interrupt control.
Bit
EBCE
BCERR
Function
Enable interrupt of Block Commutation mode Error
If EBCE is set, the emergency interrupt for a block commutation mode
error condition of the CCU is enabled. In block commutation mode, an
emergency error condition occurs if a false signal state at INT2 - INT0
or a wrong follower state (if selected by bit BCEM) is detected.
Block Commutation mode Error flag
In block commutation mode, BCERR is set in rotate right or rotate left
mode if, after a transition at INTx, all INTx inputs are at high or low
level. Additionally, in rotate right or rotate left mode, a “wrong follower”
condition according to Table 6-10 can cause BCERR to be set (see
description of bit BCEM).
If the block commutation interrupt is enabled (EBCE = 1), the setting
of BCERR will generate a CCU emergency interrupt. BCERR must be
reset by software.
User’s Manual
7-20
2001-05