|
|
### USARTS
|
|
|
|
|
|
In `arch/common/drivers/serial_stm32.cpp` you can find how
|
|
|
the 3 Usarts that Miosix lets you use are configured.
|
|
|
|
|
|
| USART | TX | RX | CTS | RTS |
|
|
|
|--------|-----|-----|------|-------|
|
|
|
| 1 | PA9 | PA0 | PA11 | PA12 |
|
|
|
| 2 | PA2 | PA3 | PA0 | PA1 |
|
|
|
| 3 | PB10 | PB11 | PB13 | PB14 |
|
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
Standard input and output (`printf()` and `scanf()`) are redirected to the [default USART](#settings).
|
... | ... | |