405
Chapter 13
FCAN Interface Function
Preliminary User’s Manual U14913EE1V0UM00
(7)
CAN message search start register (CGMSS)
The CGMSS register controls the start of a message search. It can be used for a fast message
retrieval within the message buffers matching a search criteria (e.g. messages with DN flag set).
This register is write-only and must be written in 16-bit units.
Figure 13-17: CAN Message Search Start Register (CGMSS)
Note: The address of an interrupt pending register is calculated according to the following formula:
effective address = P address offset
Remark:
m = 00 to 63
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Offset
Note
Initial
value
CGMSS CIDE CERQ CTRQ CMSK CDN
0
SMN1 SMN0
0
0
STRT5 STRT4 STRT3 STRT2 STRT1 STRT0
81AH
–
Bit Position
Bit Name
Function
15
CIDE
Search criteria for message identifier type (IDE).
0: Do not check status of the message identifier type.
1: Message identifier type must be standard identifier (IDE = 0).
14
CERQ
Search criteria for event processing request flag (ERQ) of the M_STATm registers.
0: Do not check status of the ERQ flag.
1: ERQ flag must be set.
13
CTRQ
Search criteria for transmit request flag (TRQ) and message ready flag (RDY) of the
M_STATm registers.
0: Do not check status of TRQ flag and RDY flag.
1: TRQ flag and RDY flag must be set.
12
CMSK
Search criteria for the mask link bits MT2 to MT0 of the M_CONFm registers.
0: Do not check mask link bits.
1: Check only message buffers not linked with a mask.
11
CDN
Search criteria for data new flag (DN) of the M_STATm registers.
0: Do not check status of the DN flag.
1: DN flag must be set.
9, 8
SMN1,
SMN0
Specifies the CAN module number to search for.
Remark:
The SMNO2 to SMNO0 bits define which messages are checked by the
message search. Only messages assigned to the CAN module defined by
SMNO2 to SMNO0 are checked, all other messages are ignored.
5 to 0
STRT5 to
STRT0
Specifies the number of message buffer the search starts for. (0 to 63)
Remarks:
1. Any search will start from the message number defined by STRT5 to
STRT0 and end at the highest available message buffer. If a search
results in multiple matches, the lowest buffer number is returned.
2. To get the next match without modifying the search criteria the STRT5
to STRT0 bits must be set to the succeeding number of the found one
in (MFND5 to MFND0) of the CGMSR register.
SMN1
SMN0
CAN Module Number
0
0
Search for message buffers not linked to any CAN module.
0
1
Search for message buffers linked to CAN module 1
1
0
Search for message buffers linked to CAN module 2
1
1
Search for message buffers linked to CAN module 3
Содержание 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 ...