yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | /*******************************************************************************
|
| 2 | * Copyright (C) 2007, ZTE Corporation.
|
| 3 | *
|
| 4 | * File Name: drvs_io_fm.h
|
| 5 | * File Mark:
|
| 6 | * Description:
|
| 7 | * Others:
|
| 8 | * Version: 1.0
|
| 9 | * Author: liuyi
|
| 10 | * Date: 2016-09-03
|
| 11 | * History 1:
|
| 12 | * Date:
|
| 13 | * Version:
|
| 14 | * Author:
|
| 15 | * Modification:
|
| 16 | * History 2:
|
| 17 | ********************************************************************************/
|
| 18 |
|
| 19 | #ifndef _DRVS_IO_FM_H
|
| 20 | #define _DRVS_IO_FM_H
|
| 21 |
|
| 22 | /****************************************************************************
|
| 23 | * Include files
|
| 24 | ****************************************************************************/
|
| 25 | #include "drvs_io.h"
|
| 26 | /****************************************************************************
|
| 27 | * Macros
|
| 28 | ****************************************************************************/
|
| 29 | #define ZDRV_DEV_FM "fm"
|
| 30 | /****************************************************************************
|
| 31 | * Types
|
| 32 | ****************************************************************************/
|
| 33 |
|
| 34 |
|
| 35 | /* stereo or mono */
|
| 36 | typedef enum
|
| 37 | {
|
| 38 | MODE_STEREO,
|
| 39 | MODE_MONO,
|
| 40 |
|
| 41 | MAX_MODE
|
| 42 | }
|
| 43 | T_ZDrvFm_StereoMode;
|
| 44 |
|
| 45 | typedef struct
|
| 46 | {
|
| 47 | SINT32 direction;
|
| 48 | UINT32 ret_freq;
|
| 49 | }
|
| 50 | T_ZDrvFm_SeekInfo;
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 | /*IOCTL¿ØÖƲÙ×÷´«µÝ²ÎÊýÀàÐÍ*/
|
| 55 | typedef struct
|
| 56 | {
|
| 57 | T_ZDrvFm_StereoMode TimeDate;
|
| 58 | T_ZDrvFm_SeekInfo mode;
|
| 59 | }T_ZDrvfm_Descriptor;
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 | #endif/*_DRVS_IO_FM_H*/
|
| 65 |
|