📄 slave_int.h
字号:
#ifndef _SLAVE_INT_API_H_
#define _SLAVE_INT_API_H_
/*********************************************
* Data types
*********************************************/
typedef VOID (*SLAVEINT_LISRHANDLER)(VOID);
/*********************************************
* Define
*********************************************/
#define _API_SLAVE_INT_MAX_IRQ 6
/*********************************************
* Functions Define
*********************************************/
#ifdef __cplusplus
extern "C" {
#endif
#define SLAVE_INT_PWM0 1
#define SLAVE_INT_PWM1 2
#define SLAVE_INT_PWM2 3
VOID SLAVEINT_Initialize(VOID);
VOID SLAVEINT_RegisterLisr( UINT slave_vector, SLAVEINT_LISRHANDLER func );
VOID SLAVEINT_CacelLisr( UINT slave_vector );
#ifdef __cplusplus
}
#endif
#endif /* _SLAVE_INT_API_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -