Page 600 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 600

}


             void  EXTI4_0_IRQHandler  ()

             {
             int  j  =0;
             if  (EXTI_GetITStatus  (EXTI_Line0)  !=  RESET)  //구매
                    {
                    EXTI_ClearITPendingBit  (EXTI_Line0);   //flag  down

             //     INTERRUPT_convert  ();
                            for  (j=0;  j<10;  j++)
                            {

                            interrupt_name  [interrupt_last_cursor][j]  ='\0';
             //구매품목  삭제.
                            interrupt_gap  [interrupt_last_cursor][j]  ='\0';
             //구매품목  삭제.
                            }

                    }
             if  (EXTI_GetITStatus  (EXTI_Line1)  !=  RESET)  //취소
                    {
                    EXTI_ClearITPendingBit  (EXTI_Line1);   //flag  down

                      //  INTERRUPT_convert  ();
                            for  (j=0;  j<10;  j++)
                            {
                            interrupt_name  [interrupt_last_cursor][j]  ='\0';
             //구매품목  삭제.

                            interrupt_gap  [interrupt_last_cursor][j]  ='\0';
             //구매품목  삭제.
                            }

             //             INTERRUPT_convert  ();
                    }
             if  (EXTI_GetITStatus  (EXTI_Line2)  !=  RESET)  //스크롤  작동
                    {
                    EXTI_ClearITPendingBit  (EXTI_Line2);   //flag  down

                    switch  (interrupt_last_cursor)
                    {
                    case  0:  {LCD_fix  (0,15,'@');  interrupt_last_cursor++;  break;}  //cursor : @



                                                         -  593  -
   595   596   597   598   599   600   601   602   603   604   605