Mercurial > pt1.oyama
diff driver/pt1_ioctl.h @ 0:67e8eca28a80
initial import
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 16 Feb 2009 15:41:49 +0900 |
parents | |
children | 07b2fc07ff48 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/driver/pt1_ioctl.h Mon Feb 16 15:41:49 2009 +0900 @@ -0,0 +1,17 @@ +#ifndef __PT1_IOCTL_H__ +#define __PT1_IOCTL_H__ +/***************************************************************************/ +/* チャンネル周波数情報構造体定義 */ +/***************************************************************************/ +typedef struct _frequency{ + int frequencyno ; // 周波数テーブル番号 + int slot ; // スロット番号/加算する周波数 +}FREQUENCY; + +/***************************************************************************/ +/* IOCTL定義 */ +/***************************************************************************/ +#define SET_CHANNEL _IOW(0x8D, 0x01, FREQUENCY) +#define START_REC _IO(0x8D, 0x02) +#define STOP_REC _IO(0x8D, 0x03) +#endif