Renesas M16C/6NK Hardware Manual page 248

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
CANi Status Register (i = 0, 1)
b7
b6
b5
b4
b3
NOTE:
1. These bits can be changed only when a slot which an interrupt is enabled by the CiICR register is transmitted or received
successfully.
(b15)
b7
b6
b5
b4
b3
Figure 19.8 C0STR and C1STR Registers
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
Symbol
b2
b1
b0
C0STR
C1STR
Bit Symbol
MBOX
TrmSucc
RecSucc
TrmState
RecState
(b8)
b2
b1
b0
Symbol
C0STR
C1STR
Bit Symbol
State_Reset
State_
LoopBack
State_
MsgOrder
State_
BasicCAN
State_
BusError
State_
ErrPass
State_
BusOff
-
(b7)
page 230 of 378
Address
After Reset
0212h
0232h
Bit Name
b3 b2 b1 b0
0 0 0 0 : Slot 0
0 0 0 1 : Slot 1
(1)
0 0 1 0 : Slot 2
Active Slot Bits
. .
.
1 1 1 0 : Slot 14
1 1 1 1 : Slot 15
Successful
0: No [successful] transmission
Transmission
1: The CAN module has transmitted a message
(1)
Flag
successfully.
Successful
0: No [successful] reception
(1)
Reception Flag
1: CAN module received a message successfully.
Transmission Flag
0: CAN module is idle or receiver.
(Transmitter)
1: CAN module is transmitter.
Reception Flag
0: CAN module is idle or transmitter.
(Receiver)
1: CAN module is receiver.
Address
After Reset
0213h
X0000001b
0233h
X0000001b
Bit Name
0: Operation mode
Reset State Flag
1: Reset mode
Loop Back
0: Not Loop back mode
State Flag
1: Loop back mode
Message Order
0:Word access
State Flag
1: Byte access
Basic CAN Mode
0: Not Basic CAN 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:
CAN module is not in
State Flag
1: CAN module is in error passive state.
Error Bus Off
0:
CAN module is not in
State Flag
1: CAN module is in error bus off state.
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
19. CAN Module
00h
00h
Function
Function
error passive
state.
error bus off
state.
RW
RO
RO
RO
RO
RO
RW
RO
RO
RO
RO
RO
RO
RO
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents