813
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
18.9.4 Mask
function
For any message buffer, which is used for reception, the assignment to one of four global reception
masks (or no mask) can be selected.
By using the mask function, the message ID comparison can be reduced by masked bits, herewith
allowing the reception of several different IDs into one buffer.
While the mask function is in effect, an identifier bit that is defined to be 1 by a mask in the received
message is not compared with the corresponding identifier bit in the message buffer.
However, this comparison is performed for any bit whose value is defined as 0 by the mask.
For example, let us assume that all messages that have a standard-format ID, in which bits ID27 to
ID25 are 0 and bits ID24 and ID22 are 1, are to be stored in message buffer 14. The procedure for this
example is shown below.
<1> Identifier to be stored in message buffer
Note:
x = don’t care
<2> Identifier to be configured in message buffer 14 (example)
(Using CnMIDL14 and CnMIDH14 registers)
Notes: 1.
ID with the ID27 to ID25 bits cleared to 0 and the ID24 and ID22 bits set to 1 is registered
(initialized) to message buffer 14.
2.
Message buffer 14 is set as a standard format identifier that is linked to mask 1 (MT[2:0] of
CnMCONF14 register are set to 010B).
ID28
ID27
ID26
ID25
ID24
ID23
ID22
ID21
ID20
ID19
ID18
x
0
0
0
1
x
1
x
x
x
x
ID28
ID27
ID26
ID25
ID24
ID23
ID22
ID21
ID20
ID19
ID18
x
0
0
0
1
x
1
x
x
x
x
ID17
ID16
ID15
ID14
ID13
ID12
ID11
ID10
ID9
ID8
ID7
x
x
x
x
x
x
x
x
x
x
x
ID6
ID5
ID4
ID3
ID2
ID1
ID0
x
x
x
x
x
x
x
Содержание MuPD70F3187
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Страница 16: ...16 User s Manual U16580EE3V1UD00 ...
Страница 28: ...28 User s Manual U16580EE3V1UD00 ...
Страница 32: ...32 User s Manual U16580EE3V1UD00 ...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 192: ...192 Chapter 5 Memory Access Control Function μPD70F3187 only User s Manual U16580EE3V1UD00 MEMO ...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Страница 1053: ......