/* Enables or disables AES encrypt/decrypt function of DMA channel3.  */
void DMA_AESCmd(uint32_t NewState)
/* Enables or disables AES encrypt/decrypt function of DMA channel3.  */
void DMA_AESCmd(uint32_t NewState)
{
  assert_parameters(IS_FUNCTIONAL_STATE(NewState));  
  if (NewState == ENABLE)
    DMA->C3CTL |= DMA_CCTL_AESEN;
  else
    DMA->C3CTL &= ~DMA_CCTL_AESEN;
}