Fujitsu MB91319 Series Hardware Manual page 258

Fr60 32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 11 REALOS-RELATED HARDWARE
■ Change Point Detection
The bit search module scans data written to the change point detection data register from bit30 to
the LSB for comparison with the MSB value. The first location where a value that is different from
that of the MSB is detected is returned. The detection result can be obtained by reading the
detection result register.
The relationship between the detected location and the return value is given in Table 11.6-1. If a
change point is not detected, 32 is returned. In change point detection, 0 is never returned as a
result.
[Execution example]
00100000000000000000000000000000
00000001001000110100010101100111
00000000000000111111111111111111
00000000000000000000000000000001
00000000000000000000000000000000
11111111111111111111000000000000
11111000010010011110000010101010
10000000000000101010101010101010
11111111111111111111111111111111
Table 11.6-1 Bit Locations and Return Values (Decimal)
Detected
Return
bit
value
location
31
0
30
1
29
2
28
3
27
4
26
5
25
6
24
7
236
Write data
Detected
Return
bit
value
location
23
8
22
9
21
10
20
11
19
12
18
13
17
14
16
15
Read value (decimal)
→ 2
(20000000
)
B
H
→ 7
(01234567
)
B
H
→ 14
(0003FFFF
)
B
H
→ 31
(00000001
)
B
H
→ 32
(00000000
)
B
H
→ 20
(FFFFF000
)
B
H
→ 5
(F849E0AA
)
B
H
→ 1
(8002AAAA
)
B
H
→ 32
(FFFFFFFF
)
B
H
Detected
Return
bit
value
location
15
16
14
17
13
18
12
19
11
20
10
21
9
22
8
23
Detected
Return
bit
value
location
7
24
6
25
5
26
4
27
3
28
2
29
1
30
0
31
Not found
32

Advertisement

Table of Contents
loading

Table of Contents