47 lines
991 B
C
47 lines
991 B
C
![]() |
#ifndef _SYS_H
|
|||
|
#define _SYS_H
|
|||
|
#include "stm32f4xx.h"
|
|||
|
|
|||
|
//0,<2C><>֧<EFBFBD><D6A7>os
|
|||
|
//1,֧<><D6A7>os
|
|||
|
#define SYSTEM_SUPPORT_OS 0 //<2F><><EFBFBD><EFBFBD>ϵͳ<CFB5>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>Ƿ<EFBFBD>֧<EFBFBD><D6A7>OS
|
|||
|
///////////////////////////////////////////////////////////////////////////////////
|
|||
|
//<2F><><EFBFBD><EFBFBD>һЩ<D2BB><D0A9><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͷ̹ؼ<CCB9><D8BC><EFBFBD>
|
|||
|
typedef int32_t s32;
|
|||
|
typedef int16_t s16;
|
|||
|
typedef int8_t s8;
|
|||
|
|
|||
|
typedef const int32_t sc32;
|
|||
|
typedef const int16_t sc16;
|
|||
|
typedef const int8_t sc8;
|
|||
|
|
|||
|
typedef __IO int32_t vs32;
|
|||
|
typedef __IO int16_t vs16;
|
|||
|
typedef __IO int8_t vs8;
|
|||
|
|
|||
|
typedef __I int32_t vsc32;
|
|||
|
typedef __I int16_t vsc16;
|
|||
|
typedef __I int8_t vsc8;
|
|||
|
|
|||
|
typedef uint32_t u32;
|
|||
|
typedef uint16_t u16;
|
|||
|
typedef uint8_t u8;
|
|||
|
|
|||
|
typedef const uint32_t uc32;
|
|||
|
typedef const uint16_t uc16;
|
|||
|
typedef const uint8_t uc8;
|
|||
|
|
|||
|
typedef __IO uint32_t vu32;
|
|||
|
typedef __IO uint16_t vu16;
|
|||
|
typedef __IO uint8_t vu8;
|
|||
|
|
|||
|
typedef __I uint32_t vuc32;
|
|||
|
typedef __I uint16_t vuc16;
|
|||
|
typedef __I uint8_t vuc8;
|
|||
|
|
|||
|
|
|||
|
void Stm32_Clock_Init(u32 plln,u32 pllm,u32 pllp,u32 pllq);//ʱ<><CAB1>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#endif
|
|||
|
|