diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-26 18:53:02 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-26 18:53:02 +0000 |
commit | 5b4d534a2ce1add25b4b7e8ae3b5d97cead680cd (patch) | |
tree | 0676efe336483ba215ab0e7ccb8dd3f900b680ca /os/hal/platforms/STM32/uart_lld.h | |
parent | b1034e1211f481f3bf6056851627900f20c081f2 (diff) | |
download | ChibiOS-5b4d534a2ce1add25b4b7e8ae3b5d97cead680cd.tar.gz ChibiOS-5b4d534a2ce1add25b4b7e8ae3b5d97cead680cd.tar.bz2 ChibiOS-5b4d534a2ce1add25b4b7e8ae3b5d97cead680cd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2092 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/uart_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/uart_lld.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/os/hal/platforms/STM32/uart_lld.h b/os/hal/platforms/STM32/uart_lld.h index 50216608e..29cdda1ed 100644 --- a/os/hal/platforms/STM32/uart_lld.h +++ b/os/hal/platforms/STM32/uart_lld.h @@ -118,20 +118,18 @@ typedef struct { /** @brief UART driver status flags.*/
uartflags_t ud_flags;
/* End of the mandatory fields.*/
- /** @brief Default receive buffer while into @p UART_RX_IDLE state.*/
- uint16_t ud_rxbuf;
/** @brief Pointer to the USART registers block.*/
USART_TypeDef *ud_usart;
- /** @brief Pointer to the receive DMA channel registers block.*/
- DMA_Channel_TypeDef *ud_dmarx;
- /** @brief Receive DMA flags mask*/
- uint32_t ud_dmarmsk;
- /** @brief Pointer to the transmit DMA channel registers block.*/
- DMA_Channel_TypeDef *ud_dmatx;
- /** @brief Transmit DMA flags mask*/
- uint32_t ud_dmatmsk;
+ /** @brief Pointer to the DMA registers block.*/
+ stm32_dma_t *ud_dmap;
/** @brief DMA priority bit mask.*/
uint32_t ud_dmaccr;
+ /** @brief Receive DMA channel.*/
+ uint8_t ud_dmarx;
+ /** @brief Transmit DMA channel.*/
+ uint8_t ud_dmatx;
+ /** @brief Default receive buffer while into @p UART_RX_IDLE state.*/
+ uint16_t ud_rxbuf;
} UARTDriver;
/*===========================================================================*/
|