CHAPTER 15 BIT SEARCH MODULE
❍ Reading
•
Save data of the internal state of the bit search module is read. This register is used to save
and restore the original state when the bit search module is used by, for example, an
interrupt handler.
•
Even though data is written to the 0 detection, change point detection, or data register, data
can be saved and restored only by using the 1 detection data register.
•
The initial value after a reset is undefined.
■ Change Point Detection Data Register (BSDC)
The configuration of the change point detection data register (BSDC) is shown in Figure 15.2-4.
Figure 15.2-4 Configuration of Change Point Detection Data Register (BSDC)
Address 0003F8
•
Point of change are detected in the written value.
•
The initial value after a reset is undefined.
•
The read value is undefined.
•
Use a 32-bit length data transfer instruction for data transfer. Do not use 8-bit or 16-bit length
data transfer instructions.
■ Detection Result Register (BSRR)
The result of 0 detection, 1 detection, or change point detection is read. Which detection result
is to be read is determined by the data register that has been written to last.
The configuration of the detection result register (BSRR) is shown in Figure 15.2-5.
Figure 15.2-5 Configuration of Detection Result Register (BSRR)
Address 0003FC
446
bit 31
H
bit 31
H
0
W
0
R
Initial value
XXXX
H
Initial value
XXXX
H