EasyManuals Logo

ST STM32F4 Series User Manual

ST STM32F4 Series
262 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #259 background imageLoading...
Page #259 background image
PM0214 Rev 9 259/262
PM0214 Core peripherals
261
sp = sp + 0x60;
}
else if(lr == 0xFFFFFFED)
{
sp = __get_PSP() + 0x60 ;
}
fpscr_val = *(uint32_t*)sp;
{ check exception flags }
fpscr_val &= (uint32_t)~0x8F ; // Clear all exception flags
*(uint32_t*)sp = fpscr_val;
__DMB() ;
}
// FPU IRQ Handler
void __asm FPU_IRQHandler(void)
{
IMPORT FPU_ExceptionHandler
MOV R0, LR // move LR to R0
MOV R1, SP // Save SP to R1 to avoid any modification to
// the stack pointer from FPU_ExceptionHandler
VMRS R2, FPSCR // dummy read access, to force clear
B FPU_ExceptionHandler
BX LR
}

Table of Contents

Other manuals for ST STM32F4 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F4 Series and is the answer not in the manual?

ST STM32F4 Series Specifications

General IconGeneral
BrandST
ModelSTM32F4 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals