/******************************************************************************* | |
* Copyright (C) 2007, ZTE Corporation. | |
* | |
* File Name: drvs_io_fm.h | |
* File Mark: | |
* Description: | |
* Others: | |
* Version: 1.0 | |
* Author: liuyi | |
* Date: 2016-09-03 | |
* History 1: | |
* Date: | |
* Version: | |
* Author: | |
* Modification: | |
* History 2: | |
********************************************************************************/ | |
#ifndef _DRVS_IO_FM_H | |
#define _DRVS_IO_FM_H | |
/**************************************************************************** | |
* Include files | |
****************************************************************************/ | |
#include "drvs_io.h" | |
/**************************************************************************** | |
* Macros | |
****************************************************************************/ | |
#define ZDRV_DEV_FM "fm" | |
/**************************************************************************** | |
* Types | |
****************************************************************************/ | |
/* stereo or mono */ | |
typedef enum | |
{ | |
MODE_STEREO, | |
MODE_MONO, | |
MAX_MODE | |
} | |
T_ZDrvFm_StereoMode; | |
typedef struct | |
{ | |
SINT32 direction; | |
UINT32 ret_freq; | |
} | |
T_ZDrvFm_SeekInfo; | |
/*IOCTL¿ØÖƲÙ×÷´«µÝ²ÎÊýÀàÐÍ*/ | |
typedef struct | |
{ | |
T_ZDrvFm_StereoMode TimeDate; | |
T_ZDrvFm_SeekInfo mode; | |
}T_ZDrvfm_Descriptor; | |
#endif/*_DRVS_IO_FM_H*/ | |