Table of Contents

Advertisement

M16C/64C Group
26.4

Interrupts

The CEC function has CEC1 interrupt and CEC2 interrupt. Table 26.9 and Table 26.10 list CEC Interrupt
Sources. These sources generate a CEC1 interrupt or CEC2 interrupt request. When the CRISELM bit in
the CISEL register is 1, the eighth/tenth bit receive interrupt request is generated if the received
Destination address is either one of the following case:
Matches the address selected by the CRADRI1 or CRADRI2 register.
Broadcast (1111b)
Figure 26.18 shows CEC Function Interrupt.
Table 26.9
CEC1 Interrupt Sources
Type
Transmit
interrupt
Transmit error
interrupt
CTD8FLG, CTABTFLG, CTNACKFLG: Bits in the CECFLG register
CTISEL0, CTISEL1, CTISEL2: Bits in the CISEL register
Table 26.10
CEC2 Interrupt Sources
Type
Receive
interrupt
Receive error
interrupt
CRD8FLG, CRSTFLG, CRERRFLG: Bits in the CECFLG register
CRISEL0, CRISEL1, CRISELS, CRISEL2: Bits in the CISEL register
Note:
1.
The CRISELM bit in the CISEL register affects the interrupt.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Source
Eighth bit transmitted
Tenth bit transmitted
Arbitration lost
NACK received (Direct)
ACK received (Broadcast)
Source
Eighth bit received
Tenth bit received
Start bit detected
Nonstandard signal received
26. Consumer Electronics Control (CEC) Function
Interrupt Request Timing
When the CTD8FLG bit changes
from 0 to 1
When the CTD8FLG bit changes
from 1 to 0
When the CTABTFLG bit changes
from 0 to 1
When the CTNACKFLG bit
changes from 0 to 1
Interrupt Request Timing
When the CRD8FLG bit changes
(1)
from 0 to 1
When the CRD8FLG bit changes
(1)
from 1 to 0
When the CRSTFLG bit changes
from 0 to 1
When the CRERRFLG bit
changes from 0 to 1
Interrupt Enable
Bit
CTISEL0
CTISEL1
CTISEL2
Interrupt Enable
Bit
CRISEL0
CRISEL1
CRISELS
CRISEL2
Page 613 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents