| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 1999-2012, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * |
|---|
| 7 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 8 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 9 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 10 | * |
|---|
| 11 | * $brcm_Workfile: bchp_pwm.h $ |
|---|
| 12 | * $brcm_Revision: Hydra_Software_Devel/2 $ |
|---|
| 13 | * $brcm_Date: 2/7/12 1:36p $ |
|---|
| 14 | * |
|---|
| 15 | * Module Description: |
|---|
| 16 | * DO NOT EDIT THIS FILE DIRECTLY |
|---|
| 17 | * |
|---|
| 18 | * This module was generated magically with RDB from a source description |
|---|
| 19 | * file. You must edit the source file for changes to be made to this file. |
|---|
| 20 | * |
|---|
| 21 | * |
|---|
| 22 | * Date: Generated on Tue Feb 7 10:59:54 2012 |
|---|
| 23 | * MD5 Checksum d41d8cd98f00b204e9800998ecf8427e |
|---|
| 24 | * |
|---|
| 25 | * Compiled with: RDB Utility combo_header.pl |
|---|
| 26 | * RDB Parser 3.0 |
|---|
| 27 | * unknown unknown |
|---|
| 28 | * Perl Interpreter 5.008008 |
|---|
| 29 | * Operating System linux |
|---|
| 30 | * |
|---|
| 31 | * Revision History: |
|---|
| 32 | * |
|---|
| 33 | * $brcm_Log: /magnum/basemodules/chp/7552/rdb/b0/bchp_pwm.h $ |
|---|
| 34 | * |
|---|
| 35 | * Hydra_Software_Devel/2 2/7/12 1:36p pntruong |
|---|
| 36 | * SW7552-89: Synced up with central rdb. |
|---|
| 37 | * |
|---|
| 38 | ***************************************************************************/ |
|---|
| 39 | |
|---|
| 40 | #ifndef BCHP_PWM_H__ |
|---|
| 41 | #define BCHP_PWM_H__ |
|---|
| 42 | |
|---|
| 43 | /*************************************************************************** |
|---|
| 44 | *PWM - PWM |
|---|
| 45 | ***************************************************************************/ |
|---|
| 46 | #define BCHP_PWM_CTRL 0x00406400 /* PWM Control */ |
|---|
| 47 | #define BCHP_PWM_CTRL2 0x00406404 /* PWM Control 2 */ |
|---|
| 48 | #define BCHP_PWM_PWM1_CWORD_MSB 0x00406408 /* PWM 1 Frequency Control Word MSB */ |
|---|
| 49 | #define BCHP_PWM_PWM1_CWORD_LSB 0x0040640c /* PWM 1 Frequency Control Word LSB */ |
|---|
| 50 | #define BCHP_PWM_PWM2_CWORD_MSB 0x00406410 /* PWM 2 Frequency Control Word MSB */ |
|---|
| 51 | #define BCHP_PWM_PWM2_CWORD_LSB 0x00406414 /* PWM 2 Frequency Control Word LSB */ |
|---|
| 52 | #define BCHP_PWM_PWM1_ON 0x00406418 /* PWM 1 CFPWM On Interval */ |
|---|
| 53 | #define BCHP_PWM_PWM1_PERIOD 0x0040641c /* PWM 1 CFPWM Period */ |
|---|
| 54 | #define BCHP_PWM_PWM2_ON 0x00406420 /* PWM 2 CFPWM On Interval */ |
|---|
| 55 | #define BCHP_PWM_PWM2_PERIOD 0x00406424 /* PWM 2 CFPWM Period */ |
|---|
| 56 | |
|---|
| 57 | /*************************************************************************** |
|---|
| 58 | *CTRL - PWM Control |
|---|
| 59 | ***************************************************************************/ |
|---|
| 60 | /* PWM :: CTRL :: reserved0 [31:08] */ |
|---|
| 61 | #define BCHP_PWM_CTRL_reserved0_MASK 0xffffff00 |
|---|
| 62 | #define BCHP_PWM_CTRL_reserved0_SHIFT 8 |
|---|
| 63 | |
|---|
| 64 | /* PWM :: CTRL :: pwm2_opendrainb [07:07] */ |
|---|
| 65 | #define BCHP_PWM_CTRL_pwm2_opendrainb_MASK 0x00000080 |
|---|
| 66 | #define BCHP_PWM_CTRL_pwm2_opendrainb_SHIFT 7 |
|---|
| 67 | #define BCHP_PWM_CTRL_pwm2_opendrainb_DEFAULT 0x00000000 |
|---|
| 68 | |
|---|
| 69 | /* PWM :: CTRL :: pwm2_force_high [06:06] */ |
|---|
| 70 | #define BCHP_PWM_CTRL_pwm2_force_high_MASK 0x00000040 |
|---|
| 71 | #define BCHP_PWM_CTRL_pwm2_force_high_SHIFT 6 |
|---|
| 72 | #define BCHP_PWM_CTRL_pwm2_force_high_DEFAULT 0x00000000 |
|---|
| 73 | |
|---|
| 74 | /* PWM :: CTRL :: pwm2_oeb [05:05] */ |
|---|
| 75 | #define BCHP_PWM_CTRL_pwm2_oeb_MASK 0x00000020 |
|---|
| 76 | #define BCHP_PWM_CTRL_pwm2_oeb_SHIFT 5 |
|---|
| 77 | #define BCHP_PWM_CTRL_pwm2_oeb_DEFAULT 0x00000001 |
|---|
| 78 | |
|---|
| 79 | /* PWM :: CTRL :: pwm2_start [04:04] */ |
|---|
| 80 | #define BCHP_PWM_CTRL_pwm2_start_MASK 0x00000010 |
|---|
| 81 | #define BCHP_PWM_CTRL_pwm2_start_SHIFT 4 |
|---|
| 82 | #define BCHP_PWM_CTRL_pwm2_start_DEFAULT 0x00000000 |
|---|
| 83 | |
|---|
| 84 | /* PWM :: CTRL :: pwm1_opendrainb [03:03] */ |
|---|
| 85 | #define BCHP_PWM_CTRL_pwm1_opendrainb_MASK 0x00000008 |
|---|
| 86 | #define BCHP_PWM_CTRL_pwm1_opendrainb_SHIFT 3 |
|---|
| 87 | #define BCHP_PWM_CTRL_pwm1_opendrainb_DEFAULT 0x00000000 |
|---|
| 88 | |
|---|
| 89 | /* PWM :: CTRL :: pwm1_force_high [02:02] */ |
|---|
| 90 | #define BCHP_PWM_CTRL_pwm1_force_high_MASK 0x00000004 |
|---|
| 91 | #define BCHP_PWM_CTRL_pwm1_force_high_SHIFT 2 |
|---|
| 92 | #define BCHP_PWM_CTRL_pwm1_force_high_DEFAULT 0x00000000 |
|---|
| 93 | |
|---|
| 94 | /* PWM :: CTRL :: pwm1_oeb [01:01] */ |
|---|
| 95 | #define BCHP_PWM_CTRL_pwm1_oeb_MASK 0x00000002 |
|---|
| 96 | #define BCHP_PWM_CTRL_pwm1_oeb_SHIFT 1 |
|---|
| 97 | #define BCHP_PWM_CTRL_pwm1_oeb_DEFAULT 0x00000001 |
|---|
| 98 | |
|---|
| 99 | /* PWM :: CTRL :: pwm1_start [00:00] */ |
|---|
| 100 | #define BCHP_PWM_CTRL_pwm1_start_MASK 0x00000001 |
|---|
| 101 | #define BCHP_PWM_CTRL_pwm1_start_SHIFT 0 |
|---|
| 102 | #define BCHP_PWM_CTRL_pwm1_start_DEFAULT 0x00000000 |
|---|
| 103 | |
|---|
| 104 | /*************************************************************************** |
|---|
| 105 | *CTRL2 - PWM Control 2 |
|---|
| 106 | ***************************************************************************/ |
|---|
| 107 | /* PWM :: CTRL2 :: reserved0 [31:05] */ |
|---|
| 108 | #define BCHP_PWM_CTRL2_reserved0_MASK 0xffffffe0 |
|---|
| 109 | #define BCHP_PWM_CTRL2_reserved0_SHIFT 5 |
|---|
| 110 | |
|---|
| 111 | /* PWM :: CTRL2 :: pwm2_out_select [04:04] */ |
|---|
| 112 | #define BCHP_PWM_CTRL2_pwm2_out_select_MASK 0x00000010 |
|---|
| 113 | #define BCHP_PWM_CTRL2_pwm2_out_select_SHIFT 4 |
|---|
| 114 | #define BCHP_PWM_CTRL2_pwm2_out_select_DEFAULT 0x00000000 |
|---|
| 115 | |
|---|
| 116 | /* PWM :: CTRL2 :: reserved1 [03:01] */ |
|---|
| 117 | #define BCHP_PWM_CTRL2_reserved1_MASK 0x0000000e |
|---|
| 118 | #define BCHP_PWM_CTRL2_reserved1_SHIFT 1 |
|---|
| 119 | |
|---|
| 120 | /* PWM :: CTRL2 :: pwm1_out_select [00:00] */ |
|---|
| 121 | #define BCHP_PWM_CTRL2_pwm1_out_select_MASK 0x00000001 |
|---|
| 122 | #define BCHP_PWM_CTRL2_pwm1_out_select_SHIFT 0 |
|---|
| 123 | #define BCHP_PWM_CTRL2_pwm1_out_select_DEFAULT 0x00000000 |
|---|
| 124 | |
|---|
| 125 | /*************************************************************************** |
|---|
| 126 | *PWM1_CWORD_MSB - PWM 1 Frequency Control Word MSB |
|---|
| 127 | ***************************************************************************/ |
|---|
| 128 | /* PWM :: PWM1_CWORD_MSB :: reserved0 [31:08] */ |
|---|
| 129 | #define BCHP_PWM_PWM1_CWORD_MSB_reserved0_MASK 0xffffff00 |
|---|
| 130 | #define BCHP_PWM_PWM1_CWORD_MSB_reserved0_SHIFT 8 |
|---|
| 131 | |
|---|
| 132 | /* PWM :: PWM1_CWORD_MSB :: pwm1_cword_msb [07:00] */ |
|---|
| 133 | #define BCHP_PWM_PWM1_CWORD_MSB_pwm1_cword_msb_MASK 0x000000ff |
|---|
| 134 | #define BCHP_PWM_PWM1_CWORD_MSB_pwm1_cword_msb_SHIFT 0 |
|---|
| 135 | #define BCHP_PWM_PWM1_CWORD_MSB_pwm1_cword_msb_DEFAULT 0x00000000 |
|---|
| 136 | |
|---|
| 137 | /*************************************************************************** |
|---|
| 138 | *PWM1_CWORD_LSB - PWM 1 Frequency Control Word LSB |
|---|
| 139 | ***************************************************************************/ |
|---|
| 140 | /* PWM :: PWM1_CWORD_LSB :: reserved0 [31:08] */ |
|---|
| 141 | #define BCHP_PWM_PWM1_CWORD_LSB_reserved0_MASK 0xffffff00 |
|---|
| 142 | #define BCHP_PWM_PWM1_CWORD_LSB_reserved0_SHIFT 8 |
|---|
| 143 | |
|---|
| 144 | /* PWM :: PWM1_CWORD_LSB :: pwm1_cword_lsb [07:00] */ |
|---|
| 145 | #define BCHP_PWM_PWM1_CWORD_LSB_pwm1_cword_lsb_MASK 0x000000ff |
|---|
| 146 | #define BCHP_PWM_PWM1_CWORD_LSB_pwm1_cword_lsb_SHIFT 0 |
|---|
| 147 | #define BCHP_PWM_PWM1_CWORD_LSB_pwm1_cword_lsb_DEFAULT 0x00000000 |
|---|
| 148 | |
|---|
| 149 | /*************************************************************************** |
|---|
| 150 | *PWM2_CWORD_MSB - PWM 2 Frequency Control Word MSB |
|---|
| 151 | ***************************************************************************/ |
|---|
| 152 | /* PWM :: PWM2_CWORD_MSB :: reserved0 [31:08] */ |
|---|
| 153 | #define BCHP_PWM_PWM2_CWORD_MSB_reserved0_MASK 0xffffff00 |
|---|
| 154 | #define BCHP_PWM_PWM2_CWORD_MSB_reserved0_SHIFT 8 |
|---|
| 155 | |
|---|
| 156 | /* PWM :: PWM2_CWORD_MSB :: pwm2_cword_msb [07:00] */ |
|---|
| 157 | #define BCHP_PWM_PWM2_CWORD_MSB_pwm2_cword_msb_MASK 0x000000ff |
|---|
| 158 | #define BCHP_PWM_PWM2_CWORD_MSB_pwm2_cword_msb_SHIFT 0 |
|---|
| 159 | #define BCHP_PWM_PWM2_CWORD_MSB_pwm2_cword_msb_DEFAULT 0x00000000 |
|---|
| 160 | |
|---|
| 161 | /*************************************************************************** |
|---|
| 162 | *PWM2_CWORD_LSB - PWM 2 Frequency Control Word LSB |
|---|
| 163 | ***************************************************************************/ |
|---|
| 164 | /* PWM :: PWM2_CWORD_LSB :: reserved0 [31:08] */ |
|---|
| 165 | #define BCHP_PWM_PWM2_CWORD_LSB_reserved0_MASK 0xffffff00 |
|---|
| 166 | #define BCHP_PWM_PWM2_CWORD_LSB_reserved0_SHIFT 8 |
|---|
| 167 | |
|---|
| 168 | /* PWM :: PWM2_CWORD_LSB :: pwm2_cword_lsb [07:00] */ |
|---|
| 169 | #define BCHP_PWM_PWM2_CWORD_LSB_pwm2_cword_lsb_MASK 0x000000ff |
|---|
| 170 | #define BCHP_PWM_PWM2_CWORD_LSB_pwm2_cword_lsb_SHIFT 0 |
|---|
| 171 | #define BCHP_PWM_PWM2_CWORD_LSB_pwm2_cword_lsb_DEFAULT 0x00000000 |
|---|
| 172 | |
|---|
| 173 | /*************************************************************************** |
|---|
| 174 | *PWM1_ON - PWM 1 CFPWM On Interval |
|---|
| 175 | ***************************************************************************/ |
|---|
| 176 | /* PWM :: PWM1_ON :: reserved0 [31:08] */ |
|---|
| 177 | #define BCHP_PWM_PWM1_ON_reserved0_MASK 0xffffff00 |
|---|
| 178 | #define BCHP_PWM_PWM1_ON_reserved0_SHIFT 8 |
|---|
| 179 | |
|---|
| 180 | /* PWM :: PWM1_ON :: pwm1_on [07:00] */ |
|---|
| 181 | #define BCHP_PWM_PWM1_ON_pwm1_on_MASK 0x000000ff |
|---|
| 182 | #define BCHP_PWM_PWM1_ON_pwm1_on_SHIFT 0 |
|---|
| 183 | #define BCHP_PWM_PWM1_ON_pwm1_on_DEFAULT 0x00000000 |
|---|
| 184 | |
|---|
| 185 | /*************************************************************************** |
|---|
| 186 | *PWM1_PERIOD - PWM 1 CFPWM Period |
|---|
| 187 | ***************************************************************************/ |
|---|
| 188 | /* PWM :: PWM1_PERIOD :: reserved0 [31:08] */ |
|---|
| 189 | #define BCHP_PWM_PWM1_PERIOD_reserved0_MASK 0xffffff00 |
|---|
| 190 | #define BCHP_PWM_PWM1_PERIOD_reserved0_SHIFT 8 |
|---|
| 191 | |
|---|
| 192 | /* PWM :: PWM1_PERIOD :: pwm1_period [07:00] */ |
|---|
| 193 | #define BCHP_PWM_PWM1_PERIOD_pwm1_period_MASK 0x000000ff |
|---|
| 194 | #define BCHP_PWM_PWM1_PERIOD_pwm1_period_SHIFT 0 |
|---|
| 195 | #define BCHP_PWM_PWM1_PERIOD_pwm1_period_DEFAULT 0x00000000 |
|---|
| 196 | |
|---|
| 197 | /*************************************************************************** |
|---|
| 198 | *PWM2_ON - PWM 2 CFPWM On Interval |
|---|
| 199 | ***************************************************************************/ |
|---|
| 200 | /* PWM :: PWM2_ON :: reserved0 [31:08] */ |
|---|
| 201 | #define BCHP_PWM_PWM2_ON_reserved0_MASK 0xffffff00 |
|---|
| 202 | #define BCHP_PWM_PWM2_ON_reserved0_SHIFT 8 |
|---|
| 203 | |
|---|
| 204 | /* PWM :: PWM2_ON :: pwm2_on [07:00] */ |
|---|
| 205 | #define BCHP_PWM_PWM2_ON_pwm2_on_MASK 0x000000ff |
|---|
| 206 | #define BCHP_PWM_PWM2_ON_pwm2_on_SHIFT 0 |
|---|
| 207 | #define BCHP_PWM_PWM2_ON_pwm2_on_DEFAULT 0x00000000 |
|---|
| 208 | |
|---|
| 209 | /*************************************************************************** |
|---|
| 210 | *PWM2_PERIOD - PWM 2 CFPWM Period |
|---|
| 211 | ***************************************************************************/ |
|---|
| 212 | /* PWM :: PWM2_PERIOD :: reserved0 [31:08] */ |
|---|
| 213 | #define BCHP_PWM_PWM2_PERIOD_reserved0_MASK 0xffffff00 |
|---|
| 214 | #define BCHP_PWM_PWM2_PERIOD_reserved0_SHIFT 8 |
|---|
| 215 | |
|---|
| 216 | /* PWM :: PWM2_PERIOD :: pwm2_period [07:00] */ |
|---|
| 217 | #define BCHP_PWM_PWM2_PERIOD_pwm2_period_MASK 0x000000ff |
|---|
| 218 | #define BCHP_PWM_PWM2_PERIOD_pwm2_period_SHIFT 0 |
|---|
| 219 | #define BCHP_PWM_PWM2_PERIOD_pwm2_period_DEFAULT 0x00000000 |
|---|
| 220 | |
|---|
| 221 | #endif /* #ifndef BCHP_PWM_H__ */ |
|---|
| 222 | |
|---|
| 223 | /* End of File */ |
|---|