Skip to content

Commit

Permalink
Add UART0 range
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Dec 25, 2024
1 parent 8e9f4c1 commit 2a0f537
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions docs/development/Serial.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,28 @@ Note: for Identifier see serialPortIdentifier_e in the source; for Function bitm
| SERIAL_PORT_SOFTSERIAL1 | 30 |
| SERIAL_PORT_SOFTSERIAL2 | 31 |
| SERIAL_PORT_LPUART1 | 40 |
| SERIAL_PORT_UART0 | 50 |
| SERIAL_PORT_USART1 | 51 |
| SERIAL_PORT_USART2 | 52 |
| SERIAL_PORT_USART3 | 53 |
| SERIAL_PORT_UART4 | 54 |
| SERIAL_PORT_UART5 | 55 |
| SERIAL_PORT_USART6 | 56 |
| SERIAL_PORT_USART7 | 57 |
| SERIAL_PORT_USART8 | 58 |
| SERIAL_PORT_UART9 | 59 |
| SERIAL_PORT_USART10 | 60 |

:::note

- ID's 0-19 reserved for UARTS 1-20
- ID's 20-29 reserved for USB 1-10
- ID's 30-39 reserved for SoftSerial 1-10
- ID's 40-49 reserved for LPUART 1-10
- Other devices can be added starting from id 50.
- ID's 0-19 reserved for UART 1-20 (legacy in firmware 4.6)
- ID's 20-29 reserved for USB VCP
- ID's 30-39 reserved for SoftSerial 1 and 2
- ID's 40-49 reserved for LPUART 1
- ID's 50-60 reserved for UART 0-10 (added in firmware 4.6)
- Other devices can be added starting from ID 70
- Port 0, 4, 5, 9 use `UART` designator
- Port 1, 2, 3, 6, 7, 8, 10 use `USART` designator

:::

Expand Down

0 comments on commit 2a0f537

Please sign in to comment.