mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-13 06:54:08 +00:00
Deploying to gh-pages from @ qmk/qmk_firmware@e0c00c35ce 🚀
This commit is contained in:
parent
57e46a2546
commit
5ea4397d2b
@ -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.
|
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
|
```c
|
||||||
#define SERIAL_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the Serial implementation uses the PIO0 peripheral
|
#define SERIAL_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the Serial implementation uses the PIO0 peripheral
|
||||||
```
|
```
|
||||||
|
@ -170,7 +170,7 @@ To configure it, add this to your rules.mk:
|
|||||||
WS2812_DRIVER = vendor
|
WS2812_DRIVER = vendor
|
||||||
```
|
```
|
||||||
|
|
||||||
Configure the hardware via your config.h:
|
You may optionally switch the PIO peripheral used with the following define in config.h:
|
||||||
```c
|
```c
|
||||||
#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral
|
#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user