
RM0453 Rev 2
409/1454
RM0453
General-purpose I/Os (GPIO)
426
10.4.13 GPIOC output type register (GPIOC_OTYPER)
Address offset: 0x0804
Reset value: 0x0000 0000
Bits 31:30
MODE15[1:0]:
Port PC15 IO type configuration
Bits 29:28
MODE14[1:0]:
Port PC14 IO type configuration
Bits 27:26
MODE13[1:0]:
Port PC13 IO type configuration
Bits 25:14 Reserved, must be kept at reset value.
Bits 13:12
MODE6[1:0]:
Port PC6 IO type configuration
Bits 11:10
MODE5[1:0]:
Port PC5 IO type configuration
Bits 9:8
MODE4[1:0]:
Port PC4 IO type configuration
Bits 7:6
MODE3[1:0]:
Port PC3 IO type configuration
Bits 5:4
MODE2[1:0]:
Port PC2 IO type configuration
Bits 3:2
MODE1[1:0]:
Port PC1 IO type configuration
Bits 1:0
MODE0[1:0]:
Port PC0 IO type configuration
These bits are written by software to configure the I/O mode.
00: Input mode
01: General purpose output mode
10: Alternate function mode
11: Analog mode (reset state)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
Res.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
OT15
OT14
OT13
Res.
Res.
Res.
Res.
Res.
Res.
OT6
OT5
OT4
OT3
OT2
OT1
OT0
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits 31:16 Reserved, must be kept at reset value.
Bit 15
OT15:
Port PC15 output type configuration
Bit 14
OT14:
Port PC14 output type configuration
Bit 13
OT13:
Port PC13 output type configuration
Bits 12:7 Reserved, must be kept at reset value.
Bit 6
OT6:
Port PC6 output type configuration
Bit 5
OT5:
Port PC5 output type configuration
Bit 4
OT4:
Port PC4 output type configuration
Bit 3
OT3:
Port PC3 output type configuration