Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>STM32W108C8</strong><br />
General-purpose input/outputs<br />
8.5 General-purpose input / output (GPIO) registers<br />
8.5.1 Port x configuration register (Low) (GPIO_PxCFGL)<br />
Table 26.<br />
Address offset: 0xB000 (GPIO_PACFGL), 0xB400 (GPIO_PBCFGL) and 0xB800<br />
(GPIO_PCCFGL)<br />
Reset value: 0x0000 4444<br />
Port x configuration register (Low) (GPIO_PxCFGL)<br />
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />
Reserved<br />
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />
Px3_CFG Px2_CFG Px1_CFG Px0_CFG<br />
rw rw rw rw<br />
Bits [15:12] Px3_CFG: GPIO configuration control.<br />
0x0: Analog, input or output (GPIO_PxIN always reads 1).<br />
0x1: Output, push-pull (GPIO_PxOUT controls the output).<br />
0x4: Input, floating.<br />
0x5: Output, open-drain (GPIO_PxOUT controls the output).<br />
0x8: Input, pulled up or down (selected by GPIO_PxOUT: 0 = pull-down, 1 = pull-up).<br />
0x9: Alternate output, push-pull (peripheral controls the output).<br />
0xB: Alternate output SPI SCLK, push-pull (only for SPI master mode SCLK).<br />
0xD: Alternate output, open-drain (peripheral controls the output).<br />
Bits [11:8] Px2_CFG: GPIO configuration control: see Px3_CFG above.<br />
Bits [7:4] Px1_CFG: GPIO configuration control: see Px3_CFG above.<br />
Bits [3:0] Px0_CFG: GPIO configuration control: see Px3_CFG above.<br />
8.5.2 Port x configuration register (High) (GPIO_PxCFGH)<br />
Table 27.<br />
Address offset: 0xB004 (GPIO_PACFGH), 0xB404 (GPIO_PBCFGH) and 0xB804<br />
(GPIO_PCCFGH)<br />
Reset value: 0x0000 4444<br />
Port x configuration register (High) (GPIO_PxCFGH)<br />
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />
Reserved<br />
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />
Px7_CFG Px6_CFG Px5_CFG Px4_CFG<br />
rw rw rw rw<br />
Doc ID 018587 Rev 2 64/215