CHAPTER 11 FCAN CONTROLLER
568
User’s Manual U14492EJ3V0UD
(12) CAN1 interrupt pending register (C1INTP)
The C1INTP register is used to confirm the pending status of interrupts issued to FCAN.
This register can be read/written in 8-bit units.
Cautions 1. When “1” is written to a bit in the C1INTP register, that bit is cleared (to 0). When “0” is
written to it, the bit’s value does not change.
2. An interrupt is generated when the corresponding interrupt request is enabled and
when no interrupt pending bit has been set (to 1) for a new interrupt.
The correct or incorrect timing of setting the interrupt pending bit (to 1) is controlled
by an interrupt service routine. The earlier that the interrupt service routine clears the
interrupt pending bit (to 0), the more quickly the interrupt is generated without losing
any new interrupts of the same type.
The interrupt pending bit can be set (to 1) only when the interrupt enable bit has been
set (to 1). However, the interrupt pending bit is not automatically cleared (to 0) just
because the interrupt enable bit has been cleared (to 0). Use software processing to
clear the interrupt pending bit (to 0).
7
0
C1INTP
6
C1INT6
5
C1INT5
4
C1INT4
3
C1INT3
2
C1INT2
1
C1INT1
0
C1INT0
Address
xxxxmC04H
Note
Initial value
00H
Note
xxxx: CAN message buffer registers can be allocated to the xxxx addresses as programmable
peripheral I/O registers. Note, however, that the xxxx addresses cannot be changed after being
set.
m = 2, 6, A, E
Bit Position
Bit Name
Function
6
C1INT6
Indicates pending status of the CAN error interrupt.
0: Not pending
1: Pending
5
C1INT5
Indicates pending status of the CAN bus error interrupt.
0: Not pending
1: Pending
4
C1INT4
Indicates pending status of the wake-up interrupt from CAN sleep mode.
0: Not pending
1: Pending
3
C1INT3
Indicates pending status of the CAN receive error passive status interrupt.
0: Not pending
1: Pending
2
C1INT2
Indicates pending status of the CAN transmit error passive or bus-off status interrupt.
0: Not pending
1: Pending
1
C1INT1
Indicates pending status of the CAN receive completion interrupt.
0: Not pending
1: Pending
0
C1INT0
Indicates pending status of the CAN transmit completion interrupt.
0: Not pending
1: Pending
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...