Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stm32:peripherals:gpio_analog [2022/12/27 17:36] – [Analog Input (GPIO)] ruanstm32:peripherals:gpio_analog [2022/12/28 08:18] (current) – [MODER] ruan
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 ''0x10'' to the corresponding fields in ''GPIOx->MODE''.   * Write ''0x10'' to the corresponding fields in ''GPIOx->MODE''.
-\\ 
- 
-> {{logo_hal.svg?72px |}} **Hardware Abstraction Layer** 
-> [[https://ennis.zhaw.ch/hal/structreg__gpio__t.html | Register Types]] 
-> [[https://ennis.zhaw.ch/hal/hal__gpio_8h.html | InES GPIO HAL Interface]] 
 \\ \\
  
 ===== Configuration Registers ===== ===== Configuration Registers =====
  
-==== MODER ==== +==== GPIOx_MODER - Mode register ====
- +
-Mode register+
  
 \\ {{gpio_reg_common.svg}} \\ \\ \\ {{gpio_reg_common.svg}} \\ \\
  • stm32/peripherals/gpio_analog.1672162614.txt.gz
  • Last modified: 2022/12/27 17:36
  • by ruan