aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-11-26 19:07:37 +0100
committerGitHub <[email protected]>2025-11-26 19:07:37 +0100
commitca56810321b878fdfbf0b6686af0e8167468a883 (patch)
tree749c16b62325994b7617b7e58ea139235a900bae
parentd12bc9785399991065e511efbea34f0138c7645e (diff)
Add LPUART5 pin mappings (#53)
Closes #48.
-rw-r--r--src/lpuart/mod.rs14
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);
517impl_rts_pin!(LPUART4, P3_30, Mux3); 517impl_rts_pin!(LPUART4, P3_30, Mux3);
518 518
519// LPUART 5 519// LPUART 5
520// 520impl_tx_pin!(LPUART5, P1_10, Mux8);
521// TODO: The datasheet doesn't list tx/rx/cts/rts pins for LPUART5 521impl_tx_pin!(LPUART5, P1_17, Mux8);
522// See https://github.com/OpenDevicePartnership/embassy-mcxa/issues/48 522
523impl_rx_pin!(LPUART5, P1_11, Mux8);
524impl_rx_pin!(LPUART5, P1_16, Mux8);
525
526impl_cts_pin!(LPUART5, P1_12, Mux8);
527impl_cts_pin!(LPUART5, P1_19, Mux8);
528
529impl_rts_pin!(LPUART5, P1_13, Mux8);
530impl_rts_pin!(LPUART5, P1_18, Mux8);
523 531
524// ============================================================================ 532// ============================================================================
525// ERROR TYPES AND RESULTS 533// ERROR TYPES AND RESULTS