(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
38 lines
1.3 KiB
C
38 lines
1.3 KiB
C
#ifndef _WonxSystemP_h_INCLUDED_
|
||
#define _WonxSystemP_h_INCLUDED_
|
||
|
||
/*****************************************************************************/
|
||
/* ここから */
|
||
/*****************************************************************************/
|
||
|
||
#include "WonxSystem.h"
|
||
|
||
/*****************************************************************************/
|
||
/* クラスの定義 */
|
||
/*****************************************************************************/
|
||
|
||
typedef struct _WonxSystem {
|
||
|
||
WWInterrupt ww_interrupt;
|
||
|
||
/*
|
||
* ww_timer[0] はVBLANK割り込み用.
|
||
* ww_timer[1] はVBLANKを利用したタイマカウンタ割り込み用.
|
||
* ww_timer[2] はHBLANKを利用したタイマカウンタ割り込み用.
|
||
*/
|
||
WWTimer ww_timer[3];
|
||
|
||
UNIXTimer unix_timer;
|
||
|
||
} _WonxSystem;
|
||
|
||
/*****************************************************************************/
|
||
/* ここまで */
|
||
/*****************************************************************************/
|
||
|
||
#endif
|
||
|
||
/*****************************************************************************/
|
||
/* End of File. */
|
||
/*****************************************************************************/
|