Fujitsu MB91260B Series Hardware Manual page 164

32-bit microcontroller
Table of Contents

Advertisement

■ 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 7.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 7.6-1 Bit Locations and Return Values (decimal)
Detected bit
Return
location
value
31
0
30
1
29
2
28
3
27
4
26
5
25
6
24
7
Write data
Detected bit
Return
location
value
23
8
22
9
21
10
20
11
19
12
18
13
17
14
16
15
CHAPTER 7 REALOS-RELATED HARDWARE
Read value (decimal)
(20000000
)
B
H
(01234567
)
B
H
(0003FFFF
)
B
H
(00000001
)
B
H
(00000000
)
B
H
(FFFFF000
)
B
H
(F849E0AA
)
B
H
(8002AAAA
)
B
H
(FFFFFFFF
)
B
H
Detected bit
Return
location
value
15
16
14
17
13
18
12
19
11
20
10
21
9
22
8
23
2
7
14
31
32
20
5
1
32
Detected bit
Return
location
value
7
24
6
25
5
26
4
27
3
28
2
29
1
30
0
31
32 is returned when the
detected bit is not found
149

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60lite

Table of Contents