资源简介

STM32F103系列都可以用,工具为keil ,默认的是stm32f10C8的程序,若要改成103其他系列的只需要在keil上的‘options for target’---'C/C+'---'Define' 更改类似 STM32F10X_MD,USE_STDPERIPH_DRIVER 就行

资源截图

代码片段和文件信息

/****************************************Copyright (c)****************************************************
**                                 http://www.toptest.com.tw
**--------------File Info---------------------------------------------------------------------------------
** File name:           control.c
** Last modified Date:  2016-8-01
** Last Version:        V1.00
**
**--------------------------------------------------------------------------------------------------------
** Created by:          Kylin Li
** Created date:        2016-8-01
** Version:             V1.00
** Descriptions:        
**
**********************************************************************************************************/   
/* Includes ------------------------------------------------------------------*/
#include “baseboard.h“



void Read_IO_Level()
{
while(1)
{


printf(“The Level is %d“baseboard_IO_GetState(IO203000));

}
}

/************************ (C) COPYRIGHT Shenzhen Leader Electronics Co. Ltd.  *****END OF FILE****/




 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1088  2016-08-05 10:05  STM32F103C8 Code\APP\control.c

     文件        180  2016-08-03 14:33  STM32F103C8 Code\APP\control.h

     文件       4564  2016-08-05 10:04  STM32F103C8 Code\Driver\baseboard\baseboard.c

     文件       1020  2016-08-03 14:46  STM32F103C8 Code\Driver\baseboard\baseboard.h

     文件       2352  2016-08-05 10:04  STM32F103C8 Code\Driver\baseboard\baseboard_Flash.c

     文件      13256  2016-07-21 10:27  STM32F103C8 Code\Driver\baseboard\baseboard_Flash.h

     文件       3441  2016-08-05 10:04  STM32F103C8 Code\Driver\baseboard\baseboard_I2C.c

     文件        784  2015-11-21 16:40  STM32F103C8 Code\Driver\baseboard\baseboard_I2C.h

     文件       6461  2016-08-05 10:04  STM32F103C8 Code\Driver\baseboard\baseboard_IO.c

     文件       8859  2016-08-03 14:12  STM32F103C8 Code\Driver\baseboard\baseboard_IO.h

     文件       2315  2016-08-05 10:04  STM32F103C8 Code\Driver\baseboard\baseboard_Systick.c

     文件        388  2016-08-03 14:59  STM32F103C8 Code\Driver\baseboard\baseboard_Systick.h

     文件       6276  2016-08-05 10:04  STM32F103C8 Code\Driver\baseboard\baseboard_uart.c

     文件        492  2016-07-20 19:15  STM32F103C8 Code\Driver\baseboard\baseboard_uart.h

     文件       1580  2016-08-05 10:04  STM32F103C8 Code\Driver\baseboard\baseboard_wdg.c

     文件        623  2016-07-26 16:19  STM32F103C8 Code\Driver\baseboard\baseboard_wdg.h

     文件      17273  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\CM3\CoreSupport\core_cm3.c

     文件      85714  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\CM3\CoreSupport\core_cm3.h

     文件      26297  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\CM3\DeviceSupport\ST\STM32F10x\Release_Notes.html

     文件     633940  2012-11-08 15:11  STM32F103C8 Code\Driver\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h

     文件      36557  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c

     文件       2085  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.h

     文件       9310  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\CMSIS debug support.htm

     文件      12531  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\CMSIS_changes.htm

     文件      57004  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\Documentation\CMSIS_Core.htm

     文件      39936  2011-12-12 12:03  STM32F103C8 Code\Driver\CMSIS\License.doc

     文件       8982  2011-12-12 12:03  STM32F103C8 Code\Driver\Libraries\inc\misc.h

     文件      21690  2011-12-12 12:03  STM32F103C8 Code\Driver\Libraries\inc\stm32f10x_adc.h

     文件       7555  2011-12-12 12:03  STM32F103C8 Code\Driver\Libraries\inc\stm32f10x_bkp.h

     文件      27559  2011-12-12 12:03  STM32F103C8 Code\Driver\Libraries\inc\stm32f10x_can.h

............此处省略310个文件信息

评论

共有 条评论