aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/uart
diff options
context:
space:
mode:
authorCaleb Jamison <[email protected]>2024-08-12 04:32:31 -0400
committerCaleb Jamison <[email protected]>2024-08-12 04:32:31 -0400
commit778241fd71b8a0cb541d23b69c3f9e47ec2753ff (patch)
tree101e75f936463a8d3dc6a6f123d4484210717be4 /embassy-rp/src/uart
parent9dc4375f185d5098d9b61116bb5c5279e7298222 (diff)
Fix CI, rename private feature, address comments from dirbaio.
Diffstat (limited to 'embassy-rp/src/uart')
-rw-r--r--embassy-rp/src/uart/mod.rs36
1 files changed, 18 insertions, 18 deletions
diff --git a/embassy-rp/src/uart/mod.rs b/embassy-rp/src/uart/mod.rs
index 9fc2ad89f..aba4b792a 100644
--- a/embassy-rp/src/uart/mod.rs
+++ b/embassy-rp/src/uart/mod.rs
@@ -852,7 +852,7 @@ impl<'d, T: Instance + 'd, M: Mode> Uart<'d, T, M> {
852 }); 852 });
853 }); 853 });
854 pin.pad_ctrl().write(|w| { 854 pin.pad_ctrl().write(|w| {
855 #[cfg(feature = "rp235x")] 855 #[cfg(feature = "_rp235x")]
856 w.set_iso(false); 856 w.set_iso(false);
857 w.set_ie(true); 857 w.set_ie(true);
858 }); 858 });
@@ -875,7 +875,7 @@ impl<'d, T: Instance + 'd, M: Mode> Uart<'d, T, M> {
875 }); 875 });
876 }); 876 });
877 pin.pad_ctrl().write(|w| { 877 pin.pad_ctrl().write(|w| {
878 #[cfg(feature = "rp235x")] 878 #[cfg(feature = "_rp235x")]
879 w.set_iso(false); 879 w.set_iso(false);
880 w.set_ie(true); 880 w.set_ie(true);
881 }); 881 });
@@ -890,7 +890,7 @@ impl<'d, T: Instance + 'd, M: Mode> Uart<'d, T, M> {
890 }); 890 });
891 }); 891 });
892 pin.pad_ctrl().write(|w| { 892 pin.pad_ctrl().write(|w| {
893 #[cfg(feature = "rp235x")] 893 #[cfg(feature = "_rp235x")]
894 w.set_iso(false); 894 w.set_iso(false);
895 w.set_ie(true); 895 w.set_ie(true);
896 }); 896 });
@@ -905,7 +905,7 @@ impl<'d, T: Instance + 'd, M: Mode> Uart<'d, T, M> {
905 }); 905 });
906 }); 906 });
907 pin.pad_ctrl().write(|w| { 907 pin.pad_ctrl().write(|w| {
908 #[cfg(feature = "rp235x")] 908 #[cfg(feature = "_rp235x")]
909 w.set_iso(false); 909 w.set_iso(false);
910 w.set_ie(true); 910 w.set_ie(true);
911 }); 911 });
@@ -1371,33 +1371,33 @@ impl_pin!(PIN_28, UART0, TxPin);
1371impl_pin!(PIN_29, UART0, RxPin); 1371impl_pin!(PIN_29, UART0, RxPin);
1372 1372
1373// Additional functions added by all 2350s 1373// Additional functions added by all 2350s
1374#[cfg(feature = "rp235x")] 1374#[cfg(feature = "_rp235x")]
1375impl_pin!(PIN_2, UART0, TxPin); 1375impl_pin!(PIN_2, UART0, TxPin);
1376#[cfg(feature = "rp235x")] 1376#[cfg(feature = "_rp235x")]
1377impl_pin!(PIN_3, UART0, RxPin); 1377impl_pin!(PIN_3, UART0, RxPin);
1378#[cfg(feature = "rp235x")] 1378#[cfg(feature = "_rp235x")]
1379impl_pin!(PIN_6, UART1, TxPin); 1379impl_pin!(PIN_6, UART1, TxPin);
1380#[cfg(feature = "rp235x")] 1380#[cfg(feature = "_rp235x")]
1381impl_pin!(PIN_7, UART1, RxPin); 1381impl_pin!(PIN_7, UART1, RxPin);
1382#[cfg(feature = "rp235x")] 1382#[cfg(feature = "_rp235x")]
1383impl_pin!(PIN_10, UART1, TxPin); 1383impl_pin!(PIN_10, UART1, TxPin);
1384#[cfg(feature = "rp235x")] 1384#[cfg(feature = "_rp235x")]
1385impl_pin!(PIN_11, UART1, RxPin); 1385impl_pin!(PIN_11, UART1, RxPin);
1386#[cfg(feature = "rp235x")] 1386#[cfg(feature = "_rp235x")]
1387impl_pin!(PIN_14, UART0, TxPin); 1387impl_pin!(PIN_14, UART0, TxPin);
1388#[cfg(feature = "rp235x")] 1388#[cfg(feature = "_rp235x")]
1389impl_pin!(PIN_15, UART0, RxPin); 1389impl_pin!(PIN_15, UART0, RxPin);
1390#[cfg(feature = "rp235x")] 1390#[cfg(feature = "_rp235x")]
1391impl_pin!(PIN_18, UART0, TxPin); 1391impl_pin!(PIN_18, UART0, TxPin);
1392#[cfg(feature = "rp235x")] 1392#[cfg(feature = "_rp235x")]
1393impl_pin!(PIN_19, UART0, RxPin); 1393impl_pin!(PIN_19, UART0, RxPin);
1394#[cfg(feature = "rp235x")] 1394#[cfg(feature = "_rp235x")]
1395impl_pin!(PIN_22, UART1, TxPin); 1395impl_pin!(PIN_22, UART1, TxPin);
1396#[cfg(feature = "rp235x")] 1396#[cfg(feature = "_rp235x")]
1397impl_pin!(PIN_23, UART1, RxPin); 1397impl_pin!(PIN_23, UART1, RxPin);
1398#[cfg(feature = "rp235x")] 1398#[cfg(feature = "_rp235x")]
1399impl_pin!(PIN_26, UART1, TxPin); 1399impl_pin!(PIN_26, UART1, TxPin);
1400#[cfg(feature = "rp235x")] 1400#[cfg(feature = "_rp235x")]
1401impl_pin!(PIN_27, UART1, RxPin); 1401impl_pin!(PIN_27, UART1, RxPin);
1402 1402
1403// Additional pins added by larger 2350 packages. 1403// Additional pins added by larger 2350 packages.