Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| stm32:peripherals:gpio_output [2022/12/27 17:35] – [Setup output mode] ruan | stm32:peripherals:gpio_output [2022/12/28 08:17] (current) – ruan | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| ===== Configuration Registers ===== | ===== Configuration Registers ===== | ||
| - | ==== GPIOx_MODER ==== | + | ==== GPIOx_MODER |
| - | + | ||
| - | Port mode register | + | |
| \\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
| Line 37: | Line 35: | ||
| |Pin x|01|Output mode| | |Pin x|01|Output mode| | ||
| - | ==== GPIOx_PUPDR | + | ==== GPIOx_PUPDR |
| - | + | ||
| - | Port pull-up / pull-down register | + | |
| \\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
| Line 49: | Line 45: | ||
| |::: | |::: | ||
| - | ==== GPIOx_OTYPER | + | ==== GPIOx_OTYPER |
| - | + | ||
| - | Port output type register | + | |
| \\ {{gpio_reg_otyper.svg}} \\ \\ | \\ {{gpio_reg_otyper.svg}} \\ \\ | ||
| Line 59: | Line 53: | ||
| |::: | |::: | ||
| - | ==== GPIOx_OSPEEDR | + | ==== GPIOx_OSPEEDR |
| - | + | ||
| - | Port output speed register | + | |
| \\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||
| Line 73: | Line 65: | ||
| ===== Data Registers ===== | ===== Data Registers ===== | ||
| - | ==== GPIOx_ODR | + | ==== GPIOx_ODR |
| - | + | ||
| - | Port output data register | + | |
| \\ {{gpio_reg_odr.svg}} \\ \\ | \\ {{gpio_reg_odr.svg}} \\ \\ | ||
| Line 83: | Line 73: | ||
| |:::|1|Set pin x| | |:::|1|Set pin x| | ||
| - | ==== GPIOx_BSRR | + | ==== GPIOx_BSRR Port bit set / reset register |
| - | + | ||
| - | Port bit set / reset register | + | |
| \\ {{gpio_reg_bsrr.svg}} \\ \\ | \\ {{gpio_reg_bsrr.svg}} \\ \\ | ||
| Line 95: | Line 83: | ||
| |::: | |::: | ||
| - | ===== Legend ===== | ||
| - | |||
| - | \\ {{legende.svg}} \\ \\ | ||