init
This commit is contained in:
29
научка/code/matlab_stm_emulate/Code/GENERAL/periph_general.h
Normal file
29
научка/code/matlab_stm_emulate/Code/GENERAL/periph_general.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/**********************************TIM**************************************
|
||||
Данный файл содержит инклюды и дефайны для всех библиотек базовой перефирии.
|
||||
***************************************************************************/
|
||||
#ifndef __PERIPH_GENERAL_H_
|
||||
#define __PERIPH_GENERAL_H_
|
||||
|
||||
|
||||
// user includes
|
||||
#include "modbus.h"
|
||||
|
||||
#include "trace.h"
|
||||
|
||||
|
||||
|
||||
extern void Error_Handler(void);
|
||||
#define ERROR_HANDLER_NAME(_params_) Error_Handler(_params_)
|
||||
/* If error handler not defined - set void */
|
||||
#ifndef ERROR_HANDLER_NAME
|
||||
#define ((void)0U)
|
||||
#endif // ERROR_HANDLER_NAME
|
||||
|
||||
#include "stm32f4xx_hal.h"
|
||||
|
||||
#include "gpio_general.h"
|
||||
#include "uart_general.h"
|
||||
#include "tim_general.h"
|
||||
|
||||
|
||||
#endif // __PERIPH_GENERAL_H_
|
||||
Reference in New Issue
Block a user