![Cmsemicon BAT32G1 9 Series Скачать руководство пользователя страница 35](http://html1.mh-extra.com/html/cmsemicon/bat32g1-9-series/bat32g1-9-series_user-manual_2627609035.webp)
BAT32G1x9 user manual | Chapter 2 Pin function
35 / 1149
Rev.1.02
2.3.3
Port Set Control Register (PSETxx)
This is the register that sets the port output latch in bits. After generating a reset signal, the values of
these registers become "0000H".
Register address = base a offset address; The base address of the port position control
register is 0x40040000, and the offset address is shown in the figure below.
Figure 2-3: format of port position control register
symbol
7
6
5
4
3
2
1
0
address After reset R/W
PSET0
0
PSET06 PSET05 PSET04 PSET03 PSET02 PSET01 PSET00
0x080
00H
In
PSET1 PSET17 PSET16 PSET15 PSET14 PSET13 PSET12 PSET11 PSET10
0x081
00H
In
PSET2 PSET27 PSET26 PSET25 PSET24 PSET23 PSET22 PSET21 PSET20
0x082
00H
In
PSET3
0
0
0
0
0
0
PSET31 PSET30
0x083
00H
In
PSET4 PSET47 PSET46 PSET45 PSET44 PSET43
PSET42
PSET41 PSET40
0x084
00H
In
PSET5 PSET57 PSET56 PSET55
PSET54
PSET53
PSET52
PSET51 PSET50
0x085
00H
In
PSET6 PSET67 PSET66 PSET65 PSET64 PSET63 PSET62 PSET61 PSET60
0x086
00H
In
PSET7 PSET77 PSET76 PSET75 PSET74 PSET73 PSET72 PSET71 PSET70
0x087
00H
In
PSET8 PSET87 PSET86 PSET85 PSET84 PSET83 PSET82 PSET81 PSET80
0x088
00H
In
PSET10
0
0
0
0
0
PSET102 PSET101 PSET100
0x08A
00H
In
PSET11
0
0
0
0
0
0
PSET111 PSET110
0x08B
00H
In
PSET12
0
0
0
0
0
0
0
PSET120
0x08C
00H
In
PSET13 PSET137 PSET136
0
0
0
0
0
PSET130
0x08D
00H
In
PSET14 PSET147 PSET146 PSET145 PSET144 PSET143 PSET142 PSET141 PSET140
0x08E
00H
In
PSET15
0
PSET156 PSET155 PSET154 PSET153 PSET152 PSET151 PSET150
0x08F
00H
In
PSETmn
Set Control of the
Pmn port
0
No action
1
The corresponding Pmn is set to 1
Note:
The unassigned bits must be initialized.