Page 189 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 189
/**
* @brief Reports the name of the source file and the source line number
* where the assert_param error has occurred.
* @param file: pointer to the source file name
* @param line: assert_param error line source number
* @retval : None
*/
void assert_failed(uint8_t* file, uint32_t line)
{
/* User can add his own implementation to report the file name and line number,
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
/* Infinite loop */
while (1)
{
}
}
#endif
/******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/
void USART3_IRQHandler(void) //USART3 Interrupt Handler
{
vu8 c;
//for get Ascii no fracture
if(USART_GetITStatus(USART3, USART_IT_RXNE) != RESET)
//Check RXNE flag for Polling
{
GLCD_displayStringLn(Line3,"U3"); //Display U3 on GLCD
USART_ClearITPendingBit(USART3,USART_IT_RXNE); //Flag Clear
c = USART3->DR;
//get Data from USARt3's DataRegister
CardDataBox[RFC]= c; //Save Data on Array
RFC++; //count plus
- 182 -