12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef SYS_TYPE_H
- #define SYS_TYPE_H
- #include "stm32f7xx.h"
- #include "core_cm7.h"
- #include "stm32f7xx_hal.h"
- //////////////////////////////////////////////////////////////////////////////////
- //本程序只供学习使用,未经作者许可,不得用于其它任何用途
- //ALIENTEK STM32F429开发板
- //系统时钟初始化
- //包括时钟设置/中断管理/GPIO设置等
- //正点原子@ALIENTEK
- //技术论坛:www.openedv.com
- //创建日期:2015/6/10
- //版本:V1.0
- //版权所有,盗版必究。
- //Copyright(C) 广州市星翼电子科技有限公司 2014-2024
- //All rights reserved
- //********************************************************************************
- //修改说明
- //无
- //////////////////////////////////////////////////////////////////////////////////
- //0,不支持os
- //1,支持os
- //#define SYSTEM_SUPPORT_OS 0 //定义系统文件夹是否支持OS
- ///////////////////////////////////////////////////////////////////////////////////
- //定义一些常用的数据类型短关键字
- 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;
-
- #endif
|