/* Detects whether the Smartcard is present or not.  */
static uint8_t SC_Detect(void)
/* Detects whether the Smartcard is present or not.  */
static uint8_t SC_Detect(void)
{
  return HAL_GPIO_ReadPin(SC_OFF_GPIO_PORT, SC_OFF_PIN);
}