Renesas M32R/ECU Series User Manual page 601

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

Advertisement

13
b0
(b8)
1
2
TR
RR
RM
0
0
0
b
Bit Name
0
TR
Transmit request bit
1
RR
Receive request bit
2
RM
Remote bit
3
RL
Automatic response inhibit bit
4
RA
Remote active bit
5
ML
Message lost bit
6
TRSTAT
Transmit/receive status bit
7
TRFIN
Transmission/reception completed
Note 1: Only writing "0" is effective. Writing "1" has no effect; the bit retains the status it had before the write.
Notes: • If a transmit request is written to this register while the CAN module is reset (CANnCNT FRST
or RST bit = "1"), it starts sending upon detecting 11 consecutive recessive bits on the CAN bus
after exiting the reset state.
• If data/remote frame transmit requests are issued for two or more slots, the slot with the small-
est slot number sends a frame. If data/remote frame receive requests are issued for two or
more slots, the slot with the smallest slot number receives a frame.
• If transmission failed when single-shot mode is selected, this register is cleared to H'00.
(1) TR (Transmit Request) bit (Bit 0)
To use the message slot as a transmit slot, set this bit to "1". To use the message slot as a data frame or
remote frame receive slot, set this bit to "0".
3
4
5
6
b7(b15)
RL
RA
ML
TRSTAT TRFIN
0
0
0
0
13.2 CAN Module Related Registers
0
Function
0: Do not use the message slot as transmit slot
1: Use the message slot as transmit slot
0: Do not use the message slot as receive slot
1: Use the message slot as receive slot
0: Transmit/receive data frame
1: Transmit/receive remote frame
0: Enable automatic response for remote frame
1: Disable automatic response for remote frame
During BasicCAN mode
0: Receive data frame (status)
1: Receive remote frame (status)
During normal mode
0: Data frame
1: Remote frame
0: No message was lost
1: Message was lost
During a transmit slot
0: Transmission idle
1: Transmit request accepted
During a receive slot
0: Reception idle
1: Storing received data
During a transmit slot
0: Not transmitted yet
1: Finished transmitting
During a receive slot
0: Not received yet
1: Finished receiving
13-54
CAN MODULE
<After reset: H'00>
R
R
R
R
R
R
R(Note 1)
R
R(Note 1)
32180 Group User's Manual (Rev.1.0)
W
W
W
W
W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents