/* Retrieve the TIMERSERVER status for a specified id.  */
uint8_t USBPD_TIM_IsExpired(TIM_identifier id)
/* Retrieve the TIMERSERVER status for a specified id.  */
uint8_t USBPD_TIM_IsExpired(TIM_identifier id)
{
  switch (id)
  {
    case TIM_PORT0_CRC:
      return LL_TIM_IsActiveFlag_CC1(TIMx);
    case TIM_PORT0_RETRY:
      return LL_TIM_IsActiveFlag_CC2(TIMx);
    case TIM_PORT1_CRC:
      return LL_TIM_IsActiveFlag_CC3(TIMx);
    case TIM_PORT1_RETRY:
      return LL_TIM_IsActiveFlag_CC4(TIMx);
    default:
      break;
  }
  return 1;
}