diff options
| author | James Munns <[email protected]> | 2025-11-26 19:07:37 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-26 19:07:37 +0100 |
| commit | ca56810321b878fdfbf0b6686af0e8167468a883 (patch) | |
| tree | 749c16b62325994b7617b7e58ea139235a900bae | |
| parent | d12bc9785399991065e511efbea34f0138c7645e (diff) | |
Add LPUART5 pin mappings (#53)
Closes #48.
| -rw-r--r-- | src/lpuart/mod.rs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/lpuart/mod.rs b/src/lpuart/mod.rs index 911c2a8e9..317274a79 100644 --- a/src/lpuart/mod.rs +++ b/src/lpuart/mod.rs | |||
| @@ -517,9 +517,17 @@ impl_rts_pin!(LPUART4, P3_16, Mux2); | |||
| 517 | impl_rts_pin!(LPUART4, P3_30, Mux3); | 517 | impl_rts_pin!(LPUART4, P3_30, Mux3); |
| 518 | 518 | ||
| 519 | // LPUART 5 | 519 | // LPUART 5 |
| 520 | // | 520 | impl_tx_pin!(LPUART5, P1_10, Mux8); |
| 521 | // TODO: The datasheet doesn't list tx/rx/cts/rts pins for LPUART5 | 521 | impl_tx_pin!(LPUART5, P1_17, Mux8); |
| 522 | // See https://github.com/OpenDevicePartnership/embassy-mcxa/issues/48 | 522 | |
| 523 | impl_rx_pin!(LPUART5, P1_11, Mux8); | ||
| 524 | impl_rx_pin!(LPUART5, P1_16, Mux8); | ||
| 525 | |||
| 526 | impl_cts_pin!(LPUART5, P1_12, Mux8); | ||
| 527 | impl_cts_pin!(LPUART5, P1_19, Mux8); | ||
| 528 | |||
| 529 | impl_rts_pin!(LPUART5, P1_13, Mux8); | ||
| 530 | impl_rts_pin!(LPUART5, P1_18, Mux8); | ||
| 523 | 531 | ||
| 524 | // ============================================================================ | 532 | // ============================================================================ |
| 525 | // ERROR TYPES AND RESULTS | 533 | // ERROR TYPES AND RESULTS |
