13-25
13
32180 Group User’s Manual (Rev.1.0)
13.2 CAN Module Related Registers
CAN MODULE
13.2.6 CAN Error Count Registers
CAN0 Receive Error Count Register (CAN0REC)
<Address: H’0080 100A>
CAN1 Receive Error Count Register (CAN1REC)
<Address: H’0080 140A>
1
2
3
4
5
6
b7
b0
REC
0
0
0
0
0
0
0
0
<After reset: H’00>
b
Bit Name
Function
R
W
0–7
REC
Receive error count value
R
–
During an error active/error passive state, a receive error count value is stored in this register.
The count is decremented when frames are received normally or incremented when an error occurred. If the
CAN module finished receiving normally when REC
≥
128 (error passive), REC is set to 127. During a bus off
state, an undefined value is stored in this register. The count is reset to H’00 upon returning to an error active
state.
CAN0 Transmit Error Count Register (CAN0TEC)
<Address: H’0080 100B>
CAN1 Transmit Error Count Register (CAN1TEC)
<Address: H’0080 140B>
9
10
11
12
13
14
b15
b8
TEC
0
0
0
0
0
0
0
0
<After reset: H’00>
b
Bit Name
Function
R
W
8–15
TEC
Transmit error count value
R
–
During an error active/error passive state, a transmit error count value is stored in this register.
The count is decremented when frames are transmitted normally or incremented when an error occurred. Dur-
ing a bus off state, an undefined value is stored in this register. The count is reset to H’00 upon returning to an
error active state.
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...