STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
CRYP's DMA interface Configuration function

CRYP's DMA interface Configuration function. More...

Functions

void CRYP_DMACmd (uint8_t CRYP_DMAReq, FunctionalState NewState)
 Enables or disables the CRYP DMA interface. More...
 

Detailed Description

CRYP's DMA interface Configuration function.

 ===============================================================================
                   CRYP's DMA interface Configuration function
 ===============================================================================  

  This section provides functions allowing to configure the DMA interface for 
  CRYP data input and output transfer.
   
  When the DMA mode is enabled (using the CRYP_DMACmd() function), data can be 
  transferred:
  - From memory to the CRYP IN FIFO using the DMA peripheral by enabling 
    the CRYP_DMAReq_DataIN request.
  - From the CRYP OUT FIFO to the memory using the DMA peripheral by enabling 
    the CRYP_DMAReq_DataOUT request.

Function Documentation

void CRYP_DMACmd ( uint8_t  CRYP_DMAReq,
FunctionalState  NewState 
)

Enables or disables the CRYP DMA interface.

Parameters
CRYP_DMAReq,:specifies the CRYP DMA transfer request to be enabled or disabled. This parameter can be any combination of the following values:
  • CRYP_DMAReq_DataOUT: DMA for outgoing(Tx) data transfer
  • CRYP_DMAReq_DataIN: DMA for incoming(Rx) data transfer
NewState,:new state of the selected CRYP DMA transfer request. This parameter can be: ENABLE or DISABLE.
Return values
None