/* Gets the external interrupt sensitivity of the selected port.  */
EXTI_Trigger_TypeDef EXTI_GetPortSensitivity(EXTI_Port_TypeDef EXTI_Port)
/* Gets the external interrupt sensitivity of the selected port.  */
EXTI_Trigger_TypeDef EXTI_GetPortSensitivity(EXTI_Port_TypeDef EXTI_Port)
{
  uint8_t portsensitivity = 0;
  assert_param(IS_EXTI_PORT(EXTI_Port));
  if ((EXTI_Port & 0xF0) == 0x00)
  {
    portsensitivity = (uint8_t)((uint8_t)0x03 & (uint8_t)(EXTI->CR3 >> EXTI_Port));
  }
  else
  {
    portsensitivity = (uint8_t)((uint8_t)0x03 & (uint8_t)(EXTI->CR4 >> (EXTI_Port & 0x0F)));
  }
  return((EXTI_Trigger_TypeDef)portsensitivity);
}