415
Chapter 13
FCAN Interface Function
Preliminary User’s Manual U14913EE1V0UM00
(3)
Message status registers 00 to 63 (M_STAT00 to M_STAT63)
The M_STATm registers indicate transmit and receive status of the corresponding message m
(m = 00 to 63). Bits can be set/cleared only by means of the SC_STATm register.
These registers can be read-only in 8-bit units.
Figure 13-26: Message Status Registers 00 to 63 (M_STAT00 to M_STAT63)
Note: The register address is calculated according to the following formula:
effective address = P address offset
Remark:
m = 00 to 63
7
6
5
4
3
2
1
0
Address
Offset
Note
Initial value
M_STATm
0
0
0
0
ERQ
DN
TRQ
RDY
015H
+ (m
×
20H)
undef.
Bit Position
Bit Name
Function
3
ERQ
Indicates a request for event processing by CAN bridge ELISA for this message.
0: No pending event processing.
1: Event processing is pending.
2
DN
Indicates new data received for this message.
0: No new message was received.
1: At least one new message was received.
Remarks:
1. If the DN flag is set for a transmit message buffer, it indicates a remote
frame reception. In case auto answering (RMDE0 bit of the M_CTRLm
register) is active, the DN flag is cleared automatically after the
answering data frame is sent.
2. If the OVM bit of CxCTRL register is cleared (0), a message buffer
assigned to the CAN module might be overwritten by new messages,
although the DN flag is already set (x = 1 to 3). Checking the MOVR
bit of the M_CTRLm register additionally, indicates whether the mes-
sage buffer has been overwritten.
3. After copying a received message from the message buffer to the
application memory, the DN flag has to be cleared (0) by software.
1
TRQ
Indicates a transmit request of this message.
0: No pending transmit request.
1: Transmit request is pending.
Remark:
If the TRQ flag is set for a receive message, a remote frame is sent. (refer
to Table 13-16)
0
RDY
Enables and indicates application processing of this message.
0: Message is processed by the application, and not ready to be handled by the
assigned CAN module.
1: Message is ready to be handled by the assigned CAN module.
Remark:
Transmit as well as receive messages are only handled by the assigned
CAN module if the RDY flag is set. (refer to Table 13-16)
Содержание V850E/CA1 ATOMIC
Страница 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...