commit c5716f84ada7f142c99cb89f685b06a0c9d8601b
parent 372f1bf8cc3a8ace0cae5eb6d03d7df223815034
Author: Dasky <32983009+daskygit@users.noreply.github.com>
Date: Thu, 26 Oct 2023 22:44:14 +0100
Merge branch 'master' into develop
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/serial_driver.md b/docs/serial_driver.md
@@ -235,7 +235,7 @@ Where 'n' matches the peripheral number of your selected USART on the MCU.
The `PIO` subsystem is a Raspberry Pi RP2040 specific implementation, using the integrated PIO peripheral and is therefore only available on this MCU. Because of the flexible nature of the PIO peripherals, **any** GPIO pin can be used as a `TX` or `RX` pin. Half-duplex and Full-duplex operation is fully supported. The Half-duplex operation mode uses the built-in pull-ups and GPIO manipulation on the RP2040 to drive the line high by default. An external pull-up is therefore not necessary.
-Configure the hardware via your config.h:
+You may optionally switch the PIO peripheral used with the following define in config.h:
```c
#define SERIAL_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the Serial implementation uses the PIO0 peripheral
```