Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4228 Datasheet(PDF) 68 Page - STMicroelectronics

Part # AN4228
Description  Migrating from STM32F1 to STM32F3 microcontrollers
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4228 Datasheet(HTML) 68 Page - STMicroelectronics

Back Button AN4228 Datasheet HTML 64Page - STMicroelectronics AN4228 Datasheet HTML 65Page - STMicroelectronics AN4228 Datasheet HTML 66Page - STMicroelectronics AN4228 Datasheet HTML 67Page - STMicroelectronics AN4228 Datasheet HTML 68Page - STMicroelectronics AN4228 Datasheet HTML 69Page - STMicroelectronics AN4228 Datasheet HTML 70Page - STMicroelectronics AN4228 Datasheet HTML 71Page - STMicroelectronics AN4228 Datasheet HTML 72Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 90 page
background image
Firmware migration using the library
AN4228
68/90
DocID024110 Rev 5
Though some API functions are identical in STM32F1 and STM32F3 devices, in most cases
the application code needs to be rewritten when migrating from STM32F1 to STM32F3.
However, STMicroelectronics provides an “I2C Communication peripheral application library
(CPAL)”, which allows to move seamlessly from STM32F1 to STM32F3: the user needs to
modify only few settings without any changes on the application code. For more details
about STM32F1 I2C CPAL, please refer to UM1029. For STM32F3, the I2C CPAL is
provided within the Standard Peripherals Library package.
FlagStatus I2C_GetFlagStatus(I2C_TypeDef*
I2Cx, uint32_t I2C_FLAG);
FlagStatus I2C_GetFlagStatus(I2C_TypeDef* I2Cx,
uint32_t I2C_FLAG);
void I2C_ClearFlag(I2C_TypeDef* I2Cx, uint32_t
I2C_FLAG);
void I2C_ClearFlag(I2C_TypeDef* I2Cx, uint32_t
I2C_FLAG);
ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx,
uint32_t I2C_IT);
ITStatus I2C_GetITStatus(I2C_TypeDef* I2Cx, uint32_t
I2C_IT);
void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx,
uint32_t I2C_IT);
void I2C_ClearITPendingBit(I2C_TypeDef* I2Cx,
uint32_t I2C_IT);
Table 27. STM32F10x and STM32F3xx I2C driver API correspondence (continued)
STM32F10x I2C Driver API
STM32F3xx I2C Driver API
Color key:
= New function
= Same function, but API was changed
= Function not available (NA)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com