Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
stm32:peripherals:gpio_input [2022/12/27 17:32] – [Setup input mode] ruan | stm32:peripherals:gpio_input [2022/12/28 08:15] (current) – ruan | ||
---|---|---|---|
Line 25: | Line 25: | ||
===== Configuration Registers ===== | ===== Configuration Registers ===== | ||
- | ==== GPIOx_MODER | + | ==== GPIOx_MODER |
- | + | ||
- | GPIO port mode register | + | |
\\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
Line 34: | Line 32: | ||
|Pin x|00|Input mode (reset state)| | |Pin x|00|Input mode (reset state)| | ||
- | ==== GPIOx_PUPDR | + | ==== GPIOx_PUPDR |
- | + | ||
- | GPIO port pull-up / pull-down register | + | |
\\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
Line 47: | Line 43: | ||
===== Data Registers ===== | ===== Data Registers ===== | ||
- | ==== GPIOx_IDR | + | ==== GPIOx_IDR |
- | + | ||
- | Port input data register | + | |
\\ {{gpio_reg_idr.svg}} \\ \\ | \\ {{gpio_reg_idr.svg}} \\ \\ | ||
Line 55: | Line 49: | ||
* Register is read only \\ \\ | * Register is read only \\ \\ | ||
- | ===== Legend ===== | ||
- | |||
- | \\ {{legende.svg}} \\ \\ |