|
TM STM32Fxxx HAL Libraries
v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
|
DMA TX functionality for USART for STM32F4xx or STM32F7xx devices - http://stm32f4-discovery.com/2016/04/hal-library-32-dma-extension-for-usart-on-stm32fxxx. More...
Modules | |
| TM_USART_DMA_Macros | |
| Library defines. | |
| TM_USART_DMA_Typedefs | |
| Library Typedefs. | |
| TM_USART_DMA_Functions | |
| Library Functions. | |
DMA TX functionality for USART for STM32F4xx or STM32F7xx devices - http://stm32f4-discovery.com/2016/04/hal-library-32-dma-extension-for-usart-on-stm32fxxx.
This library allows you to send data over USART with DMA feature.
It is great feature because you can do other stuff while DMA sends data to USART.
It is designed only for TX data from MCU to other world. For RX, TM_USART library already uses RXNE (RX Not Empty) interrupts when data is available and there is no need for RX DMA too right now.
Library uses default settings for DMA TX Stream and Channel settings. But it may happen that your USART DMA is on the same stream and DMA as something other you need. You are able to use custom Stream and Channel using TM_USART_DMA_InitWithStreamAndChannel() function.
Default DMA streams and channels:
USARTx | DMA | DMA Stream | DMA Channel USART1 | DMA2 | DMA Stream 7 | DMA Channel 4 USART2 | DMA1 | DMA Stream 6 | DMA Channel 4 USART3 | DMA1 | DMA Stream 3 | DMA Channel 4 UART4 | DMA1 | DMA Stream 4 | DMA Channel 4 UART5 | DMA1 | DMA Stream 7 | DMA Channel 4 USART6 | DMA2 | DMA Stream 6 | DMA Channel 5 UART7 | DMA1 | DMA Stream 1 | DMA Channel 5 UART8 | DMA1 | DMA Stream 0 | DMA Channel 5
Version 1.0 - First release
- STM32Fxxx HAL - defines.h - TM USART - TM DMA - string.h