| ... | ... | @@ -19,7 +19,7 @@ somePin::low(); |
|
|
|
All the possible pin modes and speeds can be found in the
|
|
|
|
gpio_impl.h inside `libs/miosix-kernel/miosix/arch/<your_arch>/common/interfaces-impl`.
|
|
|
|
|
|
|
|
### Discovery Boards
|
|
|
|
### Discovery Boards Pins
|
|
|
|
These are some commonly used pins that you'll need when writing software for discovery boards.
|
|
|
|
|
|
|
|
- STM32F429ZI_DISCO (*with screen*)
|
| ... | ... | @@ -43,7 +43,7 @@ You can find a complete pin usage description |
|
|
|
|
|
|
|
Take a look at the f407 [datasheet](http://www.st.com/content/ccc/resource/technical/document/user_manual/70/fe/4a/3f/e7/e1/4f/7d/DM00039084.pdf/files/DM00039084.pdf/jcr:content/translations/en.DM00039084.pdf) for more.
|
|
|
|
|
|
|
|
### Miosix Pin Definition
|
|
|
|
### Miosix Pins
|
|
|
|
|
|
|
|
Where are the stm32 pins which are used in miosix? (all paths are referred to `/libs/miosix-kernel/miosix` ).
|
|
|
|
|
| ... | ... | @@ -57,7 +57,7 @@ Where are the stm32 pins which are used in miosix? (all paths are referred to `/ |
|
|
|
|
|
|
|
| USART | TX | RX | CTS | RTS |
|
|
|
|
|--------|-----|-----|------|-------|
|
|
|
|
| 1 | PA9 | PA0 | PA11 | PA12 |
|
|
|
|
| 1 | PA9 | PA10 | PA11 | PA12 |
|
|
|
|
| 2 | PA2 | PA3 | PA0 | PA1 |
|
|
|
|
| 3 | PB10 | PB11 | PB13 | PB14 |
|
|
|
|
|
| ... | ... | |