Register - Fujitsu MB91460 SERIES FR60 User Manual

32-bit microcontroller
Table of Contents

Advertisement

4. Register

4.1 BSD0: 0 Detection Register / BSD1:1 Detection Register / BSDC: Changing position
Detection Data Register
This is a register for setting the bit search detection data.
• BSD0: Address 03F0
• BSD1: Address 03F4
• BSDC: Address 03F8
31
31
31
(For the attributes, refer to
• Write data used to detect 0, 1 and changing position in each of the registers BSD0, BSD1 and BSDC.
• The result is stored in the detection result register BSRR.
• During 0 detection, the position where "0" is first detected is stored for data written in the order of
MSB(bit31) to LSB(bit0).
• During 1 detection, the position where "1" is first detected is stored for data written in the order of
MSB(bit31) to LSB(bit0).
• During change position detection, the position where a value different from MSB(bit31) is first detected is
stored for data written in the order of bit30 to LSB(bit0).
• The register BSD0 used for 0 detection and the BSRC register used for changing position detection are
write-only. The value during read operation is indefinite.
• Data saved in the bit search can be read if the register BSR1 used to detect 1 is read.
Previous detection result can be restored by re-writing previously read data in the BSR1 used for detecting
1. This applies to the processes for the 0 detection and the changing position detection.This function can be
used to restore a specific state when using a bit search in processing such as interrupt handler.
(Access: Word)
H
(Access: Word)
H
(Access: Word)
H
BSD0
Indefinite
W
BSD1
Indefinite
R,W
BSDC
Indefinite
W
"Meaning of Bit Attribute Symbols (Page
0
0
0
No.10)".)
Chapter 28 Bit Search
4.Register
bit
Initial value
Attribute
bit
Initial value
Attribute
bit
Initial value
Attribute
389

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents