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_input [2018/02/16 07:49] ruanstm32:peripherals:gpio_input [2022/12/28 08:15] (current) ruan
Line 21: Line 21:
   * Write ''0x00'' to the corresponding fields in ''GPIOx->MODE''.   * Write ''0x00'' to the corresponding fields in ''GPIOx->MODE''.
   * Configure pull-up / -down in ''GPIOx->PUPDR''.   * Configure pull-up / -down in ''GPIOx->PUPDR''.
-\\ 
- 
-> {{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 =====
  
-==== GPIOx_MODER ==== +==== GPIOx_MODER GPIO port mode register ====
- +
-GPIO port mode register+
  
 \\ {{gpio_reg_common.svg}} \\ \\ \\ {{gpio_reg_common.svg}} \\ \\
Line 39: 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 port pull-up / pull-down register+
  
 \\ {{gpio_reg_common.svg}} \\ \\ \\ {{gpio_reg_common.svg}} \\ \\
Line 52: Line 43:
 ===== Data Registers ===== ===== Data Registers =====
  
-==== GPIOx_IDR ==== +==== GPIOx_IDR Port input data register ====
- +
-Port input data register+
  
 \\ {{gpio_reg_idr.svg}} \\ \\ \\ {{gpio_reg_idr.svg}} \\ \\
Line 60: Line 49:
 * Register is read only \\ \\ * Register is read only \\ \\
  
-===== Legend ===== 
- 
-\\ {{legende.svg}} \\ \\ 
  • stm32/peripherals/gpio_input.1518767350.txt.gz
  • Last modified: 2018/02/16 07:49
  • by ruan