Other Registers - Fujitsu F2MC-16LX Hardware Manual

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 8 I/O PORT
8.2.3

Other Registers

The configuration and functions of the register other than the port data register (PDR0
to PDRB) and the port direction register (DDR0 to DDRB) are described.
Port 0,1 Pull-up Resistance Register (RDR0,RDR1)
Figure 8.2-3 shows the bit configuration of the pull-up resistance register (RDR0, RDR1).
RDR0
Address :
RDR1
Address :
The pull-up resistance register (RDR0, RDR1) determines whether the pull-up resistor is enabled or not in
the input mode.
• 0: There is not a pull-up resistor none at input mode
• 1: There is a pull-up resistor at the input mode.
The RDR0 and RDR1 registers do not have any function in the output mode (no pull-up resistor).
The input/output register is decided by the setting of the direction register (DDR).
There is no pull-up resistor at the time of stop (SPL=1) (high impedance).
This function is disable for the external bus. Be sure not to write into the RDR0 and RDR1 registers.
Port 4 Output Terminal Register (ODR4)
Figure 8.2-4 shows the bit configuration of the output pin register (ODR4).
ODR4
Address :
The output terminal register (ODR4) executes open drain control in the output mode.
• 0: Entering in the standard output port in the output mode
• 1: Entering in the open drain output port in the output mode
The output terminal register (ODR4) does not have it function in the input mode (Output of Hi-Z).
The input/output mode is decided by the setting of the direction register (DDR).
This function is disable for the external bus. Do not write to the output terminal register (ODR4).
202
Figure 8.2-3 Bit Configuration of Pull-up Resistance Register (RDR0,RDR1)
7
6
00001C
RD07 RD06 RD05 RD04 RD03 RD02 RD01 RD00
H
15
14
00001D
RD17 RD16 RD15 RD14 RD13 RD12 RD11 RD10
H
Figure 8.2-4 Bit Configuration of Output Terminal Register (ODR4)
15
14
00001B
OD47 OD46 OD45 OD44 OD43 OD42 OD41 OD40
H
5
4
3
2
13
12
11
10
13
12
11
10
1
0
Initial value
00000000
B
9
8
00000000
B
9
8
Initial value
00000000
B
Access
R/W
R/W
Access
R/W

Advertisement

Table of Contents
loading

Table of Contents