| Electronic Components Datasheet Search |
|
AN3422 Datasheet(PDF) 40 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3422 Datasheet(HTML) 40 Page - STMicroelectronics |
|
40 / 52 page ![]() Firmware migration using the library AN3422 40/52 Doc ID 018976 Rev 2 /* Enable the HSI oscillator */ RCC_HSICmd(ENABLE); /* Check that HSI oscillator is ready */ while(RCC_GetFlagStatus(RCC_FLAG_HSIRDY) == RESET) { } /* Enable ADC1 clock */ RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1, ENABLE); 5.3 FLASH The table below presents the FLASH driver API correspondence between STM32F10x and STM32L1xx Libraries. You can easily update your application code by replacing STM32F10x functions by the corresponding function in STM32L1xx Library. Table 15. STM32F10x and STM32L1xx FLASH driver API correspondence STM32F10x Flash driver API STM32L1xx Flash driver API void FLASH_SetLatency(uint32_t FLASH_Latency); void FLASH_SetLatency(uint32_t FLASH_Latency); void FLASH_PrefetchBufferCmd(uint32_t FLASH_PrefetchBuffer); void FLASH_PrefetchBufferCmd(FunctionalState NewState); void FLASH_HalfCycleAccessCmd(uint32_t FLASH_HalfCycleAccess); NA NA void FLASH_ReadAccess64Cmd(FunctionalState NewState); NA void FLASH_RUNPowerDownCmd(FunctionalState NewState); NA void FLASH_SLEEPPowerDownCmd(FunctionalState NewState); void FLASH_ITConfig(uint32_t FLASH_IT, FunctionalState NewState); void FLASH_ITConfig(uint32_t FLASH_IT, FunctionalState NewState); |
|
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 |
| 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 |