Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

STM32F0 Arkusz danych(PDF) 57 Page - STMicroelectronics

Numer części STM32F0
Szczegółowy opis  Migrating between STM32F1 and STM32F0 series microcontrollers
PDF  71 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM32F0 Arkusz danych(HTML) 57 Page - STMicroelectronics

Back Button STM32F0 Datasheet HTML 53Page - STMicroelectronics STM32F0 Datasheet HTML 54Page - STMicroelectronics STM32F0 Datasheet HTML 55Page - STMicroelectronics STM32F0 Datasheet HTML 56Page - STMicroelectronics STM32F0 Datasheet HTML 57Page - STMicroelectronics STM32F0 Datasheet HTML 58Page - STMicroelectronics STM32F0 Datasheet HTML 59Page - STMicroelectronics STM32F0 Datasheet HTML 60Page - STMicroelectronics STM32F0 Datasheet HTML 61Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 71 page
background image
DocID023072 Rev 3
57/71
AN4088
Firmware migration using the library
70
The main changes in the source code/procedure in STM32F0 series versus STM32F1 are
described below:
Dual Clock Source (Refer to RCC section for more details).
No Prescaler feature configuration.
It supports more than one address (multiple addressing).
Each event flag has an associate enable control bit to generate the adequate interrupt.
In the CEC structure definition, seven fields should be initialized.
The example below shows how to configure the CEC STM32F1 series:
/* Configure the CEC peripheral */
CEC_InitStructure.CEC_BitTimingMode = CEC_BitTimingStdMode;
CEC_InitStructure.CEC_BitPeriodMode = CEC_BitPeriodStdMode;
CEC_Init(&CEC_InitStructure);
In STM32F0 series, you have to update this code as follows:
/* Configure CEC */
CEC_InitStructure.CEC_SignalFreeTime = CEC_SignalFreeTime_Standard;
CEC_InitStructure.CEC_RxTolerance = CEC_RxTolerance_Standard;
CEC_InitStructure.CEC_StopReception = CEC_StopReception_Off;
CEC_InitStructure.CEC_BitRisingError = CEC_BitRisingError_Off;
CEC_InitStructure.CEC_LongBitPeriodError = CEC_LongBitPeriodError_Off;
CEC_InitStructure.CEC_BRDNoGen = CEC_BRDNoGen_Off;
CEC_InitStructure.CEC_SFTOption = CEC_SFTOption_Off;
CEC_Init(&CEC_InitStructure);



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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