WWSerialPortP.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef _WWSerialPortP_h_INCLUDED_
  2. #define _WWSerialPortP_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. #include "WWSerialPort.h"
  7. /*****************************************************************************/
  8. /* クラスの定義 */
  9. /*****************************************************************************/
  10. typedef struct _WWSerialPort {
  11. int opened; /* ポートの状態(open/close) */
  12. int baudrate; /* ボーレート */
  13. /*
  14. * タイムアウト時間
  15. * 本来は VBLANK 単位で指定するのだが,wonx では
  16. * WONX_SERIAL_PORT_TIMETICKS 単位で指定することにする.
  17. */
  18. int send_timeout;
  19. int receive_timeout;
  20. unsigned int cancel_key;
  21. } _WWSerialPort;
  22. /*****************************************************************************/
  23. /* ここまで */
  24. /*****************************************************************************/
  25. #endif
  26. /*****************************************************************************/
  27. /* End of File. */
  28. /*****************************************************************************/