STM8L15x Standard Peripherals Drivers: DMA transfers management functions

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

DMA transfers management functions

DMA transfers management functions. More...

Functions

void USART_DMACmd (USART_TypeDef *USARTx, USART_DMAReq_TypeDef USART_DMAReq, FunctionalState NewState)
 Enables or disables the USART DMA interface.

Detailed Description

DMA transfers management functions.

 ===============================================================================
                      DMA transfers management functions
 ===============================================================================  


Function Documentation

void USART_DMACmd ( USART_TypeDef USARTx,
USART_DMAReq_TypeDef  USART_DMAReq,
FunctionalState  NewState 
)

Enables or disables the USART DMA interface.

Parameters:
USARTx,:where x can be 1 to select the specified USART peripheral.
USART_DMAReqSpecifies the USART DMA transfer request to be enabled or disabled. This parameter can be one of the following values:
  • USART_DMAReq_TX: Receive DMA request Enable
  • USART_DMAReq_RX: Transmit DMA request Enable
NewStateIndicates the new state of the USART DMA request. This parameter can be: ENABLE or DISABLE.
Return values:
None

Definition at line 812 of file stm8l15x_usart.c.

References USART_struct::CR5, DISABLE, IS_FUNCTIONAL_STATE, and IS_USART_DMAREQ.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com