Page 357 - MDP2020-1
P. 357

················································································  명장양성프로젝트  【MDP】  과제발표회  자료집  Ⅰ    |  351




            /**
                *  @brief    The  application  entry  point.
                *  @retval  int

                */
            int  main(void)
            {
                /*  USER  CODE  BEGIN  1  */

                    _Bool  a,b;
                    char  flag  =  0;
                /*  USER  CODE  END  1  */


                /*                                                                                      MCU
            Configuration--------------------------------------------------------*/



                /*  Reset  of  all  peripherals,  Initializes  the  Flash  interface  and  the  Systick.  */
                HAL_Init();



                /*  USER  CODE  BEGIN  Init  */


                /*  USER  CODE  END  Init  */


                /*  Configure  the  system  clock  */
                SystemClock_Config();



                /*  USER  CODE  BEGIN  SysInit  */


                /*  USER  CODE  END  SysInit  */



                /*  Initialize  all  configured  peripherals  */
                MX_GPIO_Init();
                /*  USER  CODE  BEGIN  2  */


                /*  USER  CODE  END  2  */



                /*  Infinite  loop  */
                /*  USER  CODE  BEGIN  WHILE  */
                while  (1)
                {

                    /*  USER  CODE  END  WHILE  */
   352   353   354   355   356   357   358   359   360   361   362