464
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(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 14-17:
CAN Message Search Start Register (CGMSS)
Notes: 1. The address of an interrupt pending register is calculated according to the following for-
mula:
effective address = P address offset
2. CAN module 3 and CAN module 4 are available in the derivatives µPD703129 (A) and
µPD703129 (A1) only.
Remark:
m = 00 to 31
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Address
Offset
Note1
Initial
value
CGMSS CIDE CERQ CTRQ CMSK CDN SMN2 SMN1 SMN0
0
0
STRT5 STRT4 STRT3 STRT2 STRT1 STRT0
101AH
–
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 31)
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.
SMN2 SMN1 SMN0
CAN Module Number
0
0
0
Search for message buffers not linked to any CAN module.
0
0
1
Search for message buffers linked to CAN module 1
0
1
0
Search for message buffers linked to CAN module 2
0
1
1
Search for message buffers linked to CAN module 3
Note 2
1
0
0
Search for message buffers linked to CAN module 4
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: ......