文件名称:I2C_Configuration(void)
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2017-01-02
- 文件大小:
- 2.1mb
- 下载次数:
- 0次
- 提 供 者:
- owl****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
STM32F103C8T6,GPIO端口模拟I2C通讯,简单易行-void I2C_SDA_OUT(void)
{
GPIO_InitTypeDef GPIO_InitStructure
GPIO_InitStructure.GPIO_Pin I2C_SDA
GPIO_InitStructure.GPIO_Speed GPIO_Speed_50MHz
GPIO_InitStructure.GPIO_Mode GPIO_Mode_Out_PP
GPIO_Init(GPIOB,&GPIO_InitStructure)
}
{
GPIO_InitTypeDef GPIO_InitStructure
GPIO_InitStructure.GPIO_Pin I2C_SDA
GPIO_InitStructure.GPIO_Speed GPIO_Speed_50MHz
GPIO_InitStructure.GPIO_Mode GPIO_Mode_Out_PP
GPIO_Init(GPIOB,&GPIO_InitStructure)
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
I2C_Configuration(void)\DebugConfig\Target_1_STM32F103C8.dbgconf
.......................\EventRecorderStub.scvd
.......................\Lib\inc\misc.h
.......................\...\...\stm32f10x_adc.h
.......................\...\...\stm32f10x_bkp.h
.......................\...\...\stm32f10x_can.h
.......................\...\...\stm32f10x_cec.h
.......................\...\...\stm32f10x_crc.h
.......................\...\...\stm32f10x_dac.h
.......................\...\...\stm32f10x_dbgmcu.h
.......................\...\...\stm32f10x_dma.h
.......................\...\...\stm32f10x_exti.h
.......................\...\...\stm32f10x_flash.h
.......................\...\...\stm32f10x_fsmc.h
.......................\...\...\stm32f10x_gpio.h
.......................\...\...\stm32f10x_i2c.h
.......................\...\...\stm32f10x_iwdg.h
.......................\...\...\stm32f10x_pwr.h
.......................\...\...\stm32f10x_rcc.h
.......................\...\...\stm32f10x_rtc.h
.......................\...\...\stm32f10x_sdio.h
.......................\...\...\stm32f10x_spi.h
.......................\...\...\stm32f10x_tim.h
.......................\...\...\stm32f10x_usart.h
.......................\...\...\stm32f10x_wwdg.h
.......................\...\src\misc.c
.......................\...\...\stm32f10x_adc.c
.......................\...\...\stm32f10x_bkp.c
.......................\...\...\stm32f10x_can.c
.......................\...\...\stm32f10x_cec.c
.......................\...\...\stm32f10x_crc.c
.......................\...\...\stm32f10x_dac.c
.......................\...\...\stm32f10x_dbgmcu.c
.......................\...\...\stm32f10x_dma.c
.......................\...\...\stm32f10x_exti.c
.......................\...\...\stm32f10x_flash.c
.......................\...\...\stm32f10x_fsmc.c
.......................\...\...\stm32f10x_gpio.c
.......................\...\...\stm32f10x_i2c.c
.......................\...\...\stm32f10x_iwdg.c
.......................\...\...\stm32f10x_pwr.c
.......................\...\...\stm32f10x_rcc.c
.......................\...\...\stm32f10x_rtc.c
.......................\...\...\stm32f10x_sdio.c
.......................\...\...\stm32f10x_spi.c
.......................\...\...\stm32f10x_tim.c
.......................\...\...\stm32f10x_usart.c
.......................\...\...\stm32f10x_wwdg.c
.......................\..stings\Project1.map
.......................\........\startup_stm32f10x_md.lst
.......................\Objects\core_cm3.crf
.......................\.......\core_cm3.d
.......................\.......\core_cm3.o
.......................\.......\ExtDll.iex
.......................\.......\i2c.crf
.......................\.......\i2c.d
.......................\.......\i2c.o
.......................\.......\main.crf
.......................\.......\main.d
.......................\.......\main.o
.......................\.......\misc.crf
.......................\.......\misc.d
.......................\.......\misc.o
.......................\.......\owl.crf
.......................\.......\owl.d
.......................\.......\owl.o
.......................\.......\Project1.axf
.......................\.......\Project1.build_log.htm
.......................\.......\Project1.hex
.......................\.......\Project1.htm
.......................\.......\Project1.lnp
.......................\.......\Project1.sct
.......................\.......\Project1_Target 1.dep
.......................\.......\spi.crf
.......................\.......\spi.d
.......................\.......\spi.o
.......................\.......\startup_stm32f10x_md.d
.......................\.......\startup_stm32f10x_md.o
.......................\.......\stm32f10x_exti.crf
.......................\.......\stm32f10x_exti.d
.......................\.......\stm32f10x_exti.o
.......................\.......\stm32f10x_gpio.crf
.......................\.......\stm32f10x_gpio.d
.......................\.......\stm32f10x_gpio.o
.......................\.......\stm32f10x_it.crf
.......................\.......\stm32f10x_it.d
.......................\.......\stm32f10x_it.o
...............