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 [2016/02/25 07:10] – feur | stm32:peripherals:gpio [2018/02/23 16:31] (current) – [GPIO Register Descriptions] ruan | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== GPIO Port A..H ====== | ====== GPIO Port A..H ====== | ||
- | {{ gpio_complete.svg? | + | The STM32F429ZI has a total of 8 GPIO ports (A..H). Each port offers 16 I/O pins (except port H, which offers only 2). Each pin can individually |
- | + | ||
- | The STM32F429ZI has a total of 8 GPIO ports (A..H). Each port offers 16 I/O pins (except port H, which offers only 2). Each pin can individualy | + | |
+ | {{ gpio_complete.svg }} | ||
===== Features ===== | ===== Features ===== | ||
Line 13: | Line 12: | ||
* Speed selection for each I/O. | * Speed selection for each I/O. | ||
* Up to 90 MHz toggeling speed. | * Up to 90 MHz toggeling speed. | ||
+ | |||
+ | ===== GPIO Register Description ===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Extract from ST Reference Manual | ||
===== Functions ===== | ===== Functions ===== | ||
Line 30: | Line 35: | ||
* [[gpio_output|Output mode]] for outputing signals. | * [[gpio_output|Output mode]] for outputing signals. | ||
* [[gpio_analog|Analog mode]] for [[adc|AD- / DA-conversion]]. | * [[gpio_analog|Analog mode]] for [[adc|AD- / DA-conversion]]. | ||
- | * [[gpio_alternate|Alternate function mode]] for various peripherals, | + | * [[gpio_alternate|Alternate function mode]] for various peripherals, |
- | + | ||
- | ===== Registers ===== | + | |
- | + | ||
- | ==== MODER, PUPDR, OTYPER, OSPEEDR ==== | + | |
- | + | ||
- | \\ {{gpio_reg_common.svg}} \\ \\ | + | |
- | + | ||
- | === MODER === | + | |
- | + | ||
- | |< 100% 10em >| | + | |
- | |00|Input (reset state)| | + | |
- | |01|Output mode| | + | |
- | |10|Alternate function mode| | + | |
- | |11|Analog input mode| | + | |
- | + | ||
- | === PUPDR === | + | |
- | + | ||
- | |< 100% 10em >| | + | |
- | |00|No pull-up / -down (reset state)| | + | |
- | |01|Pull-up| | + | |
- | |10|Pull-down| | + | |
- | + | ||
- | === OTYPER === | + | |
- | + | ||
- | > Achtung: Bild falsch! | + | |
- | + | ||
- | === OSPEEDR === | + | |
- | + | ||
- | |< 100% 10em >| | + | |
- | |00|Speed: 2 MHz (reset state)| | + | |
- | |01|Speed: 10 MHz| | + | |
- | |10|Speed: 50 MHz| | + | |
- | |11|Speed: 100 MHz| | + | |
- | + | ||
- | ==== AFRL/H ==== | + | |
- | + | ||
- | \\ {{gpio_reg_afrl.svg}} \\ \\ | + | |
- | \\ {{gpio_reg_afrh.svg}} \\ \\ | + | |
- | + | ||
- | |< 100% 10em >| | + | |
- | |0..15|Alternate function 0..15| | + | |
- | + | ||
- | ===== Legend ===== | + | |
- | \\ {{legende.svg}} \\ \\ |