![](http://datasheet.mmic.net.cn/30000/M30855FHTGP_datasheet_2359399/M30855FHTGP_385.png)
Page 362
4
9
4
f
o
5
0
2
,
1
0
.
l
u
J
3
0
.
1
.
v
e
R
3
0
1
0
-
7
3
0
B
9
0
J
E
R
23. CAN Module
)
T
5
8
/
C
2
3
M
,
5
8
/
C
2
3
M
(
p
u
o
r
G
5
8
/
C
2
3
M
When a received ID is "6F316"
001100110001101
1
SID4 SID3 SID2 SID1 SID0
SID10SID9 SID8 SID7 SID6
1101111001
1
"6"
"F"
"3"
"D"
"E"
"3"
SID10
SID0
0000100011011110
Divide it to 8 bits and 3 bits
Received ID
"D"
"E"
"0816"
Bit search information
Address search information
SID5
b7
b8
b0
b15
b7
b8
b0
b7
b0
b15
0116
0216
0416
0816
1016
2016
4016
8016
0 0 0 0 0 0 0 1
0 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0
0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 0
1 0 0 0 0 0 0 0
016
116
216
316
416
516
616
716
Bit search information
3 low-order bits of received ID
8 bits
3 bits
Because the value of the
3 bits is 3, b3 in the table
left is 1. (If the value of
the 3 bits is 4, b4 in the
table left is 1.)
b3
Write to
the CiAFS register
Read from
the CiAFS register
i = 0, 1
CANi Acceptance Filter Support Register (i=0,1)
Symbol
Address
After Reset(1)
C0AFS
024516 - 024416
010016
C1AFS
025516 - 025416
010016
RW
Function
Setting Range
Generates data to determine a received ID
000016 to FFFF16
NOTES:
1. Value is obtained by setting the SLEEP bit in the CiSLPR register to "1" (sleep mode exited) after
reset and supplying the clock to the CAN module.
b15
b0
b8
b7
b15
b0
SID5 SID4 SID3 SID2 SID1 SID0
SID10 SID9 SID8 SID7 SID6
SID5 SID4 SID3
CSID2 CSID1 CSID0 SID10 SID9 SID8 SID7 SID6
CSID5 CSID4 CSID3
CSID7 CSID6
Write
Read
3-8 decoding
b7
b8
b15
b0
Data used to search a data table is
generated from a received ID in stan-
dard format. The table search with this
data determines whether or not a re-
ceived ID is valid.
00716
"0"
00616
"0"
00516
"0"
00416
"0"
00316
"0"
00216
"0"
00116
"1"
00016
"0"
00F16
"1"
00E16
"0"
00D16
"0"
00C16
"0"
00B16
"0"
00A16
"0"
00916
"0"
00816
"0"
6F716
"0"
6F616
"0"
6F516
"0"
6F416
"0"
6F316
"1"
6F216
"0"
6F116
"0"
6F016
"0"
7F716
"0"
7F616
"0"
7F516
"0"
7F416
"0"
7F316
"0"
7F216
"0"
7F116
"0"
7F016
"1"
7FF16
"0"
7FE16
"0"
7FD16
"1"
7FC16
"0"
7FB16
"0"
7FA16
"0"
7F916
"0"
7F816
"0"
Top+0016
Top+0116
Top+FE16
Top+FF16
Top+DE16
b7
b6
b5
b4
b3
b2
b1
b0
Address search information
Bit search information
23.1.23 CANi Acceptance Filter Support Register (CiAFS Register) (i=0,1)
Figure 23.35 C0AFS Register and C1AFS Register
The CiAFS register enables prompt performance of the table search to determine the varidity of a
received ID. This function is for standard-formatted ID only.