/* Returns whether CRYP peripheral is enabled or disabled.  */
FunctionalState CRYP_GetCmdStatus(void)
/* Returns whether CRYP peripheral is enabled or disabled.  */
FunctionalState CRYP_GetCmdStatus(void)
{
  FunctionalState state = DISABLE;
  if ((CRYP->CR & CRYP_CR_CRYPEN) != 0)
  {
    state = ENABLE;
  }
  else
  {
    state = DISABLE;
  }
  return state;
}