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 I2C_DMACmd (I2C_TypeDef *I2Cx, FunctionalState NewState)
 Enables or disables the I2C DMA requests .
void I2C_DMALastTransferCmd (I2C_TypeDef *I2Cx, FunctionalState NewState)
 Specifies that the next DMA transfer is the last one .

Detailed Description

DMA transfers management functions.

 ===============================================================================
                         DMA transfers management functions
 ===============================================================================
  This section provides functions allowing to configure the I2C DMA channels
  requests.


Function Documentation

void I2C_DMACmd ( I2C_TypeDef I2Cx,
FunctionalState  NewState 
)

Enables or disables the I2C DMA requests .

Parameters:
I2Cx,:where x can be 1 to select the specified I2C peripheral.
NewState,:Indicate the new I2C DMA state. This parameter can be: ENABLE or DISABLE.
Return values:
None

Definition at line 797 of file stm8l15x_i2c.c.

References DISABLE, I2C_ITR_DMAEN, IS_FUNCTIONAL_STATE, and I2C_struct::ITR.

void I2C_DMALastTransferCmd ( I2C_TypeDef I2Cx,
FunctionalState  NewState 
)

Specifies that the next DMA transfer is the last one .

Parameters:
I2Cx,:where x can be 1 to select the specified I2C peripheral.
NewState,:Indicate the new I2C DMA state. This parameter can be: ENABLE or DISABLE.
Return values:
None

Definition at line 821 of file stm8l15x_i2c.c.

References DISABLE, I2C_ITR_LAST, IS_FUNCTIONAL_STATE, and I2C_struct::ITR.

STM8S Firmware Library: Overview

 

 

 

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