| поискавой системы для электроныых деталей |
|
PM0214 датащи(PDF) 241 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0214 датащи(HTML) 241 Page - STMicroelectronics |
|
241 / 245 page ![]() DocID022708 Rev 4 241/245 PM0214 Core peripherals 244 4.6.5 Floating-point default status control register (FPDSCR) Address offset: 0x0C Reset value: 0x0000000 Required privilege: Privileged The FPDSCR register holds the default values for the floating-point status control data. 4.6.6 Enabling the FPU The FPU is disabled from reset. You must enable it before you can use any floating-point instructions. The example shows an example code sequence for enabling the FPU in both privileged and user modes. The processor must be in privileged mode to read from and write to the CPACR. Example ; CPACR is located at address 0xE000ED88 LDR.W R0, =0xE000ED88 ; Read CPACR LDR R1, [R0] ; Set bits 20-23 to enable CP10 and CP11 coprocessors ORR R1, R1, #(0xF << 20) ; Write back the modified value to the CPACR STR R1, [R0]; wait for store to complete DSB ;reset pipeline now the FPU is enabled ISB 4.6.7 Enabling and clearing FPU exception interrupts The FPU exception flags (IDC, UFC, OFC, DZC and additionally, in STM32F3xxx devices, the IXC flag) are ORed and connected to the interrupt controller. 31 3029 28 27 26 25 24 23 22 21 20 19 18 17 16 Reserved AHP DN FZ RMode Reserved rw rw rw rw rw 15 14 13 12 11 10 9 8 76 54 3 21 0 Reserved Bits 31:27 Reserved, must be kept cleared. Bit 26 AHP: Default value for FPSCR.AHP Bit 25 DN: Default value for FPSCR.DN Bit 24 FZ: Default value for FPSCR.FZ Bits 23:22 RMode: Default value for FPSCR.RMode Bits 21:0 Reserved, must be kept cleared. |
|
ссылки 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 |