CRYP's DMA interface Configuration function.
More...
|
| void | CRYP_DMACmd (uint8_t CRYP_DMAReq, FunctionalState NewState) |
| | Enables or disables the CRYP DMA interface. More...
|
| |
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.
| 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
-