hit counter script

Figure 13-38: Can 1 To 3 Interrupt Enable Registers (C1Ie To C3Ie) (1/2) - NEC V850E/CA1 ATOMIC Preliminary User's Manual

32-/16-bit single-chip microcontroller
Table of Contents

Advertisement

(6)
CAN 1 to 3 interrupt enable registers (C1IE to C3IE)
The CxIE registers enable the transmit, receive and error interrupts of the corresponding CAN mod-
ule x (x = 1 to 3).
These registers can be read in 8-bit and 16-bit units. It can be written in 16-bit units only. For setting
and clearing certain bits a special set/clear method applies (refer to chapter 13.3.1).

Figure 13-38: CAN 1 to 3 Interrupt Enable Registers (C1IE to C3IE) (1/2)

Read
15
14
13
C1IE
0
0
0
C2IE
0
0
0
C3IE
0
0
0
Write
15
14
13
ST_
ST_
C1IE
0
E_INT6
E_INT5
E_INT4
ST_
ST_
C2IE
0
E_INT6
E_INT5
E_INT4
ST_
ST_
C3IE
0
E_INT6
E_INT5
E_INT4
Read
Bit Position
Bit Name
6
E_INT6
5
E_INT5
4
E_INT4
3
E_INT3
2
E_INT2
1
E_INT1
0
E_INT0
Note: The register address is calculated according to the following formula:
effective address = PP_BASE + address offset
436
Chapter 13 FCAN Interface Function
12
11
10
9
8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
12
11
10
9
8
ST_
ST_
ST_
ST_
ST_
E_INT3
E_INT2
E_INT1
E_INT0
ST_
ST_
ST_
ST_
ST_
E_INT3
E_INT2
E_INT1
E_INT0
ST_
ST_
ST_
ST_
ST_
E_INT3
E_INT2
E_INT1
E_INT0
Enables CAN module error interrupt (INT6).
0: Interrupt disabled
1: Interrupt enabled
Enables CAN bus error interrupt (INT5).
0: Interrupt disabled
1: Interrupt enabled
Enables wake-up from CAN sleep mode interrupt (INT4).
0: Interrupt disabled
1: Interrupt enabled
Enables interrupt for error passive on reception(INT3).
0: Interrupt disabled
1: Interrupt enabled
Enables interrupt for error passive or bus-off on transmission (INT2).
0: Interrupt disabled
1: Interrupt enabled
Enables reception completion interrupt (INT1).
0: Interrupt disabled
1: Interrupt enabled
Enables transmission completion interrupt (INT0).
0: Interrupt disabled
1: Interrupt enabled
Preliminary User's Manual U14913EE1V0UM00
7
6
5
4
3
0
E_INT6 E_INT5 E_INT4 E_INT3 E_INT2 E_INT1 E_INT0
0
E_INT6 E_INT5 E_INT4 E_INT3 E_INT2 E_INT1 E_INT0
0
E_INT6 E_INT5 E_INT4 E_INT3 E_INT2 E_INT1 E_INT0
7
6
5
4
3
CL_
CL_
CL_
CL_
0
E_INT6
E_INT5
E_INT4
E_INT3
CL_
CL_
CL_
CL_
0
E_INT6
E_INT5
E_INT4
E_INT3
CL_
CL_
CL_
CL_
0
E_INT6
E_INT5
E_INT4
E_INT3
Function
Address
Note
2
1
0
Offset
858H
898H
8D8H
2
1
0
CL_
CL_
CL_
858H
E_INT2
E_INT1
E_INT0
CL_
CL_
CL_
898H
E_INT2
E_INT1
E_INT0
CL_
CL_
CL_
8D8H
E_INT2
E_INT1
E_INT0
Initial
value
0000H
0000H
0000H

Advertisement

Table of Contents
loading

Table of Contents