Fujitsu mb91192 Manuale Utente

Pagina di 348
268
CHAPTER 19  Bit Search Module
19.1
Overview of Bit Search Module
The bit search module detects 0, 1, or point of change for data written to the input 
register, and returns the detected bit position.
Feature of Bit Search Module
Search for the bit position that first changes between 1 and 0 beginning from MSB or a word in one
cycle.
Block Diagram of Bit Search Module
Figure 19.1-1  Block Diagram of Bit search module
Register List of Bit Search Module
Figure 19.1-2  Register list of Bit search module 
Note:
REALOS related hardware is used by the real time OS. Therefore, when REALOS is used, it cannot
be used under the user program.
Input latch
Address
Decoder
Detection
mode
1 detection data
Bit search circuit
Detection result
 
Address:
31
16
000003F0
H
 
BSD0 
0 Detection Data Register
000003F4
H
 
BSD1 
1 Detection Data Register 
000003F8
H
 BSDC 
000003FC
H
 
BSRR 
Detection Result Register 
bit
Change Point Detection Data Register