| поискавой системы для электроныых деталей |
|
AN4228 датащи(PDF) 62 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4228 датащи(HTML) 62 Page - STMicroelectronics |
|
62 / 90 page ![]() Firmware migration using the library AN4228 62/90 DocID024110 Rev 5 BKP_WriteBackupRegister(BKP_DR1, 0x3210); /* Read data from Backup data register 1 */ BKPdata = BKP_ReadBackupRegister(BKP_DR1); In STM32F3 series, you have to update this code as follows: uint16_t BKPdata = 0; ... /* PWR Clock Enable */ _APB1PeriphClockCmd(_APB1Periph_PWR, ENABLE); /* Enable write access to RTC domain */ PWR_RTCAccessCmd(ENABLE); /* Write data to Backup data register 1 */ RTC_WriteBackupRegister(RTC_BKP_DR1, 0x3220); /* Read data from Backup data register 1 */ BKPdata = RTC_ReadBackupRegister(RTC_BKP_DR1); The main changes in the source code in STM32F3 series versus STM32F1 series are described below: There is no BKP peripheral Write to/read from Backup data registers are performed through the RTC driver Backup data registers naming changed from BKP_DRx to RTC_BKP_DRx, and numbering starts from 0 instead of 1. 4.12 CEC application code You can easily update your CEC application code by replacing STM32F10x functions by the corresponding function of the STM32F3xx library. The table below presents the CEC driver API correspondence between STM32F10x and STM32F37x Libraries. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |