C0Str Register - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

17.1.3.3. C0STR Register

Figure 17.8 shows the C0STR register.
CAN0 status register (Note 1)
b7
b6
b5
b4
b3
Note 1: This register can not be set in CAN reset/initialization mode of the CAN module.
Note 2: These bits can be changed only when a slot which an interrupt is enabled by the C0ICR register is transmitted or received successfully.
(b15)
b7
b6
b5
b4
b3
Figure 17.8 C0STR Register
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
b2
b1
b0
Symbol
C0STR
Bit symbol
MBOX
TrmSucc
RecSucc
TrmState
RecState
(b8)
b2
b1
b0
Symbol
C0STR
Bit symbol
State_Reset
State_
LoopBack
State_
MsgOrder
State_
BasicCAN
State_
BusError
State_
ErrPass
State_
BusOff
-
(b7)
page 287 of 402
Address
After reset
0212
00
16
16
Bit name
b3 b2 b1 b0
0 0 0 0 : Slot 0
0 0 0 1 : Slot 1
Active slot bits
0 0 1 0 : Slot 2
. .
(Note 2)
.
1 1 1 0 : Slot 14
1 1 1 1 : Slot 15
0: No [successful] transmission
Successful
transmission flag
1: The CAN module has transmitted a message
(Note 2)
successfully.
0: No [successful] reception
Successful reception
flag
(Note 2)
1: CAN module received a message successfully.
0: CAN module is idle or receiver.
Transmission flag
(Transmitter)
1: CAN module is transmitter.
0: CAN module is idle or transmitter.
Reception flag
(Receiver)
1: CAN module is receiver.
Address
After reset
0213
X0000001
16
2
Bit name
0: Operation mode
Reset state flag
1: Reset mode
Loop back state flag
0: Normal operation mode
1: Loop back mode
Message order
0:Word access
state flag
1: Byte access
Basic CAN mode
0: Normal operation mode
state flag
1: Basic CAN mode
Bus error
0: No error has occurred.
state flag
1: A CAN bus error has occurred.
Error passive
0:
The CAN module is not in
state flag
1: The CAN module is in error passive state.
0:
The CAN module is not in
Error bus off
state flag
1: The CAN module is in error bus off state.
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
17. CAN Module
Function
RW
RO
RO
RO
RO
RO
Function
RW
RO
RO
RO
RO
RO
error passive
state.
RO
error bus off
state.
RO
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents