slave_int.h
来自「SAMSUNG 5009的源代码」· C头文件 代码 · 共 39 行
H
39 行
#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 + =
减小字号Ctrl + -
显示快捷键?