Fix to reconfigure. (Add signal () in UNIXTimer_ON ()) (In IRIX, coping with the fact that the callback function is cleared for each call) Since ualarm () is BSD dependent, it is modified to use alarm (). Unit Timer class interval time setting unit changed from microseconds to milliseconds. Supports serial communication. (See WonxSerialPort, WWSerialPort, comm.c) With printf () in key.c, when the function name was not displayed when displaying the return value Fix. Version 0.4 beta - from wonx-b04.tar.gz
22 lines
624 B
C
22 lines
624 B
C
/* configure.h for configuration of wonx */
|
|
|
|
#ifndef _WONX_winx_configure_h_INCLUDED_
|
|
#define _WONX_wonx_configure_h_INCLUDED_
|
|
|
|
/* Wonx でのタイマ割り込みの周期(単位はミリ秒) */
|
|
#define WONX_TIMER_INTERVAL 100 /* 0.1 秒 */
|
|
|
|
/* HBLANK, VBLANK 割り込みのデフォルトのインターバル(0.1秒単位) */
|
|
#define WONX_HBLANK_INTERVAL ( 3 * 10) /* 3 秒毎 */
|
|
#define WONX_VBLANK_INTERVAL (20 * 10) /* 20 秒毎 */
|
|
|
|
/*
|
|
* シリアル通信時のタイムアウト時間の単位
|
|
* (単位はミリ秒だが,そんなに精度は無い)
|
|
*/
|
|
#define WONX_SERIAL_PORT_TIMETICKS 100 /* 1/10 秒単位 */
|
|
|
|
#endif /* _WONX_wonx_configure_h_INCLUDED_ */
|
|
|
|
/* End of wonx_configure.h */
|