| 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_uarta.h $ |
|---|
| 12 | * $brcm_Revision: Hydra_Software_Devel/2 $ |
|---|
| 13 | * $brcm_Date: 2/7/12 1:43p $ |
|---|
| 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_uarta.h $ |
|---|
| 34 | * |
|---|
| 35 | * Hydra_Software_Devel/2 2/7/12 1:43p pntruong |
|---|
| 36 | * SW7552-89: Synced up with central rdb. |
|---|
| 37 | * |
|---|
| 38 | ***************************************************************************/ |
|---|
| 39 | |
|---|
| 40 | #ifndef BCHP_UARTA_H__ |
|---|
| 41 | #define BCHP_UARTA_H__ |
|---|
| 42 | |
|---|
| 43 | /*************************************************************************** |
|---|
| 44 | *UARTA - UART A |
|---|
| 45 | ***************************************************************************/ |
|---|
| 46 | #define BCHP_UARTA_RBR 0x00406800 /* Receive Buffer Register */ |
|---|
| 47 | #define BCHP_UARTA_THR 0x00406800 /* Transmit Holding Register */ |
|---|
| 48 | #define BCHP_UARTA_DLH 0x00406804 /* Divisor Latch High */ |
|---|
| 49 | #define BCHP_UARTA_DLL 0x00406800 /* Divisor Latch Low */ |
|---|
| 50 | #define BCHP_UARTA_IER 0x00406804 /* Interrupt Enable Register */ |
|---|
| 51 | #define BCHP_UARTA_IIR 0x00406808 /* Interrupt Identity Register */ |
|---|
| 52 | #define BCHP_UARTA_FCR 0x00406808 /* FIFO Control Register */ |
|---|
| 53 | #define BCHP_UARTA_LCR 0x0040680c /* Line Control Register */ |
|---|
| 54 | #define BCHP_UARTA_MCR 0x00406810 /* Modem Control Register */ |
|---|
| 55 | #define BCHP_UARTA_LSR 0x00406814 /* Line Status Register */ |
|---|
| 56 | #define BCHP_UARTA_MSR 0x00406818 /* Modem Status Register */ |
|---|
| 57 | #define BCHP_UARTA_SCR 0x0040681c /* Scratchpad Register */ |
|---|
| 58 | |
|---|
| 59 | /*************************************************************************** |
|---|
| 60 | *RBR - Receive Buffer Register |
|---|
| 61 | ***************************************************************************/ |
|---|
| 62 | /* UARTA :: RBR :: reserved0 [31:08] */ |
|---|
| 63 | #define BCHP_UARTA_RBR_reserved0_MASK 0xffffff00 |
|---|
| 64 | #define BCHP_UARTA_RBR_reserved0_SHIFT 8 |
|---|
| 65 | |
|---|
| 66 | /* UARTA :: RBR :: RBR [07:00] */ |
|---|
| 67 | #define BCHP_UARTA_RBR_RBR_MASK 0x000000ff |
|---|
| 68 | #define BCHP_UARTA_RBR_RBR_SHIFT 0 |
|---|
| 69 | #define BCHP_UARTA_RBR_RBR_DEFAULT 0x00000000 |
|---|
| 70 | |
|---|
| 71 | /*************************************************************************** |
|---|
| 72 | *THR - Transmit Holding Register |
|---|
| 73 | ***************************************************************************/ |
|---|
| 74 | /* UARTA :: THR :: reserved0 [31:08] */ |
|---|
| 75 | #define BCHP_UARTA_THR_reserved0_MASK 0xffffff00 |
|---|
| 76 | #define BCHP_UARTA_THR_reserved0_SHIFT 8 |
|---|
| 77 | |
|---|
| 78 | /* UARTA :: THR :: THR [07:00] */ |
|---|
| 79 | #define BCHP_UARTA_THR_THR_MASK 0x000000ff |
|---|
| 80 | #define BCHP_UARTA_THR_THR_SHIFT 0 |
|---|
| 81 | #define BCHP_UARTA_THR_THR_DEFAULT 0x00000000 |
|---|
| 82 | |
|---|
| 83 | /*************************************************************************** |
|---|
| 84 | *DLH - Divisor Latch High |
|---|
| 85 | ***************************************************************************/ |
|---|
| 86 | /* UARTA :: DLH :: reserved0 [31:08] */ |
|---|
| 87 | #define BCHP_UARTA_DLH_reserved0_MASK 0xffffff00 |
|---|
| 88 | #define BCHP_UARTA_DLH_reserved0_SHIFT 8 |
|---|
| 89 | |
|---|
| 90 | /* UARTA :: DLH :: DLH [07:00] */ |
|---|
| 91 | #define BCHP_UARTA_DLH_DLH_MASK 0x000000ff |
|---|
| 92 | #define BCHP_UARTA_DLH_DLH_SHIFT 0 |
|---|
| 93 | #define BCHP_UARTA_DLH_DLH_DEFAULT 0x00000000 |
|---|
| 94 | |
|---|
| 95 | /*************************************************************************** |
|---|
| 96 | *DLL - Divisor Latch Low |
|---|
| 97 | ***************************************************************************/ |
|---|
| 98 | /* UARTA :: DLL :: reserved0 [31:08] */ |
|---|
| 99 | #define BCHP_UARTA_DLL_reserved0_MASK 0xffffff00 |
|---|
| 100 | #define BCHP_UARTA_DLL_reserved0_SHIFT 8 |
|---|
| 101 | |
|---|
| 102 | /* UARTA :: DLL :: DLL [07:00] */ |
|---|
| 103 | #define BCHP_UARTA_DLL_DLL_MASK 0x000000ff |
|---|
| 104 | #define BCHP_UARTA_DLL_DLL_SHIFT 0 |
|---|
| 105 | #define BCHP_UARTA_DLL_DLL_DEFAULT 0x00000000 |
|---|
| 106 | |
|---|
| 107 | /*************************************************************************** |
|---|
| 108 | *IER - Interrupt Enable Register |
|---|
| 109 | ***************************************************************************/ |
|---|
| 110 | /* UARTA :: IER :: reserved0 [31:08] */ |
|---|
| 111 | #define BCHP_UARTA_IER_reserved0_MASK 0xffffff00 |
|---|
| 112 | #define BCHP_UARTA_IER_reserved0_SHIFT 8 |
|---|
| 113 | |
|---|
| 114 | /* UARTA :: IER :: PTIME [07:07] */ |
|---|
| 115 | #define BCHP_UARTA_IER_PTIME_MASK 0x00000080 |
|---|
| 116 | #define BCHP_UARTA_IER_PTIME_SHIFT 7 |
|---|
| 117 | #define BCHP_UARTA_IER_PTIME_DEFAULT 0x00000000 |
|---|
| 118 | |
|---|
| 119 | /* UARTA :: IER :: reserved1 [06:04] */ |
|---|
| 120 | #define BCHP_UARTA_IER_reserved1_MASK 0x00000070 |
|---|
| 121 | #define BCHP_UARTA_IER_reserved1_SHIFT 4 |
|---|
| 122 | |
|---|
| 123 | /* UARTA :: IER :: EDSSI [03:03] */ |
|---|
| 124 | #define BCHP_UARTA_IER_EDSSI_MASK 0x00000008 |
|---|
| 125 | #define BCHP_UARTA_IER_EDSSI_SHIFT 3 |
|---|
| 126 | #define BCHP_UARTA_IER_EDSSI_DEFAULT 0x00000000 |
|---|
| 127 | |
|---|
| 128 | /* UARTA :: IER :: ELSI [02:02] */ |
|---|
| 129 | #define BCHP_UARTA_IER_ELSI_MASK 0x00000004 |
|---|
| 130 | #define BCHP_UARTA_IER_ELSI_SHIFT 2 |
|---|
| 131 | #define BCHP_UARTA_IER_ELSI_DEFAULT 0x00000000 |
|---|
| 132 | |
|---|
| 133 | /* UARTA :: IER :: ETBEI [01:01] */ |
|---|
| 134 | #define BCHP_UARTA_IER_ETBEI_MASK 0x00000002 |
|---|
| 135 | #define BCHP_UARTA_IER_ETBEI_SHIFT 1 |
|---|
| 136 | #define BCHP_UARTA_IER_ETBEI_DEFAULT 0x00000000 |
|---|
| 137 | |
|---|
| 138 | /* UARTA :: IER :: ERBFI [00:00] */ |
|---|
| 139 | #define BCHP_UARTA_IER_ERBFI_MASK 0x00000001 |
|---|
| 140 | #define BCHP_UARTA_IER_ERBFI_SHIFT 0 |
|---|
| 141 | #define BCHP_UARTA_IER_ERBFI_DEFAULT 0x00000000 |
|---|
| 142 | |
|---|
| 143 | /*************************************************************************** |
|---|
| 144 | *IIR - Interrupt Identity Register |
|---|
| 145 | ***************************************************************************/ |
|---|
| 146 | /* UARTA :: IIR :: reserved0 [31:08] */ |
|---|
| 147 | #define BCHP_UARTA_IIR_reserved0_MASK 0xffffff00 |
|---|
| 148 | #define BCHP_UARTA_IIR_reserved0_SHIFT 8 |
|---|
| 149 | |
|---|
| 150 | /* UARTA :: IIR :: FIFOSE [07:06] */ |
|---|
| 151 | #define BCHP_UARTA_IIR_FIFOSE_MASK 0x000000c0 |
|---|
| 152 | #define BCHP_UARTA_IIR_FIFOSE_SHIFT 6 |
|---|
| 153 | #define BCHP_UARTA_IIR_FIFOSE_DEFAULT 0x00000000 |
|---|
| 154 | |
|---|
| 155 | /* UARTA :: IIR :: reserved1 [05:04] */ |
|---|
| 156 | #define BCHP_UARTA_IIR_reserved1_MASK 0x00000030 |
|---|
| 157 | #define BCHP_UARTA_IIR_reserved1_SHIFT 4 |
|---|
| 158 | |
|---|
| 159 | /* UARTA :: IIR :: IID [03:00] */ |
|---|
| 160 | #define BCHP_UARTA_IIR_IID_MASK 0x0000000f |
|---|
| 161 | #define BCHP_UARTA_IIR_IID_SHIFT 0 |
|---|
| 162 | #define BCHP_UARTA_IIR_IID_DEFAULT 0x00000001 |
|---|
| 163 | |
|---|
| 164 | /*************************************************************************** |
|---|
| 165 | *FCR - FIFO Control Register |
|---|
| 166 | ***************************************************************************/ |
|---|
| 167 | /* UARTA :: FCR :: reserved0 [31:08] */ |
|---|
| 168 | #define BCHP_UARTA_FCR_reserved0_MASK 0xffffff00 |
|---|
| 169 | #define BCHP_UARTA_FCR_reserved0_SHIFT 8 |
|---|
| 170 | |
|---|
| 171 | /* UARTA :: FCR :: RT [07:06] */ |
|---|
| 172 | #define BCHP_UARTA_FCR_RT_MASK 0x000000c0 |
|---|
| 173 | #define BCHP_UARTA_FCR_RT_SHIFT 6 |
|---|
| 174 | #define BCHP_UARTA_FCR_RT_DEFAULT 0x00000000 |
|---|
| 175 | |
|---|
| 176 | /* UARTA :: FCR :: TET [05:04] */ |
|---|
| 177 | #define BCHP_UARTA_FCR_TET_MASK 0x00000030 |
|---|
| 178 | #define BCHP_UARTA_FCR_TET_SHIFT 4 |
|---|
| 179 | #define BCHP_UARTA_FCR_TET_DEFAULT 0x00000000 |
|---|
| 180 | |
|---|
| 181 | /* UARTA :: FCR :: DMAM [03:03] */ |
|---|
| 182 | #define BCHP_UARTA_FCR_DMAM_MASK 0x00000008 |
|---|
| 183 | #define BCHP_UARTA_FCR_DMAM_SHIFT 3 |
|---|
| 184 | #define BCHP_UARTA_FCR_DMAM_DEFAULT 0x00000000 |
|---|
| 185 | |
|---|
| 186 | /* UARTA :: FCR :: XFIFOR [02:02] */ |
|---|
| 187 | #define BCHP_UARTA_FCR_XFIFOR_MASK 0x00000004 |
|---|
| 188 | #define BCHP_UARTA_FCR_XFIFOR_SHIFT 2 |
|---|
| 189 | #define BCHP_UARTA_FCR_XFIFOR_DEFAULT 0x00000000 |
|---|
| 190 | |
|---|
| 191 | /* UARTA :: FCR :: RFIFOR [01:01] */ |
|---|
| 192 | #define BCHP_UARTA_FCR_RFIFOR_MASK 0x00000002 |
|---|
| 193 | #define BCHP_UARTA_FCR_RFIFOR_SHIFT 1 |
|---|
| 194 | #define BCHP_UARTA_FCR_RFIFOR_DEFAULT 0x00000000 |
|---|
| 195 | |
|---|
| 196 | /* UARTA :: FCR :: FIFOE [00:00] */ |
|---|
| 197 | #define BCHP_UARTA_FCR_FIFOE_MASK 0x00000001 |
|---|
| 198 | #define BCHP_UARTA_FCR_FIFOE_SHIFT 0 |
|---|
| 199 | #define BCHP_UARTA_FCR_FIFOE_DEFAULT 0x00000000 |
|---|
| 200 | |
|---|
| 201 | /*************************************************************************** |
|---|
| 202 | *LCR - Line Control Register |
|---|
| 203 | ***************************************************************************/ |
|---|
| 204 | /* UARTA :: LCR :: reserved0 [31:08] */ |
|---|
| 205 | #define BCHP_UARTA_LCR_reserved0_MASK 0xffffff00 |
|---|
| 206 | #define BCHP_UARTA_LCR_reserved0_SHIFT 8 |
|---|
| 207 | |
|---|
| 208 | /* UARTA :: LCR :: DLAB [07:07] */ |
|---|
| 209 | #define BCHP_UARTA_LCR_DLAB_MASK 0x00000080 |
|---|
| 210 | #define BCHP_UARTA_LCR_DLAB_SHIFT 7 |
|---|
| 211 | #define BCHP_UARTA_LCR_DLAB_DEFAULT 0x00000000 |
|---|
| 212 | |
|---|
| 213 | /* UARTA :: LCR :: BC [06:06] */ |
|---|
| 214 | #define BCHP_UARTA_LCR_BC_MASK 0x00000040 |
|---|
| 215 | #define BCHP_UARTA_LCR_BC_SHIFT 6 |
|---|
| 216 | #define BCHP_UARTA_LCR_BC_DEFAULT 0x00000000 |
|---|
| 217 | |
|---|
| 218 | /* UARTA :: LCR :: reserved1 [05:05] */ |
|---|
| 219 | #define BCHP_UARTA_LCR_reserved1_MASK 0x00000020 |
|---|
| 220 | #define BCHP_UARTA_LCR_reserved1_SHIFT 5 |
|---|
| 221 | |
|---|
| 222 | /* UARTA :: LCR :: EPS [04:04] */ |
|---|
| 223 | #define BCHP_UARTA_LCR_EPS_MASK 0x00000010 |
|---|
| 224 | #define BCHP_UARTA_LCR_EPS_SHIFT 4 |
|---|
| 225 | #define BCHP_UARTA_LCR_EPS_DEFAULT 0x00000000 |
|---|
| 226 | |
|---|
| 227 | /* UARTA :: LCR :: PEN [03:03] */ |
|---|
| 228 | #define BCHP_UARTA_LCR_PEN_MASK 0x00000008 |
|---|
| 229 | #define BCHP_UARTA_LCR_PEN_SHIFT 3 |
|---|
| 230 | #define BCHP_UARTA_LCR_PEN_DEFAULT 0x00000000 |
|---|
| 231 | |
|---|
| 232 | /* UARTA :: LCR :: STOP [02:02] */ |
|---|
| 233 | #define BCHP_UARTA_LCR_STOP_MASK 0x00000004 |
|---|
| 234 | #define BCHP_UARTA_LCR_STOP_SHIFT 2 |
|---|
| 235 | #define BCHP_UARTA_LCR_STOP_DEFAULT 0x00000000 |
|---|
| 236 | |
|---|
| 237 | /* UARTA :: LCR :: DLS [01:00] */ |
|---|
| 238 | #define BCHP_UARTA_LCR_DLS_MASK 0x00000003 |
|---|
| 239 | #define BCHP_UARTA_LCR_DLS_SHIFT 0 |
|---|
| 240 | #define BCHP_UARTA_LCR_DLS_DEFAULT 0x00000000 |
|---|
| 241 | |
|---|
| 242 | /*************************************************************************** |
|---|
| 243 | *MCR - Modem Control Register |
|---|
| 244 | ***************************************************************************/ |
|---|
| 245 | /* UARTA :: MCR :: reserved0 [31:07] */ |
|---|
| 246 | #define BCHP_UARTA_MCR_reserved0_MASK 0xffffff80 |
|---|
| 247 | #define BCHP_UARTA_MCR_reserved0_SHIFT 7 |
|---|
| 248 | |
|---|
| 249 | /* UARTA :: MCR :: SIRE [06:06] */ |
|---|
| 250 | #define BCHP_UARTA_MCR_SIRE_MASK 0x00000040 |
|---|
| 251 | #define BCHP_UARTA_MCR_SIRE_SHIFT 6 |
|---|
| 252 | #define BCHP_UARTA_MCR_SIRE_DEFAULT 0x00000000 |
|---|
| 253 | |
|---|
| 254 | /* UARTA :: MCR :: AFCE [05:05] */ |
|---|
| 255 | #define BCHP_UARTA_MCR_AFCE_MASK 0x00000020 |
|---|
| 256 | #define BCHP_UARTA_MCR_AFCE_SHIFT 5 |
|---|
| 257 | #define BCHP_UARTA_MCR_AFCE_DEFAULT 0x00000000 |
|---|
| 258 | |
|---|
| 259 | /* UARTA :: MCR :: LB [04:04] */ |
|---|
| 260 | #define BCHP_UARTA_MCR_LB_MASK 0x00000010 |
|---|
| 261 | #define BCHP_UARTA_MCR_LB_SHIFT 4 |
|---|
| 262 | #define BCHP_UARTA_MCR_LB_DEFAULT 0x00000000 |
|---|
| 263 | |
|---|
| 264 | /* UARTA :: MCR :: OUT2 [03:03] */ |
|---|
| 265 | #define BCHP_UARTA_MCR_OUT2_MASK 0x00000008 |
|---|
| 266 | #define BCHP_UARTA_MCR_OUT2_SHIFT 3 |
|---|
| 267 | #define BCHP_UARTA_MCR_OUT2_DEFAULT 0x00000000 |
|---|
| 268 | |
|---|
| 269 | /* UARTA :: MCR :: OUT1 [02:02] */ |
|---|
| 270 | #define BCHP_UARTA_MCR_OUT1_MASK 0x00000004 |
|---|
| 271 | #define BCHP_UARTA_MCR_OUT1_SHIFT 2 |
|---|
| 272 | #define BCHP_UARTA_MCR_OUT1_DEFAULT 0x00000000 |
|---|
| 273 | |
|---|
| 274 | /* UARTA :: MCR :: RTS [01:01] */ |
|---|
| 275 | #define BCHP_UARTA_MCR_RTS_MASK 0x00000002 |
|---|
| 276 | #define BCHP_UARTA_MCR_RTS_SHIFT 1 |
|---|
| 277 | #define BCHP_UARTA_MCR_RTS_DEFAULT 0x00000000 |
|---|
| 278 | |
|---|
| 279 | /* UARTA :: MCR :: DTR [00:00] */ |
|---|
| 280 | #define BCHP_UARTA_MCR_DTR_MASK 0x00000001 |
|---|
| 281 | #define BCHP_UARTA_MCR_DTR_SHIFT 0 |
|---|
| 282 | #define BCHP_UARTA_MCR_DTR_DEFAULT 0x00000000 |
|---|
| 283 | |
|---|
| 284 | /*************************************************************************** |
|---|
| 285 | *LSR - Line Status Register |
|---|
| 286 | ***************************************************************************/ |
|---|
| 287 | /* UARTA :: LSR :: reserved0 [31:08] */ |
|---|
| 288 | #define BCHP_UARTA_LSR_reserved0_MASK 0xffffff00 |
|---|
| 289 | #define BCHP_UARTA_LSR_reserved0_SHIFT 8 |
|---|
| 290 | |
|---|
| 291 | /* UARTA :: LSR :: RFE [07:07] */ |
|---|
| 292 | #define BCHP_UARTA_LSR_RFE_MASK 0x00000080 |
|---|
| 293 | #define BCHP_UARTA_LSR_RFE_SHIFT 7 |
|---|
| 294 | #define BCHP_UARTA_LSR_RFE_DEFAULT 0x00000000 |
|---|
| 295 | |
|---|
| 296 | /* UARTA :: LSR :: TEMT [06:06] */ |
|---|
| 297 | #define BCHP_UARTA_LSR_TEMT_MASK 0x00000040 |
|---|
| 298 | #define BCHP_UARTA_LSR_TEMT_SHIFT 6 |
|---|
| 299 | #define BCHP_UARTA_LSR_TEMT_DEFAULT 0x00000001 |
|---|
| 300 | |
|---|
| 301 | /* UARTA :: LSR :: THRE [05:05] */ |
|---|
| 302 | #define BCHP_UARTA_LSR_THRE_MASK 0x00000020 |
|---|
| 303 | #define BCHP_UARTA_LSR_THRE_SHIFT 5 |
|---|
| 304 | #define BCHP_UARTA_LSR_THRE_DEFAULT 0x00000001 |
|---|
| 305 | |
|---|
| 306 | /* UARTA :: LSR :: BI [04:04] */ |
|---|
| 307 | #define BCHP_UARTA_LSR_BI_MASK 0x00000010 |
|---|
| 308 | #define BCHP_UARTA_LSR_BI_SHIFT 4 |
|---|
| 309 | #define BCHP_UARTA_LSR_BI_DEFAULT 0x00000000 |
|---|
| 310 | |
|---|
| 311 | /* UARTA :: LSR :: FE [03:03] */ |
|---|
| 312 | #define BCHP_UARTA_LSR_FE_MASK 0x00000008 |
|---|
| 313 | #define BCHP_UARTA_LSR_FE_SHIFT 3 |
|---|
| 314 | #define BCHP_UARTA_LSR_FE_DEFAULT 0x00000000 |
|---|
| 315 | |
|---|
| 316 | /* UARTA :: LSR :: PE [02:02] */ |
|---|
| 317 | #define BCHP_UARTA_LSR_PE_MASK 0x00000004 |
|---|
| 318 | #define BCHP_UARTA_LSR_PE_SHIFT 2 |
|---|
| 319 | #define BCHP_UARTA_LSR_PE_DEFAULT 0x00000000 |
|---|
| 320 | |
|---|
| 321 | /* UARTA :: LSR :: OE [01:01] */ |
|---|
| 322 | #define BCHP_UARTA_LSR_OE_MASK 0x00000002 |
|---|
| 323 | #define BCHP_UARTA_LSR_OE_SHIFT 1 |
|---|
| 324 | #define BCHP_UARTA_LSR_OE_DEFAULT 0x00000000 |
|---|
| 325 | |
|---|
| 326 | /* UARTA :: LSR :: DR [00:00] */ |
|---|
| 327 | #define BCHP_UARTA_LSR_DR_MASK 0x00000001 |
|---|
| 328 | #define BCHP_UARTA_LSR_DR_SHIFT 0 |
|---|
| 329 | #define BCHP_UARTA_LSR_DR_DEFAULT 0x00000000 |
|---|
| 330 | |
|---|
| 331 | /*************************************************************************** |
|---|
| 332 | *MSR - Modem Status Register |
|---|
| 333 | ***************************************************************************/ |
|---|
| 334 | /* UARTA :: MSR :: reserved0 [31:08] */ |
|---|
| 335 | #define BCHP_UARTA_MSR_reserved0_MASK 0xffffff00 |
|---|
| 336 | #define BCHP_UARTA_MSR_reserved0_SHIFT 8 |
|---|
| 337 | |
|---|
| 338 | /* UARTA :: MSR :: DCD [07:07] */ |
|---|
| 339 | #define BCHP_UARTA_MSR_DCD_MASK 0x00000080 |
|---|
| 340 | #define BCHP_UARTA_MSR_DCD_SHIFT 7 |
|---|
| 341 | #define BCHP_UARTA_MSR_DCD_DEFAULT 0x00000000 |
|---|
| 342 | |
|---|
| 343 | /* UARTA :: MSR :: RI [06:06] */ |
|---|
| 344 | #define BCHP_UARTA_MSR_RI_MASK 0x00000040 |
|---|
| 345 | #define BCHP_UARTA_MSR_RI_SHIFT 6 |
|---|
| 346 | #define BCHP_UARTA_MSR_RI_DEFAULT 0x00000000 |
|---|
| 347 | |
|---|
| 348 | /* UARTA :: MSR :: DSR [05:05] */ |
|---|
| 349 | #define BCHP_UARTA_MSR_DSR_MASK 0x00000020 |
|---|
| 350 | #define BCHP_UARTA_MSR_DSR_SHIFT 5 |
|---|
| 351 | #define BCHP_UARTA_MSR_DSR_DEFAULT 0x00000000 |
|---|
| 352 | |
|---|
| 353 | /* UARTA :: MSR :: CTS [04:04] */ |
|---|
| 354 | #define BCHP_UARTA_MSR_CTS_MASK 0x00000010 |
|---|
| 355 | #define BCHP_UARTA_MSR_CTS_SHIFT 4 |
|---|
| 356 | #define BCHP_UARTA_MSR_CTS_DEFAULT 0x00000000 |
|---|
| 357 | |
|---|
| 358 | /* UARTA :: MSR :: DDCD [03:03] */ |
|---|
| 359 | #define BCHP_UARTA_MSR_DDCD_MASK 0x00000008 |
|---|
| 360 | #define BCHP_UARTA_MSR_DDCD_SHIFT 3 |
|---|
| 361 | #define BCHP_UARTA_MSR_DDCD_DEFAULT 0x00000000 |
|---|
| 362 | |
|---|
| 363 | /* UARTA :: MSR :: TERI [02:02] */ |
|---|
| 364 | #define BCHP_UARTA_MSR_TERI_MASK 0x00000004 |
|---|
| 365 | #define BCHP_UARTA_MSR_TERI_SHIFT 2 |
|---|
| 366 | #define BCHP_UARTA_MSR_TERI_DEFAULT 0x00000000 |
|---|
| 367 | |
|---|
| 368 | /* UARTA :: MSR :: DDSR [01:01] */ |
|---|
| 369 | #define BCHP_UARTA_MSR_DDSR_MASK 0x00000002 |
|---|
| 370 | #define BCHP_UARTA_MSR_DDSR_SHIFT 1 |
|---|
| 371 | #define BCHP_UARTA_MSR_DDSR_DEFAULT 0x00000000 |
|---|
| 372 | |
|---|
| 373 | /* UARTA :: MSR :: DCTS [00:00] */ |
|---|
| 374 | #define BCHP_UARTA_MSR_DCTS_MASK 0x00000001 |
|---|
| 375 | #define BCHP_UARTA_MSR_DCTS_SHIFT 0 |
|---|
| 376 | #define BCHP_UARTA_MSR_DCTS_DEFAULT 0x00000000 |
|---|
| 377 | |
|---|
| 378 | /*************************************************************************** |
|---|
| 379 | *SCR - Scratchpad Register |
|---|
| 380 | ***************************************************************************/ |
|---|
| 381 | /* UARTA :: SCR :: reserved0 [31:08] */ |
|---|
| 382 | #define BCHP_UARTA_SCR_reserved0_MASK 0xffffff00 |
|---|
| 383 | #define BCHP_UARTA_SCR_reserved0_SHIFT 8 |
|---|
| 384 | |
|---|
| 385 | /* UARTA :: SCR :: SCR [07:00] */ |
|---|
| 386 | #define BCHP_UARTA_SCR_SCR_MASK 0x000000ff |
|---|
| 387 | #define BCHP_UARTA_SCR_SCR_SHIFT 0 |
|---|
| 388 | #define BCHP_UARTA_SCR_SCR_DEFAULT 0x00000000 |
|---|
| 389 | |
|---|
| 390 | #endif /* #ifndef BCHP_UARTA_H__ */ |
|---|
| 391 | |
|---|
| 392 | /* End of File */ |
|---|