|
TM STM32F4xx Libraries
v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
|
DMA TX functionality for TM USART library - http://stm32f4-discovery.com/2015/04/library-55-extend-usart-with-tx-dma. More...
Modules | |
| TM_USART_DMA_Macros | |
| Library defines. | |
| TM_USART_DMA_Typedefs | |
| Library Typedefs. | |
| TM_USART_DMA_Functions | |
| Library Functions. | |
DMA TX functionality for TM USART library - http://stm32f4-discovery.com/2015/04/library-55-extend-usart-with-tx-dma.
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.2.1 - Added separate function for enabling/disabling USART DMA interrupts Version 1.2 - June 13, 2015 - Added support for DMA interrupts for USART Version 1.1 - June 06, 2015 - Added TM DMA library support for future purpose Version 1.0 - First release
- STM32F4xx - STM32F4xx DMA - defines.h - TM USART - TM DMA - string.h