EasyManua.ls Logo

Renesas M32R/ECU Series

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13-25
13
32180 Group Users 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: H0080 100A>
CAN1 Receive Error Count Register (CAN1REC) <Address: H0080 140A>
123456b7b0
REC
00000000
<After reset: H00>
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 H00 upon returning to an error active
state.
CAN0 Transmit Error Count Register (CAN0TEC) <Address: H0080 100B>
CAN1 Transmit Error Count Register (CAN1TEC) <Address: H0080 140B>
9 10 11 12 13 14 b15b8
TEC
00000000
<After reset: H00>
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 H00 upon returning to an
error active state.

Table of Contents

Related product manuals