|
AN4228 Datasheet, PDF (66/90 Pages) STMicroelectronics – Migrating from STM32F1 to STM32F3 microcontrollers | |||
|
◁ |
Firmware migration using the library
AN4228
Table 27. STM32F10x and STM32F3xx I2C driver API correspondence (continued)
STM32F10x I2C Driver API
STM32F3xx I2C Driver API
NA
void I2C_AutoEndCmd(I2C_TypeDef* I2Cx,
FunctionalState NewState);
NA
void I2C_ReloadCmd(I2C_TypeDef* I2Cx,
FunctionalState NewState);
NA
void I2C_NumberOfBytesConfig(I2C_TypeDef* I2Cx,
uint8_t Number_Bytes);
NA
void I2C_MasterRequestConfig(I2C_TypeDef* I2Cx,
uint16_t I2C_Direction);
void I2C_GenerateSTART(I2C_TypeDef* I2Cx,
FunctionalState NewState);
void I2C_GenerateSTART(I2C_TypeDef* I2Cx,
FunctionalState NewState);
void I2C_GenerateSTOP(I2C_TypeDef* I2Cx,
FunctionalState NewState);
NA
void I2C_GenerateSTOP(I2C_TypeDef* I2Cx,
FunctionalState NewState);
void I2C_10BitAddressHeaderCmd(I2C_TypeDef*
I2Cx, FunctionalState NewState);
void I2C_AcknowledgeConfig(I2C_TypeDef* I2Cx, void I2C_AcknowledgeConfig(I2C_TypeDef* I2Cx,
FunctionalState NewState);
FunctionalState NewState);
NA
uint8_t I2C_GetAddressMatched(I2C_TypeDef* I2Cx);
NA
uint16_t I2C_GetTransferDirection(I2C_TypeDef*
I2Cx);
void I2C_TransferHandling(I2C_TypeDef* I2Cx,
NA
uint16_t Address, uint8_t Number_Bytes, uint32_t
ReloadEndMode, uint32_t StartStopMode);
ErrorStatus I2C_CheckEvent(I2C_TypeDef* I2Cx,
uint32_t I2C_EVENT)
NA
void I2C_Send7bitAddress(I2C_TypeDef* I2Cx,
uint8_t Address, uint8_t I2C_Direction)
NA
66/90
DocID024110 Rev 5
|
▷ |