ST STM32F4 Series Programming Manual page 258

Cortex-m4
Hide thumbs Also See for STM32F4 Series:
Table of Contents

Advertisement

Core peripherals
fpscr_val = *(uint32_t*)sp;
{ check exception flags }
fpscr_val &= (uint32_t)~0x8F ;
*(uint32_t*)sp = fpscr_val;
__DMB() ;
}
// FPU IRQ Handler
void __asm FPU_IRQHandler(void)
{
IMPORT
MOV
MOV
VMRS R2, FPSCR
B
BX
}
258/260
sp = sp + 0x60;
}
else if(lr == 0xFFFFFFED)
{
sp = __get_PSP() + 0x60 ;
}
FPU_ExceptionHandler
R0, LR
R1, SP
FPU_ExceptionHandler
LR
DocID022708 Rev 6
// Clear all exception flags
// move LR to R0
// Save SP to R1 to avoid any modification to
// the stack pointer from FPU_ExceptionHandler
// dummy read access, to force clear
PM0214

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32l4+ seriesStm32f3 series

Table of Contents

Save PDF