diff options
author | Ryan <[email protected]> | 2024-03-03 04:16:47 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-02 17:16:47 +0000 |
commit | 569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3 (patch) | |
tree | b2b280071523c452ca0771df3977e79de1165891 /docs/ws2812_driver.md | |
parent | 3bf1ce5cf80facc4136a8a2100e050d52cd3d029 (diff) | |
download | qmk_firmware-569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3.tar.gz qmk_firmware-569b0c70beceb1bbd2b2c5e9cc4f0ff9209995f3.zip |
WS2812 PWM: prefix for DMA defines (#23111)
* WS2812 PWM: prefix for DMA defines
* Add backward compatibility defines
Diffstat (limited to 'docs/ws2812_driver.md')
-rw-r--r-- | docs/ws2812_driver.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ws2812_driver.md b/docs/ws2812_driver.md index 244d39dbe0..006529cc8a 100644 --- a/docs/ws2812_driver.md +++ b/docs/ws2812_driver.md @@ -208,9 +208,9 @@ The following `#define`s apply only to the `pwm` driver: |`WS2812_PWM_DRIVER` |`PWMD2` |The PWM driver to use | |`WS2812_PWM_CHANNEL` |`2` |The PWM channel to use | |`WS2812_PWM_PAL_MODE` |`2` |The pin alternative function to use | -|`WS2812_DMA_STREAM` |`STM32_DMA1_STREAM2`|The DMA Stream for `TIMx_UP` | -|`WS2812_DMA_CHANNEL` |`2` |The DMA Channel for `TIMx_UP` | -|`WS2812_DMAMUX_ID` |*Not defined* |The DMAMUX configuration for `TIMx_UP` - only required if your MCU has a DMAMUX peripheral| +|`WS2812_PWM_DMA_STREAM` |`STM32_DMA1_STREAM2`|The DMA Stream for `TIMx_UP` | +|`WS2812_PWM_DMA_CHANNEL` |`2` |The DMA Channel for `TIMx_UP` | +|`WS2812_PWM_DMAMUX_ID` |*Not defined* |The DMAMUX configuration for `TIMx_UP` - only required if your MCU has a DMAMUX peripheral| |`WS2812_PWM_COMPLEMENTARY_OUTPUT`|*Not defined* |Whether the PWM output is complementary (`TIMx_CHyN`) | ?> Using a complementary timer output (`TIMx_CHyN`) is possible only for advanced-control timers (1, 8 and 20 on STM32), and the `STM32_PWM_USE_ADVANCED` option in `mcuconf.h` must be set to `TRUE`. Complementary outputs of general-purpose timers are not supported due to ChibiOS limitations. |