stvd+stm8l051F3(一): 外部中断stvd: ST Visual Develop Version 4.3.9ic: stm8l051F31、原理图按键接在stm8l051F3的PB1脚,LED接在stm8l051F3的PD0脚2、建立stvd key项目打开stvd新建stm8l051_key项目,并将stm8l15x.h,stm8l15x_it.h,stm8l15x_it.c,stm8l15x_conf.h,stm8l15x_exti.c,s...【阅读全文】
一、RCC初始化/**************************************************************************** * Function Name : RCC_Configuration* Description : Sets System clock frequency to 72MHz and configure HCLK, PCLK2 * and PCLK1 prescalers.* Input : None...【阅读全文】