387
Chapter 28 Bit Search
1.Overview
Chapter 28 Bit Search
1. Overview
The bit search module is used to detect 0, 1 or changing position for data written in specific registers.
2. Features
• Function: Detects the first changing position by scanning data written in data register from MSB to LSB.
• 0 detection Detects the first ‘0’ changing position.
• 1 detection Detects the first ‘1’ changing position.
• Changing position detectionDetects the position where data first changes.
• Quantity: 1
• Other: Can read internal data.
(This can be used to restore the previous state when it is used for bit search during interrupt service or
handler.)
0-position register
Detection
circuit
(0-position,
1-pos. and
changing
position)
1-position register
Changing-pos. register
Result register