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_analog [2017/04/10 09:38] – kesr | stm32:peripherals:gpio_analog [2022/12/28 08:18] (current) – [MODER] ruan | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * The Schmitt trigger input is inactive. | * The Schmitt trigger input is inactive. | ||
| * The pull-up and -down resitors are inactive. | * The pull-up and -down resitors are inactive. | ||
| - | * Reading IDR gets " | + | * Reading IDR returns |
| \\ | \\ | ||
| Line 19: | Line 19: | ||
| Configure the MODE register, for every pin that should act as analog input: | Configure the MODE register, for every pin that should act as analog input: | ||
| * Write '' | * Write '' | ||
| - | \\ | ||
| - | |||
| - | > {{logo_hal.svg? | ||
| - | > [[https:// | ||
| - | > [[https:// | ||
| \\ | \\ | ||
| ===== Configuration Registers ===== | ===== Configuration Registers ===== | ||
| - | ==== MODER ==== | + | ==== GPIOx_MODER - Mode register |
| - | + | ||
| - | Mode register | + | |
| \\ {{gpio_reg_common.svg}} \\ \\ | \\ {{gpio_reg_common.svg}} \\ \\ | ||