STM32F10x Standard Peripherals Library V3.1.2

[复制链接]
 楼主| STARM 发表于 2009-10-1 08:06 | 显示全部楼层 |阅读模式
http://www.st.com/stonline/produ ... x_stdperiph_lib.zip

General
Add support for Hitex Development Tools HiTOP.
Libraries
CMSIS
system_stm32f10x.c: SetSysClockTo56() function, change the flash latency to 2 instead of 1
STM32F10x_StdPeriph_Driver
stm32f10x_tim.c: in TIM_OCxInit() functions, add new instruction to set the CCxS bits (x= 1, 2, 3, 4) to 0, i.e. the channel CCx is configured as output. In the previous version these functions was assuming that the CCxS bits are reset; if a channel was previously configured in input, a call to this function doesn't allow using it in output mode. This is resolved with this modification.
stm32f10x_spi.h: I2S_InitTypeDef structure, change the type of I2S_AudioFreq field to uint32_t instead of uint16_t. This modification is needed to support I2S 96KHz frequency (available in Connectivity Line devices).
stm32f10x_flash.c: FLASH_EraseOptionBytes() function, add note to clarify this function behavior.
Project
STM32F10x_StdPeriph_Examples
I2C\EEPROM example
i2c_ee.c: I2C_EE_BufferRead() function, the following line was removed                                                  
                  /* Clear EV6 by setting again the PE bit */
       I2C_Cmd(I2C_EE, ENABLE);

RCC example
main.c: SetSysClockTo56() function, change the flash latency to 2 instead of 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

25

主题

710

帖子

4

粉丝
快速回复 在线客服 返回列表 返回顶部