| 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_bicap.h $ |
|---|
| 12 | * $brcm_Revision: Hydra_Software_Devel/2 $ |
|---|
| 13 | * $brcm_Date: 2/7/12 1:19p $ |
|---|
| 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:53 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_bicap.h $ |
|---|
| 34 | * |
|---|
| 35 | * Hydra_Software_Devel/2 2/7/12 1:19p pntruong |
|---|
| 36 | * SW7552-89: Synced up with central rdb. |
|---|
| 37 | * |
|---|
| 38 | ***************************************************************************/ |
|---|
| 39 | |
|---|
| 40 | #ifndef BCHP_BICAP_H__ |
|---|
| 41 | #define BCHP_BICAP_H__ |
|---|
| 42 | |
|---|
| 43 | /*************************************************************************** |
|---|
| 44 | *BICAP - Buffered Input Capture |
|---|
| 45 | ***************************************************************************/ |
|---|
| 46 | #define BCHP_BICAP_REVISION 0x00408e00 /* BICAP Revision */ |
|---|
| 47 | #define BCHP_BICAP_CONTROL0 0x00408e04 /* BICAP CONTROL FOR INPUT 0 */ |
|---|
| 48 | #define BCHP_BICAP_CONTROL1 0x00408e08 /* BICAP CONTROL FOR INPUT 1 */ |
|---|
| 49 | #define BCHP_BICAP_FILTER0 0x00408e0c /* BICAP FILTER REGISTER FOR INPUT 0 */ |
|---|
| 50 | #define BCHP_BICAP_FILTER1 0x00408e10 /* BICAP FILTER REGISTER FOR INPUT 1 */ |
|---|
| 51 | #define BCHP_BICAP_TIMEOUT0 0x00408e14 /* TIMEOUT REGISTER 0 (Timeout Code: 0xFFF) */ |
|---|
| 52 | #define BCHP_BICAP_TIMEOUT1 0x00408e18 /* TIMEOUT REGISTER 1 (Timeout Code: 0xFFE) */ |
|---|
| 53 | #define BCHP_BICAP_TIMEOUT2 0x00408e1c /* TIMEOUT REGISTER 2 (Timeout Code: 0xFFD) */ |
|---|
| 54 | #define BCHP_BICAP_TIMEOUT3 0x00408e20 /* TIMEOUT REGISTER 3 (Timeout Code: 0xFFC) */ |
|---|
| 55 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT 0x00408e24 /* FIFO INACTIVITY TIMEOUT REGISTER */ |
|---|
| 56 | #define BCHP_BICAP_FIFO_DATA 0x00408e28 /* BICAP FIFO DATA REGISTER */ |
|---|
| 57 | #define BCHP_BICAP_FIFO_CONTROL 0x00408e2c /* BICAP FIFO CONTROL */ |
|---|
| 58 | #define BCHP_BICAP_STATUS 0x00408e30 /* BICAP FIFO and TIMEOUT STATUS */ |
|---|
| 59 | #define BCHP_BICAP_PWC0 0x00408e34 /* BICAP PULSE WIDTH COUNTER VALUE FOR INPUT 0 */ |
|---|
| 60 | #define BCHP_BICAP_PWC1 0x00408e38 /* BICAP PULSE WIDTH COUNTER VALUE FOR INPUT 1 */ |
|---|
| 61 | |
|---|
| 62 | /*************************************************************************** |
|---|
| 63 | *REVISION - BICAP Revision |
|---|
| 64 | ***************************************************************************/ |
|---|
| 65 | /* BICAP :: REVISION :: reserved0 [31:16] */ |
|---|
| 66 | #define BCHP_BICAP_REVISION_reserved0_MASK 0xffff0000 |
|---|
| 67 | #define BCHP_BICAP_REVISION_reserved0_SHIFT 16 |
|---|
| 68 | |
|---|
| 69 | /* BICAP :: REVISION :: MAJOR [15:08] */ |
|---|
| 70 | #define BCHP_BICAP_REVISION_MAJOR_MASK 0x0000ff00 |
|---|
| 71 | #define BCHP_BICAP_REVISION_MAJOR_SHIFT 8 |
|---|
| 72 | #define BCHP_BICAP_REVISION_MAJOR_DEFAULT 0x00000001 |
|---|
| 73 | |
|---|
| 74 | /* BICAP :: REVISION :: MINOR [07:00] */ |
|---|
| 75 | #define BCHP_BICAP_REVISION_MINOR_MASK 0x000000ff |
|---|
| 76 | #define BCHP_BICAP_REVISION_MINOR_SHIFT 0 |
|---|
| 77 | #define BCHP_BICAP_REVISION_MINOR_DEFAULT 0x00000000 |
|---|
| 78 | |
|---|
| 79 | /*************************************************************************** |
|---|
| 80 | *CONTROL0 - BICAP CONTROL FOR INPUT 0 |
|---|
| 81 | ***************************************************************************/ |
|---|
| 82 | /* BICAP :: CONTROL0 :: tout_clk_div [31:24] */ |
|---|
| 83 | #define BCHP_BICAP_CONTROL0_tout_clk_div_MASK 0xff000000 |
|---|
| 84 | #define BCHP_BICAP_CONTROL0_tout_clk_div_SHIFT 24 |
|---|
| 85 | #define BCHP_BICAP_CONTROL0_tout_clk_div_DEFAULT 0x00000000 |
|---|
| 86 | |
|---|
| 87 | /* BICAP :: CONTROL0 :: reserved_for_eco0 [23:22] */ |
|---|
| 88 | #define BCHP_BICAP_CONTROL0_reserved_for_eco0_MASK 0x00c00000 |
|---|
| 89 | #define BCHP_BICAP_CONTROL0_reserved_for_eco0_SHIFT 22 |
|---|
| 90 | #define BCHP_BICAP_CONTROL0_reserved_for_eco0_DEFAULT 0x00000000 |
|---|
| 91 | |
|---|
| 92 | /* BICAP :: CONTROL0 :: sys_clk_div [21:08] */ |
|---|
| 93 | #define BCHP_BICAP_CONTROL0_sys_clk_div_MASK 0x003fff00 |
|---|
| 94 | #define BCHP_BICAP_CONTROL0_sys_clk_div_SHIFT 8 |
|---|
| 95 | #define BCHP_BICAP_CONTROL0_sys_clk_div_DEFAULT 0x0000000f |
|---|
| 96 | |
|---|
| 97 | /* BICAP :: CONTROL0 :: reserved_for_eco1 [07:06] */ |
|---|
| 98 | #define BCHP_BICAP_CONTROL0_reserved_for_eco1_MASK 0x000000c0 |
|---|
| 99 | #define BCHP_BICAP_CONTROL0_reserved_for_eco1_SHIFT 6 |
|---|
| 100 | #define BCHP_BICAP_CONTROL0_reserved_for_eco1_DEFAULT 0x00000000 |
|---|
| 101 | |
|---|
| 102 | /* BICAP :: CONTROL0 :: cnt_mode [05:04] */ |
|---|
| 103 | #define BCHP_BICAP_CONTROL0_cnt_mode_MASK 0x00000030 |
|---|
| 104 | #define BCHP_BICAP_CONTROL0_cnt_mode_SHIFT 4 |
|---|
| 105 | #define BCHP_BICAP_CONTROL0_cnt_mode_DEFAULT 0x00000000 |
|---|
| 106 | |
|---|
| 107 | /* BICAP :: CONTROL0 :: pedgedet_en [03:03] */ |
|---|
| 108 | #define BCHP_BICAP_CONTROL0_pedgedet_en_MASK 0x00000008 |
|---|
| 109 | #define BCHP_BICAP_CONTROL0_pedgedet_en_SHIFT 3 |
|---|
| 110 | #define BCHP_BICAP_CONTROL0_pedgedet_en_DEFAULT 0x00000000 |
|---|
| 111 | |
|---|
| 112 | /* BICAP :: CONTROL0 :: nedgedet_en [02:02] */ |
|---|
| 113 | #define BCHP_BICAP_CONTROL0_nedgedet_en_MASK 0x00000004 |
|---|
| 114 | #define BCHP_BICAP_CONTROL0_nedgedet_en_SHIFT 2 |
|---|
| 115 | #define BCHP_BICAP_CONTROL0_nedgedet_en_DEFAULT 0x00000000 |
|---|
| 116 | |
|---|
| 117 | /* BICAP :: CONTROL0 :: insig_inv [01:01] */ |
|---|
| 118 | #define BCHP_BICAP_CONTROL0_insig_inv_MASK 0x00000002 |
|---|
| 119 | #define BCHP_BICAP_CONTROL0_insig_inv_SHIFT 1 |
|---|
| 120 | #define BCHP_BICAP_CONTROL0_insig_inv_DEFAULT 0x00000000 |
|---|
| 121 | |
|---|
| 122 | /* BICAP :: CONTROL0 :: bicap_en [00:00] */ |
|---|
| 123 | #define BCHP_BICAP_CONTROL0_bicap_en_MASK 0x00000001 |
|---|
| 124 | #define BCHP_BICAP_CONTROL0_bicap_en_SHIFT 0 |
|---|
| 125 | #define BCHP_BICAP_CONTROL0_bicap_en_DEFAULT 0x00000000 |
|---|
| 126 | |
|---|
| 127 | /*************************************************************************** |
|---|
| 128 | *CONTROL1 - BICAP CONTROL FOR INPUT 1 |
|---|
| 129 | ***************************************************************************/ |
|---|
| 130 | /* BICAP :: CONTROL1 :: tout_clk_div [31:24] */ |
|---|
| 131 | #define BCHP_BICAP_CONTROL1_tout_clk_div_MASK 0xff000000 |
|---|
| 132 | #define BCHP_BICAP_CONTROL1_tout_clk_div_SHIFT 24 |
|---|
| 133 | #define BCHP_BICAP_CONTROL1_tout_clk_div_DEFAULT 0x00000000 |
|---|
| 134 | |
|---|
| 135 | /* BICAP :: CONTROL1 :: reserved_for_eco0 [23:22] */ |
|---|
| 136 | #define BCHP_BICAP_CONTROL1_reserved_for_eco0_MASK 0x00c00000 |
|---|
| 137 | #define BCHP_BICAP_CONTROL1_reserved_for_eco0_SHIFT 22 |
|---|
| 138 | #define BCHP_BICAP_CONTROL1_reserved_for_eco0_DEFAULT 0x00000000 |
|---|
| 139 | |
|---|
| 140 | /* BICAP :: CONTROL1 :: sys_clk_div [21:08] */ |
|---|
| 141 | #define BCHP_BICAP_CONTROL1_sys_clk_div_MASK 0x003fff00 |
|---|
| 142 | #define BCHP_BICAP_CONTROL1_sys_clk_div_SHIFT 8 |
|---|
| 143 | #define BCHP_BICAP_CONTROL1_sys_clk_div_DEFAULT 0x0000000f |
|---|
| 144 | |
|---|
| 145 | /* BICAP :: CONTROL1 :: reserved_for_eco1 [07:06] */ |
|---|
| 146 | #define BCHP_BICAP_CONTROL1_reserved_for_eco1_MASK 0x000000c0 |
|---|
| 147 | #define BCHP_BICAP_CONTROL1_reserved_for_eco1_SHIFT 6 |
|---|
| 148 | #define BCHP_BICAP_CONTROL1_reserved_for_eco1_DEFAULT 0x00000000 |
|---|
| 149 | |
|---|
| 150 | /* BICAP :: CONTROL1 :: cnt_mode [05:04] */ |
|---|
| 151 | #define BCHP_BICAP_CONTROL1_cnt_mode_MASK 0x00000030 |
|---|
| 152 | #define BCHP_BICAP_CONTROL1_cnt_mode_SHIFT 4 |
|---|
| 153 | #define BCHP_BICAP_CONTROL1_cnt_mode_DEFAULT 0x00000000 |
|---|
| 154 | |
|---|
| 155 | /* BICAP :: CONTROL1 :: pedgedet_en [03:03] */ |
|---|
| 156 | #define BCHP_BICAP_CONTROL1_pedgedet_en_MASK 0x00000008 |
|---|
| 157 | #define BCHP_BICAP_CONTROL1_pedgedet_en_SHIFT 3 |
|---|
| 158 | #define BCHP_BICAP_CONTROL1_pedgedet_en_DEFAULT 0x00000000 |
|---|
| 159 | |
|---|
| 160 | /* BICAP :: CONTROL1 :: nedgedet_en [02:02] */ |
|---|
| 161 | #define BCHP_BICAP_CONTROL1_nedgedet_en_MASK 0x00000004 |
|---|
| 162 | #define BCHP_BICAP_CONTROL1_nedgedet_en_SHIFT 2 |
|---|
| 163 | #define BCHP_BICAP_CONTROL1_nedgedet_en_DEFAULT 0x00000000 |
|---|
| 164 | |
|---|
| 165 | /* BICAP :: CONTROL1 :: insig_inv [01:01] */ |
|---|
| 166 | #define BCHP_BICAP_CONTROL1_insig_inv_MASK 0x00000002 |
|---|
| 167 | #define BCHP_BICAP_CONTROL1_insig_inv_SHIFT 1 |
|---|
| 168 | #define BCHP_BICAP_CONTROL1_insig_inv_DEFAULT 0x00000000 |
|---|
| 169 | |
|---|
| 170 | /* BICAP :: CONTROL1 :: bicap_en [00:00] */ |
|---|
| 171 | #define BCHP_BICAP_CONTROL1_bicap_en_MASK 0x00000001 |
|---|
| 172 | #define BCHP_BICAP_CONTROL1_bicap_en_SHIFT 0 |
|---|
| 173 | #define BCHP_BICAP_CONTROL1_bicap_en_DEFAULT 0x00000000 |
|---|
| 174 | |
|---|
| 175 | /*************************************************************************** |
|---|
| 176 | *FILTER0 - BICAP FILTER REGISTER FOR INPUT 0 |
|---|
| 177 | ***************************************************************************/ |
|---|
| 178 | /* BICAP :: FILTER0 :: reserved0 [31:10] */ |
|---|
| 179 | #define BCHP_BICAP_FILTER0_reserved0_MASK 0xfffffc00 |
|---|
| 180 | #define BCHP_BICAP_FILTER0_reserved0_SHIFT 10 |
|---|
| 181 | |
|---|
| 182 | /* BICAP :: FILTER0 :: filter_bypass [09:09] */ |
|---|
| 183 | #define BCHP_BICAP_FILTER0_filter_bypass_MASK 0x00000200 |
|---|
| 184 | #define BCHP_BICAP_FILTER0_filter_bypass_SHIFT 9 |
|---|
| 185 | #define BCHP_BICAP_FILTER0_filter_bypass_DEFAULT 0x00000000 |
|---|
| 186 | |
|---|
| 187 | /* BICAP :: FILTER0 :: filter_clk_sel [08:08] */ |
|---|
| 188 | #define BCHP_BICAP_FILTER0_filter_clk_sel_MASK 0x00000100 |
|---|
| 189 | #define BCHP_BICAP_FILTER0_filter_clk_sel_SHIFT 8 |
|---|
| 190 | #define BCHP_BICAP_FILTER0_filter_clk_sel_DEFAULT 0x00000000 |
|---|
| 191 | #define BCHP_BICAP_FILTER0_filter_clk_sel_bicap_clk_filter 0 |
|---|
| 192 | #define BCHP_BICAP_FILTER0_filter_clk_sel_sys_clk_filter 1 |
|---|
| 193 | |
|---|
| 194 | /* BICAP :: FILTER0 :: reserved_for_eco1 [07:07] */ |
|---|
| 195 | #define BCHP_BICAP_FILTER0_reserved_for_eco1_MASK 0x00000080 |
|---|
| 196 | #define BCHP_BICAP_FILTER0_reserved_for_eco1_SHIFT 7 |
|---|
| 197 | #define BCHP_BICAP_FILTER0_reserved_for_eco1_DEFAULT 0x00000000 |
|---|
| 198 | |
|---|
| 199 | /* union - case bicap_clk_sel [06:00] */ |
|---|
| 200 | /* BICAP :: FILTER0 :: bicap_clk_sel :: filter [06:00] */ |
|---|
| 201 | #define BCHP_BICAP_FILTER0_bicap_clk_sel_filter_MASK 0x0000007f |
|---|
| 202 | #define BCHP_BICAP_FILTER0_bicap_clk_sel_filter_SHIFT 0 |
|---|
| 203 | #define BCHP_BICAP_FILTER0_bicap_clk_sel_filter_DEFAULT 0x00000000 |
|---|
| 204 | |
|---|
| 205 | /* union - case sys_clk_sel [06:00] */ |
|---|
| 206 | /* BICAP :: FILTER0 :: sys_clk_sel :: filter [06:00] */ |
|---|
| 207 | #define BCHP_BICAP_FILTER0_sys_clk_sel_filter_MASK 0x0000007f |
|---|
| 208 | #define BCHP_BICAP_FILTER0_sys_clk_sel_filter_SHIFT 0 |
|---|
| 209 | #define BCHP_BICAP_FILTER0_sys_clk_sel_filter_DEFAULT 0x00000000 |
|---|
| 210 | |
|---|
| 211 | /*************************************************************************** |
|---|
| 212 | *FILTER1 - BICAP FILTER REGISTER FOR INPUT 1 |
|---|
| 213 | ***************************************************************************/ |
|---|
| 214 | /* BICAP :: FILTER1 :: reserved0 [31:10] */ |
|---|
| 215 | #define BCHP_BICAP_FILTER1_reserved0_MASK 0xfffffc00 |
|---|
| 216 | #define BCHP_BICAP_FILTER1_reserved0_SHIFT 10 |
|---|
| 217 | |
|---|
| 218 | /* BICAP :: FILTER1 :: filter_bypass [09:09] */ |
|---|
| 219 | #define BCHP_BICAP_FILTER1_filter_bypass_MASK 0x00000200 |
|---|
| 220 | #define BCHP_BICAP_FILTER1_filter_bypass_SHIFT 9 |
|---|
| 221 | #define BCHP_BICAP_FILTER1_filter_bypass_DEFAULT 0x00000000 |
|---|
| 222 | |
|---|
| 223 | /* BICAP :: FILTER1 :: filter_clk_sel [08:08] */ |
|---|
| 224 | #define BCHP_BICAP_FILTER1_filter_clk_sel_MASK 0x00000100 |
|---|
| 225 | #define BCHP_BICAP_FILTER1_filter_clk_sel_SHIFT 8 |
|---|
| 226 | #define BCHP_BICAP_FILTER1_filter_clk_sel_DEFAULT 0x00000000 |
|---|
| 227 | #define BCHP_BICAP_FILTER1_filter_clk_sel_bicap_clk_filter 0 |
|---|
| 228 | #define BCHP_BICAP_FILTER1_filter_clk_sel_sys_clk_filter 1 |
|---|
| 229 | |
|---|
| 230 | /* BICAP :: FILTER1 :: reserved_for_eco1 [07:07] */ |
|---|
| 231 | #define BCHP_BICAP_FILTER1_reserved_for_eco1_MASK 0x00000080 |
|---|
| 232 | #define BCHP_BICAP_FILTER1_reserved_for_eco1_SHIFT 7 |
|---|
| 233 | #define BCHP_BICAP_FILTER1_reserved_for_eco1_DEFAULT 0x00000000 |
|---|
| 234 | |
|---|
| 235 | /* union - case bicap_clk_sel [06:00] */ |
|---|
| 236 | /* BICAP :: FILTER1 :: bicap_clk_sel :: filter [06:00] */ |
|---|
| 237 | #define BCHP_BICAP_FILTER1_bicap_clk_sel_filter_MASK 0x0000007f |
|---|
| 238 | #define BCHP_BICAP_FILTER1_bicap_clk_sel_filter_SHIFT 0 |
|---|
| 239 | #define BCHP_BICAP_FILTER1_bicap_clk_sel_filter_DEFAULT 0x00000000 |
|---|
| 240 | |
|---|
| 241 | /* union - case sys_clk_sel [06:00] */ |
|---|
| 242 | /* BICAP :: FILTER1 :: sys_clk_sel :: filter [06:00] */ |
|---|
| 243 | #define BCHP_BICAP_FILTER1_sys_clk_sel_filter_MASK 0x0000007f |
|---|
| 244 | #define BCHP_BICAP_FILTER1_sys_clk_sel_filter_SHIFT 0 |
|---|
| 245 | #define BCHP_BICAP_FILTER1_sys_clk_sel_filter_DEFAULT 0x00000000 |
|---|
| 246 | |
|---|
| 247 | /*************************************************************************** |
|---|
| 248 | *TIMEOUT0 - TIMEOUT REGISTER 0 (Timeout Code: 0xFFF) |
|---|
| 249 | ***************************************************************************/ |
|---|
| 250 | /* BICAP :: TIMEOUT0 :: reserved0 [31:20] */ |
|---|
| 251 | #define BCHP_BICAP_TIMEOUT0_reserved0_MASK 0xfff00000 |
|---|
| 252 | #define BCHP_BICAP_TIMEOUT0_reserved0_SHIFT 20 |
|---|
| 253 | |
|---|
| 254 | /* BICAP :: TIMEOUT0 :: input_sel [19:19] */ |
|---|
| 255 | #define BCHP_BICAP_TIMEOUT0_input_sel_MASK 0x00080000 |
|---|
| 256 | #define BCHP_BICAP_TIMEOUT0_input_sel_SHIFT 19 |
|---|
| 257 | #define BCHP_BICAP_TIMEOUT0_input_sel_DEFAULT 0x00000000 |
|---|
| 258 | |
|---|
| 259 | /* BICAP :: TIMEOUT0 :: edge_sel [18:17] */ |
|---|
| 260 | #define BCHP_BICAP_TIMEOUT0_edge_sel_MASK 0x00060000 |
|---|
| 261 | #define BCHP_BICAP_TIMEOUT0_edge_sel_SHIFT 17 |
|---|
| 262 | #define BCHP_BICAP_TIMEOUT0_edge_sel_DEFAULT 0x00000000 |
|---|
| 263 | |
|---|
| 264 | /* BICAP :: TIMEOUT0 :: clk_sel [16:16] */ |
|---|
| 265 | #define BCHP_BICAP_TIMEOUT0_clk_sel_MASK 0x00010000 |
|---|
| 266 | #define BCHP_BICAP_TIMEOUT0_clk_sel_SHIFT 16 |
|---|
| 267 | #define BCHP_BICAP_TIMEOUT0_clk_sel_DEFAULT 0x00000000 |
|---|
| 268 | |
|---|
| 269 | /* BICAP :: TIMEOUT0 :: reserved1 [15:12] */ |
|---|
| 270 | #define BCHP_BICAP_TIMEOUT0_reserved1_MASK 0x0000f000 |
|---|
| 271 | #define BCHP_BICAP_TIMEOUT0_reserved1_SHIFT 12 |
|---|
| 272 | |
|---|
| 273 | /* BICAP :: TIMEOUT0 :: tout [11:00] */ |
|---|
| 274 | #define BCHP_BICAP_TIMEOUT0_tout_MASK 0x00000fff |
|---|
| 275 | #define BCHP_BICAP_TIMEOUT0_tout_SHIFT 0 |
|---|
| 276 | #define BCHP_BICAP_TIMEOUT0_tout_DEFAULT 0x00000000 |
|---|
| 277 | |
|---|
| 278 | /*************************************************************************** |
|---|
| 279 | *TIMEOUT1 - TIMEOUT REGISTER 1 (Timeout Code: 0xFFE) |
|---|
| 280 | ***************************************************************************/ |
|---|
| 281 | /* BICAP :: TIMEOUT1 :: reserved0 [31:20] */ |
|---|
| 282 | #define BCHP_BICAP_TIMEOUT1_reserved0_MASK 0xfff00000 |
|---|
| 283 | #define BCHP_BICAP_TIMEOUT1_reserved0_SHIFT 20 |
|---|
| 284 | |
|---|
| 285 | /* BICAP :: TIMEOUT1 :: input_sel [19:19] */ |
|---|
| 286 | #define BCHP_BICAP_TIMEOUT1_input_sel_MASK 0x00080000 |
|---|
| 287 | #define BCHP_BICAP_TIMEOUT1_input_sel_SHIFT 19 |
|---|
| 288 | #define BCHP_BICAP_TIMEOUT1_input_sel_DEFAULT 0x00000000 |
|---|
| 289 | |
|---|
| 290 | /* BICAP :: TIMEOUT1 :: edge_sel [18:17] */ |
|---|
| 291 | #define BCHP_BICAP_TIMEOUT1_edge_sel_MASK 0x00060000 |
|---|
| 292 | #define BCHP_BICAP_TIMEOUT1_edge_sel_SHIFT 17 |
|---|
| 293 | #define BCHP_BICAP_TIMEOUT1_edge_sel_DEFAULT 0x00000000 |
|---|
| 294 | |
|---|
| 295 | /* BICAP :: TIMEOUT1 :: clk_sel [16:16] */ |
|---|
| 296 | #define BCHP_BICAP_TIMEOUT1_clk_sel_MASK 0x00010000 |
|---|
| 297 | #define BCHP_BICAP_TIMEOUT1_clk_sel_SHIFT 16 |
|---|
| 298 | #define BCHP_BICAP_TIMEOUT1_clk_sel_DEFAULT 0x00000000 |
|---|
| 299 | |
|---|
| 300 | /* BICAP :: TIMEOUT1 :: reserved1 [15:12] */ |
|---|
| 301 | #define BCHP_BICAP_TIMEOUT1_reserved1_MASK 0x0000f000 |
|---|
| 302 | #define BCHP_BICAP_TIMEOUT1_reserved1_SHIFT 12 |
|---|
| 303 | |
|---|
| 304 | /* BICAP :: TIMEOUT1 :: tout [11:00] */ |
|---|
| 305 | #define BCHP_BICAP_TIMEOUT1_tout_MASK 0x00000fff |
|---|
| 306 | #define BCHP_BICAP_TIMEOUT1_tout_SHIFT 0 |
|---|
| 307 | #define BCHP_BICAP_TIMEOUT1_tout_DEFAULT 0x00000000 |
|---|
| 308 | |
|---|
| 309 | /*************************************************************************** |
|---|
| 310 | *TIMEOUT2 - TIMEOUT REGISTER 2 (Timeout Code: 0xFFD) |
|---|
| 311 | ***************************************************************************/ |
|---|
| 312 | /* BICAP :: TIMEOUT2 :: reserved0 [31:20] */ |
|---|
| 313 | #define BCHP_BICAP_TIMEOUT2_reserved0_MASK 0xfff00000 |
|---|
| 314 | #define BCHP_BICAP_TIMEOUT2_reserved0_SHIFT 20 |
|---|
| 315 | |
|---|
| 316 | /* BICAP :: TIMEOUT2 :: input_sel [19:19] */ |
|---|
| 317 | #define BCHP_BICAP_TIMEOUT2_input_sel_MASK 0x00080000 |
|---|
| 318 | #define BCHP_BICAP_TIMEOUT2_input_sel_SHIFT 19 |
|---|
| 319 | #define BCHP_BICAP_TIMEOUT2_input_sel_DEFAULT 0x00000000 |
|---|
| 320 | |
|---|
| 321 | /* BICAP :: TIMEOUT2 :: edge_sel [18:17] */ |
|---|
| 322 | #define BCHP_BICAP_TIMEOUT2_edge_sel_MASK 0x00060000 |
|---|
| 323 | #define BCHP_BICAP_TIMEOUT2_edge_sel_SHIFT 17 |
|---|
| 324 | #define BCHP_BICAP_TIMEOUT2_edge_sel_DEFAULT 0x00000000 |
|---|
| 325 | |
|---|
| 326 | /* BICAP :: TIMEOUT2 :: clk_sel [16:16] */ |
|---|
| 327 | #define BCHP_BICAP_TIMEOUT2_clk_sel_MASK 0x00010000 |
|---|
| 328 | #define BCHP_BICAP_TIMEOUT2_clk_sel_SHIFT 16 |
|---|
| 329 | #define BCHP_BICAP_TIMEOUT2_clk_sel_DEFAULT 0x00000000 |
|---|
| 330 | |
|---|
| 331 | /* BICAP :: TIMEOUT2 :: reserved1 [15:12] */ |
|---|
| 332 | #define BCHP_BICAP_TIMEOUT2_reserved1_MASK 0x0000f000 |
|---|
| 333 | #define BCHP_BICAP_TIMEOUT2_reserved1_SHIFT 12 |
|---|
| 334 | |
|---|
| 335 | /* BICAP :: TIMEOUT2 :: tout [11:00] */ |
|---|
| 336 | #define BCHP_BICAP_TIMEOUT2_tout_MASK 0x00000fff |
|---|
| 337 | #define BCHP_BICAP_TIMEOUT2_tout_SHIFT 0 |
|---|
| 338 | #define BCHP_BICAP_TIMEOUT2_tout_DEFAULT 0x00000000 |
|---|
| 339 | |
|---|
| 340 | /*************************************************************************** |
|---|
| 341 | *TIMEOUT3 - TIMEOUT REGISTER 3 (Timeout Code: 0xFFC) |
|---|
| 342 | ***************************************************************************/ |
|---|
| 343 | /* BICAP :: TIMEOUT3 :: reserved0 [31:20] */ |
|---|
| 344 | #define BCHP_BICAP_TIMEOUT3_reserved0_MASK 0xfff00000 |
|---|
| 345 | #define BCHP_BICAP_TIMEOUT3_reserved0_SHIFT 20 |
|---|
| 346 | |
|---|
| 347 | /* BICAP :: TIMEOUT3 :: input_sel [19:19] */ |
|---|
| 348 | #define BCHP_BICAP_TIMEOUT3_input_sel_MASK 0x00080000 |
|---|
| 349 | #define BCHP_BICAP_TIMEOUT3_input_sel_SHIFT 19 |
|---|
| 350 | #define BCHP_BICAP_TIMEOUT3_input_sel_DEFAULT 0x00000000 |
|---|
| 351 | |
|---|
| 352 | /* BICAP :: TIMEOUT3 :: edge_sel [18:17] */ |
|---|
| 353 | #define BCHP_BICAP_TIMEOUT3_edge_sel_MASK 0x00060000 |
|---|
| 354 | #define BCHP_BICAP_TIMEOUT3_edge_sel_SHIFT 17 |
|---|
| 355 | #define BCHP_BICAP_TIMEOUT3_edge_sel_DEFAULT 0x00000000 |
|---|
| 356 | |
|---|
| 357 | /* BICAP :: TIMEOUT3 :: clk_sel [16:16] */ |
|---|
| 358 | #define BCHP_BICAP_TIMEOUT3_clk_sel_MASK 0x00010000 |
|---|
| 359 | #define BCHP_BICAP_TIMEOUT3_clk_sel_SHIFT 16 |
|---|
| 360 | #define BCHP_BICAP_TIMEOUT3_clk_sel_DEFAULT 0x00000000 |
|---|
| 361 | |
|---|
| 362 | /* BICAP :: TIMEOUT3 :: reserved1 [15:12] */ |
|---|
| 363 | #define BCHP_BICAP_TIMEOUT3_reserved1_MASK 0x0000f000 |
|---|
| 364 | #define BCHP_BICAP_TIMEOUT3_reserved1_SHIFT 12 |
|---|
| 365 | |
|---|
| 366 | /* BICAP :: TIMEOUT3 :: tout [11:00] */ |
|---|
| 367 | #define BCHP_BICAP_TIMEOUT3_tout_MASK 0x00000fff |
|---|
| 368 | #define BCHP_BICAP_TIMEOUT3_tout_SHIFT 0 |
|---|
| 369 | #define BCHP_BICAP_TIMEOUT3_tout_DEFAULT 0x00000000 |
|---|
| 370 | |
|---|
| 371 | /*************************************************************************** |
|---|
| 372 | *FIFO_INACT_TIMEOUT - FIFO INACTIVITY TIMEOUT REGISTER |
|---|
| 373 | ***************************************************************************/ |
|---|
| 374 | /* BICAP :: FIFO_INACT_TIMEOUT :: reserved0 [31:20] */ |
|---|
| 375 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_reserved0_MASK 0xfff00000 |
|---|
| 376 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_reserved0_SHIFT 20 |
|---|
| 377 | |
|---|
| 378 | /* BICAP :: FIFO_INACT_TIMEOUT :: bicap_clk_sel [19:19] */ |
|---|
| 379 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_bicap_clk_sel_MASK 0x00080000 |
|---|
| 380 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_bicap_clk_sel_SHIFT 19 |
|---|
| 381 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_bicap_clk_sel_DEFAULT 0x00000000 |
|---|
| 382 | |
|---|
| 383 | /* BICAP :: FIFO_INACT_TIMEOUT :: event_sel [18:17] */ |
|---|
| 384 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_event_sel_MASK 0x00060000 |
|---|
| 385 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_event_sel_SHIFT 17 |
|---|
| 386 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_event_sel_DEFAULT 0x00000000 |
|---|
| 387 | |
|---|
| 388 | /* BICAP :: FIFO_INACT_TIMEOUT :: clk_sel [16:16] */ |
|---|
| 389 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_clk_sel_MASK 0x00010000 |
|---|
| 390 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_clk_sel_SHIFT 16 |
|---|
| 391 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_clk_sel_DEFAULT 0x00000000 |
|---|
| 392 | |
|---|
| 393 | /* BICAP :: FIFO_INACT_TIMEOUT :: reserved1 [15:12] */ |
|---|
| 394 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_reserved1_MASK 0x0000f000 |
|---|
| 395 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_reserved1_SHIFT 12 |
|---|
| 396 | |
|---|
| 397 | /* BICAP :: FIFO_INACT_TIMEOUT :: tout [11:00] */ |
|---|
| 398 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_tout_MASK 0x00000fff |
|---|
| 399 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_tout_SHIFT 0 |
|---|
| 400 | #define BCHP_BICAP_FIFO_INACT_TIMEOUT_tout_DEFAULT 0x00000000 |
|---|
| 401 | |
|---|
| 402 | /*************************************************************************** |
|---|
| 403 | *FIFO_DATA - BICAP FIFO DATA REGISTER |
|---|
| 404 | ***************************************************************************/ |
|---|
| 405 | /* BICAP :: FIFO_DATA :: reserved0 [31:14] */ |
|---|
| 406 | #define BCHP_BICAP_FIFO_DATA_reserved0_MASK 0xffffc000 |
|---|
| 407 | #define BCHP_BICAP_FIFO_DATA_reserved0_SHIFT 14 |
|---|
| 408 | |
|---|
| 409 | /* BICAP :: FIFO_DATA :: insig_source [13:13] */ |
|---|
| 410 | #define BCHP_BICAP_FIFO_DATA_insig_source_MASK 0x00002000 |
|---|
| 411 | #define BCHP_BICAP_FIFO_DATA_insig_source_SHIFT 13 |
|---|
| 412 | |
|---|
| 413 | /* BICAP :: FIFO_DATA :: edge_pol [12:12] */ |
|---|
| 414 | #define BCHP_BICAP_FIFO_DATA_edge_pol_MASK 0x00001000 |
|---|
| 415 | #define BCHP_BICAP_FIFO_DATA_edge_pol_SHIFT 12 |
|---|
| 416 | |
|---|
| 417 | /* BICAP :: FIFO_DATA :: data [11:00] */ |
|---|
| 418 | #define BCHP_BICAP_FIFO_DATA_data_MASK 0x00000fff |
|---|
| 419 | #define BCHP_BICAP_FIFO_DATA_data_SHIFT 0 |
|---|
| 420 | |
|---|
| 421 | /*************************************************************************** |
|---|
| 422 | *FIFO_CONTROL - BICAP FIFO CONTROL |
|---|
| 423 | ***************************************************************************/ |
|---|
| 424 | /* BICAP :: FIFO_CONTROL :: reserved0 [31:14] */ |
|---|
| 425 | #define BCHP_BICAP_FIFO_CONTROL_reserved0_MASK 0xffffc000 |
|---|
| 426 | #define BCHP_BICAP_FIFO_CONTROL_reserved0_SHIFT 14 |
|---|
| 427 | |
|---|
| 428 | /* BICAP :: FIFO_CONTROL :: fifo_depth [13:08] */ |
|---|
| 429 | #define BCHP_BICAP_FIFO_CONTROL_fifo_depth_MASK 0x00003f00 |
|---|
| 430 | #define BCHP_BICAP_FIFO_CONTROL_fifo_depth_SHIFT 8 |
|---|
| 431 | |
|---|
| 432 | /* BICAP :: FIFO_CONTROL :: reserved1 [07:07] */ |
|---|
| 433 | #define BCHP_BICAP_FIFO_CONTROL_reserved1_MASK 0x00000080 |
|---|
| 434 | #define BCHP_BICAP_FIFO_CONTROL_reserved1_SHIFT 7 |
|---|
| 435 | |
|---|
| 436 | /* BICAP :: FIFO_CONTROL :: trig_lvl [06:01] */ |
|---|
| 437 | #define BCHP_BICAP_FIFO_CONTROL_trig_lvl_MASK 0x0000007e |
|---|
| 438 | #define BCHP_BICAP_FIFO_CONTROL_trig_lvl_SHIFT 1 |
|---|
| 439 | #define BCHP_BICAP_FIFO_CONTROL_trig_lvl_DEFAULT 0x00000000 |
|---|
| 440 | |
|---|
| 441 | /* BICAP :: FIFO_CONTROL :: reset [00:00] */ |
|---|
| 442 | #define BCHP_BICAP_FIFO_CONTROL_reset_MASK 0x00000001 |
|---|
| 443 | #define BCHP_BICAP_FIFO_CONTROL_reset_SHIFT 0 |
|---|
| 444 | #define BCHP_BICAP_FIFO_CONTROL_reset_DEFAULT 0x00000000 |
|---|
| 445 | |
|---|
| 446 | /*************************************************************************** |
|---|
| 447 | *STATUS - BICAP FIFO and TIMEOUT STATUS |
|---|
| 448 | ***************************************************************************/ |
|---|
| 449 | /* BICAP :: STATUS :: reserved0 [31:16] */ |
|---|
| 450 | #define BCHP_BICAP_STATUS_reserved0_MASK 0xffff0000 |
|---|
| 451 | #define BCHP_BICAP_STATUS_reserved0_SHIFT 16 |
|---|
| 452 | |
|---|
| 453 | /* BICAP :: STATUS :: fifo_count [15:09] */ |
|---|
| 454 | #define BCHP_BICAP_STATUS_fifo_count_MASK 0x0000fe00 |
|---|
| 455 | #define BCHP_BICAP_STATUS_fifo_count_SHIFT 9 |
|---|
| 456 | #define BCHP_BICAP_STATUS_fifo_count_DEFAULT 0x00000000 |
|---|
| 457 | |
|---|
| 458 | /* BICAP :: STATUS :: fifo_full [08:08] */ |
|---|
| 459 | #define BCHP_BICAP_STATUS_fifo_full_MASK 0x00000100 |
|---|
| 460 | #define BCHP_BICAP_STATUS_fifo_full_SHIFT 8 |
|---|
| 461 | #define BCHP_BICAP_STATUS_fifo_full_DEFAULT 0x00000000 |
|---|
| 462 | |
|---|
| 463 | /* BICAP :: STATUS :: fifo_empty [07:07] */ |
|---|
| 464 | #define BCHP_BICAP_STATUS_fifo_empty_MASK 0x00000080 |
|---|
| 465 | #define BCHP_BICAP_STATUS_fifo_empty_SHIFT 7 |
|---|
| 466 | #define BCHP_BICAP_STATUS_fifo_empty_DEFAULT 0x00000001 |
|---|
| 467 | |
|---|
| 468 | /* BICAP :: STATUS :: fifo_overflow [06:06] */ |
|---|
| 469 | #define BCHP_BICAP_STATUS_fifo_overflow_MASK 0x00000040 |
|---|
| 470 | #define BCHP_BICAP_STATUS_fifo_overflow_SHIFT 6 |
|---|
| 471 | #define BCHP_BICAP_STATUS_fifo_overflow_DEFAULT 0x00000000 |
|---|
| 472 | |
|---|
| 473 | /* BICAP :: STATUS :: fifo_lvl_event [05:05] */ |
|---|
| 474 | #define BCHP_BICAP_STATUS_fifo_lvl_event_MASK 0x00000020 |
|---|
| 475 | #define BCHP_BICAP_STATUS_fifo_lvl_event_SHIFT 5 |
|---|
| 476 | #define BCHP_BICAP_STATUS_fifo_lvl_event_DEFAULT 0x00000000 |
|---|
| 477 | |
|---|
| 478 | /* BICAP :: STATUS :: fifo_inact_event [04:04] */ |
|---|
| 479 | #define BCHP_BICAP_STATUS_fifo_inact_event_MASK 0x00000010 |
|---|
| 480 | #define BCHP_BICAP_STATUS_fifo_inact_event_SHIFT 4 |
|---|
| 481 | #define BCHP_BICAP_STATUS_fifo_inact_event_DEFAULT 0x00000000 |
|---|
| 482 | |
|---|
| 483 | /* BICAP :: STATUS :: timeout3_event [03:03] */ |
|---|
| 484 | #define BCHP_BICAP_STATUS_timeout3_event_MASK 0x00000008 |
|---|
| 485 | #define BCHP_BICAP_STATUS_timeout3_event_SHIFT 3 |
|---|
| 486 | #define BCHP_BICAP_STATUS_timeout3_event_DEFAULT 0x00000000 |
|---|
| 487 | |
|---|
| 488 | /* BICAP :: STATUS :: timeout2_event [02:02] */ |
|---|
| 489 | #define BCHP_BICAP_STATUS_timeout2_event_MASK 0x00000004 |
|---|
| 490 | #define BCHP_BICAP_STATUS_timeout2_event_SHIFT 2 |
|---|
| 491 | #define BCHP_BICAP_STATUS_timeout2_event_DEFAULT 0x00000000 |
|---|
| 492 | |
|---|
| 493 | /* BICAP :: STATUS :: timeout1_event [01:01] */ |
|---|
| 494 | #define BCHP_BICAP_STATUS_timeout1_event_MASK 0x00000002 |
|---|
| 495 | #define BCHP_BICAP_STATUS_timeout1_event_SHIFT 1 |
|---|
| 496 | #define BCHP_BICAP_STATUS_timeout1_event_DEFAULT 0x00000000 |
|---|
| 497 | |
|---|
| 498 | /* BICAP :: STATUS :: timeout0_event [00:00] */ |
|---|
| 499 | #define BCHP_BICAP_STATUS_timeout0_event_MASK 0x00000001 |
|---|
| 500 | #define BCHP_BICAP_STATUS_timeout0_event_SHIFT 0 |
|---|
| 501 | #define BCHP_BICAP_STATUS_timeout0_event_DEFAULT 0x00000000 |
|---|
| 502 | |
|---|
| 503 | /*************************************************************************** |
|---|
| 504 | *PWC0 - BICAP PULSE WIDTH COUNTER VALUE FOR INPUT 0 |
|---|
| 505 | ***************************************************************************/ |
|---|
| 506 | /* BICAP :: PWC0 :: reserved0 [31:12] */ |
|---|
| 507 | #define BCHP_BICAP_PWC0_reserved0_MASK 0xfffff000 |
|---|
| 508 | #define BCHP_BICAP_PWC0_reserved0_SHIFT 12 |
|---|
| 509 | |
|---|
| 510 | /* BICAP :: PWC0 :: count [11:00] */ |
|---|
| 511 | #define BCHP_BICAP_PWC0_count_MASK 0x00000fff |
|---|
| 512 | #define BCHP_BICAP_PWC0_count_SHIFT 0 |
|---|
| 513 | #define BCHP_BICAP_PWC0_count_DEFAULT 0x00000000 |
|---|
| 514 | |
|---|
| 515 | /*************************************************************************** |
|---|
| 516 | *PWC1 - BICAP PULSE WIDTH COUNTER VALUE FOR INPUT 1 |
|---|
| 517 | ***************************************************************************/ |
|---|
| 518 | /* BICAP :: PWC1 :: reserved0 [31:12] */ |
|---|
| 519 | #define BCHP_BICAP_PWC1_reserved0_MASK 0xfffff000 |
|---|
| 520 | #define BCHP_BICAP_PWC1_reserved0_SHIFT 12 |
|---|
| 521 | |
|---|
| 522 | /* BICAP :: PWC1 :: count [11:00] */ |
|---|
| 523 | #define BCHP_BICAP_PWC1_count_MASK 0x00000fff |
|---|
| 524 | #define BCHP_BICAP_PWC1_count_SHIFT 0 |
|---|
| 525 | #define BCHP_BICAP_PWC1_count_DEFAULT 0x00000000 |
|---|
| 526 | |
|---|
| 527 | #endif /* #ifndef BCHP_BICAP_H__ */ |
|---|
| 528 | |
|---|
| 529 | /* End of File */ |
|---|