commit | 6992b4612b3a18aa63ca6966cbde497972ecb23a | [log] [tgz] |
---|---|---|
author | Christoph Klee <chklee@google.com> | Wed Feb 28 00:46:05 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 28 00:46:05 2024 +0000 |
tree | 8019366849a42113ecfc393c7bb85b3f8dee411d | |
parent | fef14dcb5e4615eef973404816e65a40a4bc8536 [diff] |
pw_stream_uart_mcuxpresso: Implement init / deinit This change implements the UartStreamDmaMcuxpresso::Init function to initialize the USART and DMA engine. The UsartDmaTxData and UsartDmaRxData encapsulate the state that is required to handle a TX or RX transaction. A subsequent change will start the TX receive DMA transaction from this function to read into the ring buffer. Bug: 325514698 Change-Id: I9b136e16c0cffa358a26cfc675a27e5308090743 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/192891 Reviewed-by: Austin Foxley <afoxley@google.com> Commit-Queue: Christoph Klee <chklee@google.com> Reviewed-by: Jonathon Reinhart <jrreinhart@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.