| Zakładka z wyszukiwarką danych komponentów |
|
STM32F0 Arkusz danych(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32F0 Arkusz danych(HTML) 57 Page - STMicroelectronics |
|
57 / 71 page ![]() 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); |
|
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 |
| 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 |