yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | /*******************************************************************************
|
| 2 | * Copyright (C) 2007, ZTE Corporation.
|
| 3 | *
|
| 4 | * File Name: drvs_io_vib.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_VIB_H
|
| 20 | #define _DRVS_IO_VIB_H
|
| 21 |
|
| 22 | /****************************************************************************
|
| 23 | * Include files
|
| 24 | ****************************************************************************/
|
| 25 | #include "drvs_io.h"
|
| 26 | /****************************************************************************
|
| 27 | * Macros
|
| 28 | ****************************************************************************/
|
| 29 | #define ZDRV_DEV_VIB "vib"
|
| 30 | /****************************************************************************
|
| 31 | * Types
|
| 32 | ****************************************************************************/
|
| 33 |
|
| 34 |
|
| 35 | /* */
|
| 36 | typedef enum
|
| 37 | {
|
| 38 | VIB_POWER_DISABLE,
|
| 39 | VIB_POWER_ENABLE,
|
| 40 |
|
| 41 | MAX_VIB_POWER
|
| 42 | }
|
| 43 | T_ZDrvVib_Power;
|
| 44 |
|
| 45 | typedef enum
|
| 46 | {
|
| 47 | VIB_STATE_OFF,
|
| 48 | VIB_STATE_ON,
|
| 49 |
|
| 50 | MAX_VIB_STATE
|
| 51 | }
|
| 52 | T_ZDrvVib_State;
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 | #endif/*_DRVS_IO_VIB_H*/
|
| 57 |
|