# mios32/STM32F4xx/mios32_sys.c File Reference

`#include <mios32.h>`
`#include <FreeRTOS.h>`
`#include <portmacro.h>`

## Defines
#define | MEM32(addr) (*((volatile u32 *)(addr)))
#define | MEM16(addr) (*((volatile u16 *)(addr)))
#define | MEM8(addr) (*((volatile u8 *)(addr)))
#define | EXT_CRYSTAL_FRQ 8000000
#define | PLL_M 8
#define | PLL_N 336
#define | PLL_P 2
#define | PLL_Q 7
## Functions
s32 | MIOS32_SYS_Init (u32 mode)
s32 | MIOS32_SYS_Reset (void)
u32 | MIOS32_SYS_ChipIDGet (void)
u32 | MIOS32_SYS_FlashSizeGet (void)
u32 | MIOS32_SYS_RAMSizeGet (void)
s32 | MIOS32_SYS_SerialNumberGet (char *str)
s32 | MIOS32_SYS_TimeSet (mios32_sys_time_t t)
mios32_sys_time_t | MIOS32_SYS_TimeGet (void)
s32 | MIOS32_SYS_DMA_CallbackSet (u8 dma, u8 chn, void *callback)
## Variables
u32 | mios32_sys_isr_vector