Can Error Count Registers - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

13

13.2.6 CAN Error Count Registers

CAN0 Receive Error Count Register (CAN0REC)
D0
D
Bit Name
0-7
REC
(Receive error counter)
In an error-active/error-passive state, a receive error count is stored in this register. When received
normally, the counter counts down; when an error occurs, the counter counts up.
When received normally while REC
In a bus-off state, an indeterminate 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)
D8
D
Bit Name
8-15
TEC
(Transmit error counter)
In an error-active/error-passive state, a transmit error count is stored in this register. When
transmitted normally, the counter counts down; when an error occurs, the counter counts up.
In a bus-off state, an indeterminate value is stored in this register. The count is reset to H'00 upon
returning to an error-active state.
1
2
3
128 (error-passive), REC is set to 127.
9
10
11
13-20
13.2 CAN Module Related Registers
4
5
REC
Function
Receive error count value
12
13
TEC
Function
Transmit error count value
CAN MODULE
<Address:H'0080 100A>
6
D7
<When reset:H'00>
R
W
<Address:H'0080 100B>
14
D15
<When reset:H'00>
R
W
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents