Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stm32:peripherals:gpio_alternate [2022/12/27 17:37] – [Programming Instructions] ruan | stm32:peripherals:gpio_alternate [2022/12/28 08:20] (current) – ruan | ||
---|---|---|---|
Line 15: | Line 15: | ||
* [[gpio_input# | * [[gpio_input# | ||
* [[gpio_output# | * [[gpio_output# | ||
- | * [[gpio_analog# | + | * [[gpio_analog# |
\\ | \\ | ||
===== Configuration Registers ===== | ===== Configuration Registers ===== | ||
- | ==== GPIOx_MODER ==== | + | ==== GPIOx_MODER |
- | + | ||
- | GPIO port mode register | + | |
\\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
Line 28: | Line 26: | ||
|Pin x|10|Alternate function mode| | |Pin x|10|Alternate function mode| | ||
- | ==== GPIOx_AFRL/ | + | ==== GPIOx_AFRL/ |
- | + | ||
- | Alternate function register (low / high) | + | |
\\ {{gpio_reg_afrl.svg}} \\ \\ | \\ {{gpio_reg_afrl.svg}} \\ \\ | ||
Line 53: | Line 49: | ||
|::: | |::: | ||
- | ==== GPIOx_PUPDR | + | ==== GPIOx_PUPDR |
- | + | ||
- | GPIO port pull-up / pull-down register | + | |
\\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
Line 65: | Line 59: | ||
|::: | |::: | ||
- | ==== GPIOx_OTYPER | + | ==== GPIOx_OTYPER |
- | + | ||
- | Port output type register | + | |
\\ {{gpio_reg_otyper.svg}} \\ \\ | \\ {{gpio_reg_otyper.svg}} \\ \\ | ||
Line 75: | Line 67: | ||
|::: | |::: | ||
- | ==== GPIOx_OSPEEDR | + | ==== GPIOx_OSPEEDR |
- | + | ||
- | Port output speed register | + | |
\\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
Line 87: | Line 77: | ||
|::: | |::: | ||
- | ===== Legend ===== | ||
- | |||
- | \\ {{legende.svg}} \\ \\ |