Function drone_cortexm::processor::fpu_init [−][src]
pub unsafe fn fpu_init(full_access: bool)
Enables the FPU.
The FPU is disabled from reset. You must enable it before you can use any floating-point instructions.
Safety
- The processor must be in privileged mode
- The function rewrites contents of FPU_CPACR register without taking into account register tokens