Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mcu_arch.h File Reference

stm32 arch dependant microcontroller initialisation functions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MyByteSwap16(in, out)
 
#define mcu_int_enable()   {}
 
#define mcu_int_disable()   {}
 

Functions

void mcu_arch_init (void)
 

Detailed Description

stm32 arch dependant microcontroller initialisation functions.

Definition in file mcu_arch.h.

Macro Definition Documentation

#define mcu_int_disable ( )    {}

Definition at line 48 of file mcu_arch.h.

#define mcu_int_enable ( )    {}

Definition at line 47 of file mcu_arch.h.

#define MyByteSwap16 (   in,
  out 
)
Value:
{ \
asm volatile ( \
"rev16 %0, %1\n\t" \
: "=r" (out) \
: "r"(in) \
); \
}

Definition at line 39 of file mcu_arch.h.

Referenced by main_event_task().

Function Documentation

void mcu_arch_init ( void  )

Definition at line 40 of file mcu_arch.c.

References MAMCR, MAMCR_FULL, MAMTIM, MAMTIM_CYCLES, MEMMAP, MEMMAP_FLASH, PLLCFG, PLLCFG_MSEL, PLLCFG_PSEL, PLLCON, PLLCON_PLLC, PLLCON_PLLE, PLLFEED, PLLSTAT, PLLSTAT_LOCK, reset(), VICDefVectAddr, VICIntEnClear, VICIntSelect, VPBDIV, and VPBDIV_VALUE.

Referenced by mcu_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: