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_alternate [2018/02/27 10:12] – [MODER] ruanstm32:peripherals:gpio_alternate [2022/12/28 08:20] (current) ruan
Line 15: Line 15:
   * [[gpio_input#programming_instructions|digital input]],   * [[gpio_input#programming_instructions|digital input]],
   * [[gpio_output#programming_instructions|digital output]] or   * [[gpio_output#programming_instructions|digital output]] or
-  * [[gpio_analog#programming_instructions|analgo input]].+  * [[gpio_analog#programming_instructions|analog input]].
 \\ \\
- 
-> {{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 - Mode register ====
- +
-GPIO port mode register+
  
 \\ {{gpio_reg_common.svg}} \\ \\ \\ {{gpio_reg_common.svg}} \\ \\
Line 34: Line 26:
 |Pin x|10|Alternate function mode| |Pin x|10|Alternate function mode|
  
-==== AFRL/H ==== +==== GPIOx_AFRL/H Alternate function register (low / high) ====
- +
-Alternate function register (low / high)+
  
 \\ {{gpio_reg_afrl.svg}} \\ \\ \\ {{gpio_reg_afrl.svg}} \\ \\
Line 59: Line 49:
 |:::|1111|AF15: Event Out| |:::|1111|AF15: Event Out|
  
-==== PUPDR ==== +==== GPIOx_PUPDR - GPIO port pull-up / pull-down register ====
- +
-Push-up / pull-down register+
  
 \\ {{gpio_reg_common.svg}} \\ \\ \\ {{gpio_reg_common.svg}} \\ \\
Line 71: Line 59:
 |:::|11|Reserved| |:::|11|Reserved|
  
-==== OTYPER ==== +==== GPIOx_OTYPER - Port output type register ====
- +
-Output type register+
  
 \\ {{gpio_reg_otyper.svg}} \\ \\ \\ {{gpio_reg_otyper.svg}} \\ \\
Line 81: Line 67:
 |:::|1|Output type: open-drain| |:::|1|Output type: open-drain|
  
-==== OSPEEDR ==== +==== GPIOx_OSPEEDR - Port output speed register ====
- +
-Output speed register +
  
 \\ {{gpio_reg_common.svg}} \\ \\ \\ {{gpio_reg_common.svg}} \\ \\
Line 93: Line 77:
 |:::|11|Speed: 100 MHz| |:::|11|Speed: 100 MHz|
  
-===== Legend ===== 
- 
-\\ {{legende.svg}} \\ \\ 
  • stm32/peripherals/gpio_alternate.1519726379.txt.gz
  • Last modified: 2018/02/27 10:12
  • by ruan