465
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(8)
CAN message search result register (CGMSR)
The CGMSR register returns the result of a message search, started by writing the CGMSS regis-
ter.
This register is read-only and can be read in 16-bit units.
Figure 14-18:
CAN Message Search Result Register (CGMSR)
Notes: 1. The register address is calculated according to the following formula:
effective address = P address offset
2. If a message search finds several message buffers meeting the search option, the MM flag
is set. In that case the MFND5 to MFND0 bits return number of the message buffer with the
lowest number.
3. Value of Bits 6 and 7 is undefined after search function.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Offset
Note1
Initial
value
CGMSR
0
0
0
0
0
0
MM AM 0
Note3
0
Note3
MFND5 MFND4 MFND3 MFND2 MFND1 MFND0
101AH
0000H
Bit Position
Bit Name
Function
9, 8
MM,
AM
Indicates the match result of the preceding message search.
5 to 0
MFND5 to
MFND0
Indicates the number of the message buffer, which was found by the message search.
(0 to 31)
Note 2
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.
MM
AM
Number of Hits
×
0
No match
0
1
1 message meets the search criteria.
1
1
Several message meet the search criteria.
Note 2
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......