29 lines
707 B
C
Raw Normal View History

2021-10-12 14:23:45 +08:00
/**
* @file sys.h
* @author Myth
* @version 0.1
* @date 2021.10.11
* @brief stm32f103x6
* @details
* @note assert_param stm32f1xx_hal_conf.h
* #define USE_FULL_ASSERT 1U
*
*
*/
#ifndef __SYS_H
#define __SYS_H
#include "main.h"
#define ENABLE_INT() __set_PRIMASK(0) //开总中断
#define DISABLE_INT() __set_PRIMASK(1) //关总中断
void SystemClock_Config(void);
2021-10-12 23:37:32 +08:00
void DisableJTAG(void);
2021-10-12 14:23:45 +08:00
void Error_Handler(uint8_t *file, uint32_t line);
#endif