change source file mode to 0644 instead of 0755
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-tiger / pwm_reg_v1.h
1 /******************************************************************************
2  ** File Name:    pwm_reg_v1.h                                            *
3  ** Author:       hao.liu                                                 *
4  ** DATE:         06/11/2010                                                  *
5  ** Copyright:    2010 Spreatrum, Incoporated. All Rights Reserved.           *
6  ** Description:                                                              *
7  ******************************************************************************/
8 /******************************************************************************
9  **                   Edit    History                                         *
10  **---------------------------------------------------------------------------*
11  ** DATE          NAME            DESCRIPTION                                 *
12  ** 06/11/2010    hao.liu      Create.                                     *
13  ******************************************************************************/
14 #ifndef _PWM_REG_V1_H_
15 #define _PWM_REG_V1_H_
16 /*----------------------------------------------------------------------------*
17  **                         Dependencies                                      *
18  **------------------------------------------------------------------------- */
19
20 /**---------------------------------------------------------------------------*
21  **                             Compiler Flag                                 *
22  **--------------------------------------------------------------------------*/
23 #ifdef   __cplusplus
24 extern   "C"
25 {
26 #endif
27 /**---------------------------------------------------------------------------*
28 **                               Micro Define                                **
29 **---------------------------------------------------------------------------*/
30 typedef struct pwm_tag
31 {
32     VOLATILE uint32     prescale;
33     VOLATILE uint32     cnt_duty;
34     VOLATILE uint32     tone;
35     VOLATILE uint32     pattern_low;
36     VOLATILE uint32     pattern_high;
37 } pwm_s;
38 /**----------------------------------------------------------------------------*
39 **                             Data Prototype                                 **
40 **----------------------------------------------------------------------------*/
41
42 /**----------------------------------------------------------------------------*
43 **                         Local Function Prototype                           **
44 **----------------------------------------------------------------------------*/
45
46 /**----------------------------------------------------------------------------*
47 **                           Function Prototype                               **
48 **----------------------------------------------------------------------------*/
49
50
51 /**----------------------------------------------------------------------------*
52 **                         Compiler Flag                                      **
53 **----------------------------------------------------------------------------*/
54
55 #ifdef   __cplusplus
56 }
57 #endif
58 /**---------------------------------------------------------------------------*/
59 #endif
60 // End