Serial smartcard reader sends data which should be processed. In the USART1 IRQ a status variable is set to show that data has arrived, which should be checked for in the main function.