(UNIXTimer, WWInterrupt, WWTimer, WonxSystem addition) According to interrupt support, compatibility functions are replaced with UNIXTimer_Pause (), UNIXTimer_Unpause () It hung around. UNIXTimer, WWTimer, WonxSystem's callback functions, It is necessary to check finely whether there are bugs peculiar to interrupts. (The setting of the interrupt in the callback function may change, or from the callback function It is necessary to check whether the callback function is called or not) Version 0.2 beta - from wonx-b02.tar.gz
36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
#ifndef _WWInterruptP_h_INCLUDED_
|
|
#define _WWInterruptP_h_INCLUDED_
|
|
|
|
/*****************************************************************************/
|
|
/* ここから */
|
|
/*****************************************************************************/
|
|
|
|
#include "WWInterrupt.h"
|
|
|
|
/*****************************************************************************/
|
|
/* クラスの定義 */
|
|
/*****************************************************************************/
|
|
|
|
typedef struct _WWInterruptVector {
|
|
int number;
|
|
WWInterruptCallback callback;
|
|
int cs;
|
|
int ds;
|
|
} _WWInterruptVector;
|
|
|
|
typedef struct _WWInterruptVector * WWInterruptVector;
|
|
|
|
typedef struct _WWInterrupt {
|
|
WWInterruptVector vector[8]; /* 割り込みは全部で8種類 */
|
|
} _WWInterrupt;
|
|
|
|
/*****************************************************************************/
|
|
/* ここまで */
|
|
/*****************************************************************************/
|
|
|
|
#endif
|
|
|
|
/*****************************************************************************/
|
|
/* End of File. */
|
|
/*****************************************************************************/
|