
BAT32G1x9 user manual | Chapter 2 Pin function
39 / 1149
Rev.1.02
2.3.7
Port output mode register (POMxx).
This is the register that sets the output mode in bits. When communicating serially with external devices with
different voltage level and simple I2C communication with external devices with the same voltage level , the
SDAxx pin can be selected for an N-channel open-drain output mode.
After generating a reset signal, the value of these registers changes to "00H".
Register address = base a offset address; The base address of the POM register is 0x40040000, and
the partial address is shown in the figure below.
Note that for bits that set the
N-channel open-drain output mode (POMmn=1), no internal pull-up resistor is connected.
Figure2-7 format of port output mode register
symbol
7
6
5
4
3
2
1
0
Offset
address
After
reset
R/W
POM0
0
0
0
POM04
POM03
POM02
0
POM00
0x050
00H
R/W
POM1
POM17
0
POM15
POM14
POM13
0
POM11
POM10
0x051
00H
R/W
POM3
0
0
0
0
0
0
0
POM30
0x053
00H
R/W
POM4
0
0
0
POM44
POM43
0
0
0
0x054
00H
R/W
POM5
0
0
POM55
PAT54
PAT53
0
POM51
POM50
0x055
00H
R/W
POM7
0
0
0
POM74
0
0
POM71
0
0x057
00H
R/W
POM8
0
0
0
0
0
POM82
POM81
POM80
0x058
00H
R/W
POM14
0
0
0
POM144 POM143 POM142
0
0
0x05E
00H
R/W
POMmn
Selection of output mode for the
Pmn pin
0
The usual output mode
1
N-channel open-drain output mode
Note: The initial value must be set for unassigned bits.