Rainbow Electronics W90N745CDG User Manual
Page 336
W90N745CD/W90N745CDG
- 332 -
11 10 01 00
PT5CFG11
Name Type Name Type Name Type
Name
Type
PORT5_11 RESERVED RESERVED nIRQ0 I GPIO16
I/O
11 10 01 00
PT5CFG12
Name Type
Name
Type
Name Type
Name
Type
PORT5_12 RESERVED USBOVCUR I nIRQ1 I GPIO17
I/O
GPIO Port5 Direction Register (GPIO_DIR5)
REGISTER ADDRESS
R/W
DESCRIPTION
RESET
VALUE
GPIO_DIR5 0xFFF8_3054
R/W
GPIO port5 in/out direction control
and pull-up enable register
0x0000_0000
31
30
29
28
27
26
25
24
RESERVED
PUPEN5[12:8]
23
22
21
20
19
18
17
16
PUPEN5[7:0]
15
14
13
12
11
10
9
8
RESERVED
OMDEN5[12:8]
7
6
5
4
3
2
1
0
OMDEN5[7:0]
BITS
DESCRIPTION
[31:29] RESERVED
-
[28:16]
PUPEN5
GPIO17 ~ GPIO5 port pin internal pull-up resister enable
There are 13 bits for this register, the corresponding bit is set to
“1” will enable pull-up resister on IO pin.
1 = enable
0 = disable
After power on the pull-up resisters are disable.
[15:13] RESERVED
[12:0]
OUTEN5
GPIO17 ~ GPIO5 output mode enable
1 = output mode
0 = input mode
NOTE: Output mode enable bits are valid only when bit
PT5CFG12-0 is configured as general purpose I/O mode.
Each port pin can be enabled individually by setting the
corresponding control bit.