Contiki 2.6

atmega128rfa1_registermap.h

Go to the documentation of this file.
00001 /**
00002  * @file
00003  * @brief This file contains RF230-formatted register definitions for the atmega128rfa1
00004  */
00005 /*   Copyright (c) 2008, Swedish Institute of Computer Science
00006 
00007    All rights reserved.
00008 
00009    Redistribution and use in source and binary forms, with or without
00010    modification, are permitted provided that the following conditions are met:
00011 
00012    * Redistributions of source code must retain the above copyright
00013      notice, this list of conditions and the following disclaimer.
00014    * Redistributions in binary form must reproduce the above copyright
00015      notice, this list of conditions and the following disclaimer in
00016      the documentation and/or other materials provided with the
00017      distribution.
00018    * Neither the name of the copyright holders nor the names of
00019      contributors may be used to endorse or promote products derived
00020      from this software without specific prior written permission.
00021 
00022   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00023   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00024   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00025   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00026   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00027   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00028   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00029   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00030   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00031   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00032   POSSIBILITY OF SUCH DAMAGE.
00033 */
00034 
00035 #ifndef PHY128RFA1_REGISTERMAP_EXTERNAL_H
00036 #define PHY128RFA1_REGISTERMAP_EXTERNAL_H
00037 
00038 /* RF230 register access is through SPI which transfers 8 bits address/8 bits data.
00039  * ATmega128rfa1 registers are defined in I/O space, e.g. in gcc /include/avr/iom128rfa1.h
00040  * A typical definition is #define TRX_STATUS _SFR_MEM8(0x141)
00041  * Registers can be read with a macro, but the args for subregisters don't expand properly so the actual address
00042  * is used with explicit _SFR_MEM8 in the subregister read/write routines.
00043  */
00044 #define RG_TRX_STATUS         TRX_STATUS
00045 #define SR_TRX_STATUS         0x141, 0x1f, 0
00046 #define SR_TRX_CMD            0x142, 0x1f, 0
00047 #define STATE_TRANSITION      (31)
00048 #define SR_TX_PWR             0x145, 0x0f, 0
00049 #define RG_VERSION_NUM        VERSION_NUM
00050 #define RG_MAN_ID_0           MAN_ID_0
00051 #define RG_IRQ_MASK           IRQ_MASK
00052 #define SR_MAX_FRAME_RETRIES  0x16C, 0xf0, 4
00053 #define SR_TX_AUTO_CRC_ON     0x144, 0x20, 5
00054 #define SR_TRAC_STATUS        0x142, 0xe0, 5
00055 #define SR_CHANNEL            0x148, 0x1f, 0
00056 #define SR_CCA_MODE           0x148, 0x60, 5
00057 #define SR_CCA_REQUEST        0x148, 0x80, 7
00058 #define RG_PAN_ID_0           PAN_ID_0
00059 #define RG_PAN_ID_1           PAN_ID_1
00060 #define RG_SHORT_ADDR_0       SHORT_ADDR_0
00061 #define RG_SHORT_ADDR_1       SHORT_ADDR_1
00062 #define RG_IEEE_ADDR_0        IEEE_ADDR_0
00063 #define RG_IEEE_ADDR_1        IEEE_ADDR_1
00064 #define RG_IEEE_ADDR_2        IEEE_ADDR_2
00065 #define RG_IEEE_ADDR_3        IEEE_ADDR_3
00066 #define RG_IEEE_ADDR_4        IEEE_ADDR_4
00067 #define RG_IEEE_ADDR_5        IEEE_ADDR_5
00068 #define RG_IEEE_ADDR_6        IEEE_ADDR_6
00069 #define RG_IEEE_ADDR_7        IEEE_ADDR_7
00070 //#define SR_ED_LEVEL           0x147, 0xff, 0
00071 #define RG_PHY_ED_LEVEL       PHY_ED_LEVEL
00072 #define RG_RX_SYN             RX_SYN
00073 #define SR_RSSI               0x146, 0x1f, 0
00074 #define SR_PLL_CF_START       0x15a, 0x80, 7
00075 #define SR_PLL_DCU_START      0x15b, 0x80, 7
00076 #define SR_MAX_CSMA_RETRIES   0x16c, 0x0e, 1
00077 #define RG_CSMA_BE            CSMA_BE
00078 #define RG_CSMA_SEED_0        CSMA_SEED_0
00079 #define RG_PHY_RSSI           PHY_RSSI
00080 //#define SR_CCA_CS_THRES       0x149, 0xf0, 4
00081 #define SR_CCA_ED_THRES        0x149, 0x0f, 0
00082 #define SR_CCA_DONE            0x141, 0x80, 7
00083 #define SR_CCA_STATUS          0x141, 0x40, 6
00084 #define SR_AACK_SET_PD         0x16e, 0x20, 5
00085 
00086 
00087 /* RF230 register assignments, for reference */
00088 #if 0
00089 #define HAVE_REGISTER_MAP (1)
00090 /** Offset for register TRX_STATUS */
00091 #define RG_TRX_STATUS                    (0x01)
00092 /** Access parameters for sub-register CCA_DONE in register @ref RG_TRX_STATUS */
00093 #define SR_CCA_DONE                  0x01, 0x80, 7
00094 /** Access parameters for sub-register CCA_STATUS in register @ref RG_TRX_STATUS */
00095 #define SR_CCA_STATUS                0x01, 0x40, 6
00096 #define SR_reserved_01_3             0x01, 0x20, 5
00097 /** Access parameters for sub-register TRX_STATUS in register @ref RG_TRX_STATUS */
00098 #define SR_TRX_STATUS                0x01, 0x1f, 0
00099 /** Constant P_ON for sub-register @ref SR_TRX_STATUS */
00100 #define P_ON                     (0)
00101 /** Constant BUSY_RX for sub-register @ref SR_TRX_STATUS */
00102 #define BUSY_RX                  (1)
00103 /** Constant BUSY_TX for sub-register @ref SR_TRX_STATUS */
00104 #define BUSY_TX                  (2)
00105 /** Constant RX_ON for sub-register @ref SR_TRX_STATUS */
00106 #define RX_ON                    (6)
00107 /** Constant TRX_OFF for sub-register @ref SR_TRX_STATUS */
00108 #define TRX_OFF                  (8)
00109 /** Constant PLL_ON for sub-register @ref SR_TRX_STATUS */
00110 #define PLL_ON                   (9)
00111 /** Constant SLEEP for sub-register @ref SR_TRX_STATUS */
00112 #define SLEEP                    (15)
00113 /** Constant BUSY_RX_AACK for sub-register @ref SR_TRX_STATUS */
00114 #define BUSY_RX_AACK             (17)
00115 /** Constant BUSY_TX_ARET for sub-register @ref SR_TRX_STATUS */
00116 #define BUSY_TX_ARET             (18)
00117 /** Constant RX_AACK_ON for sub-register @ref SR_TRX_STATUS */
00118 #define RX_AACK_ON               (22)
00119 /** Constant TX_ARET_ON for sub-register @ref SR_TRX_STATUS */
00120 #define TX_ARET_ON               (25)
00121 /** Constant RX_ON_NOCLK for sub-register @ref SR_TRX_STATUS */
00122 #define RX_ON_NOCLK              (28)
00123 /** Constant RX_AACK_ON_NOCLK for sub-register @ref SR_TRX_STATUS */
00124 #define RX_AACK_ON_NOCLK         (29)
00125 /** Constant BUSY_RX_AACK_NOCLK for sub-register @ref SR_TRX_STATUS */
00126 #define BUSY_RX_AACK_NOCLK       (30)
00127 /** Constant STATE_TRANSITION for sub-register @ref SR_TRX_STATUS */
00128 #define STATE_TRANSITION         (31)
00129 
00130 /** Offset for register TRX_STATE */
00131 #define RG_TRX_STATE                     (0x02)
00132 /** Access parameters for sub-register TRAC_STATUS in register @ref RG_TRX_STATE */
00133 #define SR_TRAC_STATUS               0x02, 0xe0, 5
00134 /** Access parameters for sub-register TRX_CMD in register @ref RG_TRX_STATE */
00135 #define SR_TRX_CMD                   0x02, 0x1f, 0
00136 /** Constant CMD_NOP for sub-register @ref SR_TRX_CMD */
00137 #define CMD_NOP                  (0)
00138 /** Constant CMD_TX_START for sub-register @ref SR_TRX_CMD */
00139 #define CMD_TX_START             (2)
00140 /** Constant CMD_FORCE_TRX_OFF for sub-register @ref SR_TRX_CMD */
00141 #define CMD_FORCE_TRX_OFF        (3)
00142 /** Constant CMD_RX_ON for sub-register @ref SR_TRX_CMD */
00143 #define CMD_RX_ON                (6)
00144 /** Constant CMD_TRX_OFF for sub-register @ref SR_TRX_CMD */
00145 #define CMD_TRX_OFF              (8)
00146 /** Constant CMD_PLL_ON for sub-register @ref SR_TRX_CMD */
00147 #define CMD_PLL_ON               (9)
00148 /** Constant CMD_RX_AACK_ON for sub-register @ref SR_TRX_CMD */
00149 #define CMD_RX_AACK_ON           (22)
00150 /** Constant CMD_TX_ARET_ON for sub-register @ref SR_TRX_CMD */
00151 #define CMD_TX_ARET_ON           (25)
00152 /** Offset for register TRX_CTRL_0 */
00153 #define RG_TRX_CTRL_0                    (0x03)
00154 /** Offset for register TRX_CTRL_1 */
00155 #define RG_TRX_CTRL_1                    (0x04)
00156 /** Access parameters for sub-register PAD_IO in register @ref RG_TRX_CTRL_0 */
00157 #define SR_PAD_IO                    0x03, 0xc0, 6
00158 /** Access parameters for sub-register PAD_IO_CLKM in register @ref RG_TRX_CTRL_0 */
00159 #define SR_PAD_IO_CLKM               0x03, 0x30, 4
00160 /** Constant CLKM_2mA for sub-register @ref SR_PAD_IO_CLKM */
00161 #define CLKM_2mA                 (0)
00162 /** Constant CLKM_4mA for sub-register @ref SR_PAD_IO_CLKM */
00163 #define CLKM_4mA                 (1)
00164 /** Constant CLKM_6mA for sub-register @ref SR_PAD_IO_CLKM */
00165 #define CLKM_6mA                 (2)
00166 /** Constant CLKM_8mA for sub-register @ref SR_PAD_IO_CLKM */
00167 #define CLKM_8mA                 (3)
00168 /** Access parameters for sub-register CLKM_SHA_SEL in register @ref RG_TRX_CTRL_0 */
00169 #define SR_CLKM_SHA_SEL              0x03, 0x08, 3
00170 /** Access parameters for sub-register CLKM_CTRL in register @ref RG_TRX_CTRL_0 */
00171 #define SR_CLKM_CTRL                 0x03, 0x07, 0
00172 /** Constant CLKM_no_clock for sub-register @ref SR_CLKM_CTRL */
00173 #define CLKM_no_clock            (0)
00174 /** Constant CLKM_1MHz for sub-register @ref SR_CLKM_CTRL */
00175 #define CLKM_1MHz                (1)
00176 /** Constant CLKM_2MHz for sub-register @ref SR_CLKM_CTRL */
00177 #define CLKM_2MHz                (2)
00178 /** Constant CLKM_4MHz for sub-register @ref SR_CLKM_CTRL */
00179 #define CLKM_4MHz                (3)
00180 /** Constant CLKM_8MHz for sub-register @ref SR_CLKM_CTRL */
00181 #define CLKM_8MHz                (4)
00182 /** Constant CLKM_16MHz for sub-register @ref SR_CLKM_CTRL */
00183 #define CLKM_16MHz               (5)
00184 /** Offset for register PHY_TX_PWR */
00185 #define RG_PHY_TX_PWR                    (0x05)
00186 /** Access parameters for sub-register TX_AUTO_CRC_ON in register @ref RG_PHY_TX_PWR */
00187 #define SR_TX_AUTO_CRC_ON            0x05, 0x80, 7
00188 #define SR_reserved_05_2             0x05, 0x70, 4
00189 /** Access parameters for sub-register TX_PWR in register @ref RG_PHY_TX_PWR */
00190 #define SR_TX_PWR                    0x05, 0x0f, 0
00191 /** Offset for register PHY_RSSI */
00192 #define RG_PHY_RSSI                      (0x06)
00193 #define SR_reserved_06_1             0x06, 0xe0, 5
00194 /** Access parameters for sub-register RSSI in register @ref RG_PHY_RSSI */
00195 #define SR_RSSI                      0x06, 0x1f, 0
00196 /** Offset for register PHY_ED_LEVEL */
00197 #define RG_PHY_ED_LEVEL                  (0x07)
00198 /** Access parameters for sub-register ED_LEVEL in register @ref RG_PHY_ED_LEVEL */
00199 #define SR_ED_LEVEL                  0x07, 0xff, 0
00200 /** Offset for register PHY_CC_CCA */
00201 #define RG_PHY_CC_CCA                    (0x08)
00202 /** Access parameters for sub-register CCA_REQUEST in register @ref RG_PHY_CC_CCA */
00203 #define SR_CCA_REQUEST               0x08, 0x80, 7
00204 /** Access parameters for sub-register CCA_MODE in register @ref RG_PHY_CC_CCA */
00205 #define SR_CCA_MODE                  0x08, 0x60, 5
00206 /** Access parameters for sub-register CHANNEL in register @ref RG_PHY_CC_CCA */
00207 #define SR_CHANNEL                   0x08, 0x1f, 0
00208 /** Offset for register CCA_THRES */
00209 #define RG_CCA_THRES                     (0x09)
00210 /** Access parameters for sub-register CCA_CS_THRES in register @ref RG_CCA_THRES */
00211 #define SR_CCA_CS_THRES              0x09, 0xf0, 4
00212 /** Access parameters for sub-register CCA_ED_THRES in register @ref RG_CCA_THRES */
00213 #define SR_CCA_ED_THRES              0x09, 0x0f, 0
00214 /** Offset for register IRQ_MASK */
00215 #define RG_IRQ_MASK                      (0x0e)
00216 /** Access parameters for sub-register IRQ_MASK in register @ref RG_IRQ_MASK */
00217 #define SR_IRQ_MASK                  0x0e, 0xff, 0
00218 /** Offset for register IRQ_STATUS */
00219 #define RG_IRQ_STATUS                    (0x0f)
00220 /** Access parameters for sub-register IRQ_7_BAT_LOW in register @ref RG_IRQ_STATUS */
00221 #define SR_IRQ_7_BAT_LOW             0x0f, 0x80, 7
00222 /** Access parameters for sub-register IRQ_6_TRX_UR in register @ref RG_IRQ_STATUS */
00223 #define SR_IRQ_6_TRX_UR              0x0f, 0x40, 6
00224 /** Access parameters for sub-register IRQ_5 in register @ref RG_IRQ_STATUS */
00225 #define SR_IRQ_5                     0x0f, 0x20, 5
00226 /** Access parameters for sub-register IRQ_4 in register @ref RG_IRQ_STATUS */
00227 #define SR_IRQ_4                     0x0f, 0x10, 4
00228 /** Access parameters for sub-register IRQ_3_TRX_END in register @ref RG_IRQ_STATUS */
00229 #define SR_IRQ_3_TRX_END             0x0f, 0x08, 3
00230 /** Access parameters for sub-register IRQ_2_RX_START in register @ref RG_IRQ_STATUS */
00231 #define SR_IRQ_2_RX_START            0x0f, 0x04, 2
00232 /** Access parameters for sub-register IRQ_1_PLL_UNLOCK in register @ref RG_IRQ_STATUS */
00233 #define SR_IRQ_1_PLL_UNLOCK          0x0f, 0x02, 1
00234 /** Access parameters for sub-register IRQ_0_PLL_LOCK in register @ref RG_IRQ_STATUS */
00235 #define SR_IRQ_0_PLL_LOCK            0x0f, 0x01, 0
00236 /** Offset for register VREG_CTRL */
00237 #define RG_VREG_CTRL                     (0x10)
00238 /** Access parameters for sub-register AVREG_EXT in register @ref RG_VREG_CTRL */
00239 #define SR_AVREG_EXT                 0x10, 0x80, 7
00240 /** Access parameters for sub-register AVDD_OK in register @ref RG_VREG_CTRL */
00241 #define SR_AVDD_OK                   0x10, 0x40, 6
00242 /** Access parameters for sub-register AVREG_TRIM in register @ref RG_VREG_CTRL */
00243 #define SR_AVREG_TRIM                0x10, 0x30, 4
00244 /** Constant AVREG_1_80V for sub-register @ref SR_AVREG_TRIM */
00245 #define AVREG_1_80V              (0)
00246 /** Constant AVREG_1_75V for sub-register @ref SR_AVREG_TRIM */
00247 #define AVREG_1_75V              (1)
00248 /** Constant AVREG_1_84V for sub-register @ref SR_AVREG_TRIM */
00249 #define AVREG_1_84V              (2)
00250 /** Constant AVREG_1_88V for sub-register @ref SR_AVREG_TRIM */
00251 #define AVREG_1_88V              (3)
00252 /** Access parameters for sub-register DVREG_EXT in register @ref RG_VREG_CTRL */
00253 #define SR_DVREG_EXT                 0x10, 0x08, 3
00254 /** Access parameters for sub-register DVDD_OK in register @ref RG_VREG_CTRL */
00255 #define SR_DVDD_OK                   0x10, 0x04, 2
00256 /** Access parameters for sub-register DVREG_TRIM in register @ref RG_VREG_CTRL */
00257 #define SR_DVREG_TRIM                0x10, 0x03, 0
00258 /** Constant DVREG_1_80V for sub-register @ref SR_DVREG_TRIM */
00259 #define DVREG_1_80V              (0)
00260 /** Constant DVREG_1_75V for sub-register @ref SR_DVREG_TRIM */
00261 #define DVREG_1_75V              (1)
00262 /** Constant DVREG_1_84V for sub-register @ref SR_DVREG_TRIM */
00263 #define DVREG_1_84V              (2)
00264 /** Constant DVREG_1_88V for sub-register @ref SR_DVREG_TRIM */
00265 #define DVREG_1_88V              (3)
00266 /** Offset for register BATMON */
00267 #define RG_BATMON                        (0x11)
00268 #define SR_reserved_11_1             0x11, 0xc0, 6
00269 /** Access parameters for sub-register BATMON_OK in register @ref RG_BATMON */
00270 #define SR_BATMON_OK                 0x11, 0x20, 5
00271 /** Access parameters for sub-register BATMON_HR in register @ref RG_BATMON */
00272 #define SR_BATMON_HR                 0x11, 0x10, 4
00273 /** Access parameters for sub-register BATMON_VTH in register @ref RG_BATMON */
00274 #define SR_BATMON_VTH                0x11, 0x0f, 0
00275 /** Offset for register XOSC_CTRL */
00276 #define RG_XOSC_CTRL                     (0x12)
00277 /** Offset for register RX_SYN */
00278 #define RG_RX_SYN                        0x15
00279 /** Offset for register XAH_CTRL_1 */
00280 #define RG_XAH_CTRL_1                      0x17
00281 /** Access parameters for sub-register XTAL_MODE in register @ref RG_XOSC_CTRL */
00282 #define SR_XTAL_MODE                 0x12, 0xf0, 4
00283 /** Access parameters for sub-register XTAL_TRIM in register @ref RG_XOSC_CTRL */
00284 #define SR_XTAL_TRIM                 0x12, 0x0f, 0
00285 /** Offset for register FTN_CTRL */
00286 #define RG_FTN_CTRL                      (0x18)
00287 /** Access parameters for sub-register FTN_START in register @ref RG_FTN_CTRL */
00288 #define SR_FTN_START                 0x18, 0x80, 7
00289 #define SR_reserved_18_2             0x18, 0x40, 6
00290 /** Access parameters for sub-register FTNV in register @ref RG_FTN_CTRL */
00291 #define SR_FTNV                      0x18, 0x3f, 0
00292 /** Offset for register PLL_CF */
00293 #define RG_PLL_CF                        (0x1a)
00294 /** Access parameters for sub-register PLL_CF_START in register @ref RG_PLL_CF */
00295 #define SR_PLL_CF_START              0x1a, 0x80, 7
00296 #define SR_reserved_1a_2             0x1a, 0x70, 4
00297 /** Access parameters for sub-register PLL_CF in register @ref RG_PLL_CF */
00298 #define SR_PLL_CF                    0x1a, 0x0f, 0
00299 /** Offset for register PLL_DCU */
00300 #define RG_PLL_DCU                       (0x1b)
00301 /** Access parameters for sub-register PLL_DCU_START in register @ref RG_PLL_DCU */
00302 #define SR_PLL_DCU_START             0x1b, 0x80, 7
00303 #define SR_reserved_1b_2             0x1b, 0x40, 6
00304 /** Access parameters for sub-register PLL_DCUW in register @ref RG_PLL_DCU */
00305 #define SR_PLL_DCUW                  0x1b, 0x3f, 0
00306 /** Offset for register PART_NUM */
00307 #define RG_PART_NUM                      (0x1c)
00308 /** Access parameters for sub-register PART_NUM in register @ref RG_PART_NUM */
00309 #define SR_PART_NUM                  0x1c, 0xff, 0
00310 /** Constant RF230 for sub-register @ref SR_PART_NUM */
00311 #define RF230                    (2)
00312 /** Offset for register VERSION_NUM */
00313 #define RG_VERSION_NUM                   (0x1d)
00314 /** Access parameters for sub-register VERSION_NUM in register @ref RG_VERSION_NUM */
00315 #define SR_VERSION_NUM               0x1d, 0xff, 0
00316 /** Offset for register MAN_ID_0 */
00317 #define RG_MAN_ID_0                      (0x1e)
00318 /** Access parameters for sub-register MAN_ID_0 in register @ref RG_MAN_ID_0 */
00319 #define SR_MAN_ID_0                  0x1e, 0xff, 0
00320 /** Offset for register MAN_ID_1 */
00321 #define RG_MAN_ID_1                      (0x1f)
00322 /** Access parameters for sub-register MAN_ID_1 in register @ref RG_MAN_ID_1 */
00323 #define SR_MAN_ID_1                  0x1f, 0xff, 0
00324 /** Offset for register SHORT_ADDR_0 */
00325 #define RG_SHORT_ADDR_0                  (0x20)
00326 /** Access parameters for sub-register SHORT_ADDR_0 in register @ref RG_SHORT_ADDR_0 */
00327 #define SR_SHORT_ADDR_0              0x20, 0xff, 0
00328 /** Offset for register SHORT_ADDR_1 */
00329 #define RG_SHORT_ADDR_1                  (0x21)
00330 /** Access parameters for sub-register SHORT_ADDR_1 in register @ref RG_SHORT_ADDR_1 */
00331 #define SR_SHORT_ADDR_1              0x21, 0xff, 0
00332 /** Offset for register PAN_ID_0 */
00333 #define RG_PAN_ID_0                      (0x22)
00334 /** Access parameters for sub-register PAN_ID_0 in register @ref RG_PAN_ID_0 */
00335 #define SR_PAN_ID_0                  0x22, 0xff, 0
00336 /** Offset for register PAN_ID_1 */
00337 #define RG_PAN_ID_1                      (0x23)
00338 /** Access parameters for sub-register PAN_ID_1 in register @ref RG_PAN_ID_1 */
00339 #define SR_PAN_ID_1                  0x23, 0xff, 0
00340 /** Offset for register IEEE_ADDR_0 */
00341 #define RG_IEEE_ADDR_0                   (0x24)
00342 /** Access parameters for sub-register IEEE_ADDR_0 in register @ref RG_IEEE_ADDR_0 */
00343 #define SR_IEEE_ADDR_0               0x24, 0xff, 0
00344 /** Offset for register IEEE_ADDR_1 */
00345 #define RG_IEEE_ADDR_1                   (0x25)
00346 /** Access parameters for sub-register IEEE_ADDR_1 in register @ref RG_IEEE_ADDR_1 */
00347 #define SR_IEEE_ADDR_1               0x25, 0xff, 0
00348 /** Offset for register IEEE_ADDR_2 */
00349 #define RG_IEEE_ADDR_2                   (0x26)
00350 /** Access parameters for sub-register IEEE_ADDR_2 in register @ref RG_IEEE_ADDR_2 */
00351 #define SR_IEEE_ADDR_2               0x26, 0xff, 0
00352 /** Offset for register IEEE_ADDR_3 */
00353 #define RG_IEEE_ADDR_3                   (0x27)
00354 /** Access parameters for sub-register IEEE_ADDR_3 in register @ref RG_IEEE_ADDR_3 */
00355 #define SR_IEEE_ADDR_3               0x27, 0xff, 0
00356 /** Offset for register IEEE_ADDR_4 */
00357 #define RG_IEEE_ADDR_4                   (0x28)
00358 /** Access parameters for sub-register IEEE_ADDR_4 in register @ref RG_IEEE_ADDR_4 */
00359 #define SR_IEEE_ADDR_4               0x28, 0xff, 0
00360 /** Offset for register IEEE_ADDR_5 */
00361 #define RG_IEEE_ADDR_5                   (0x29)
00362 /** Access parameters for sub-register IEEE_ADDR_5 in register @ref RG_IEEE_ADDR_5 */
00363 #define SR_IEEE_ADDR_5               0x29, 0xff, 0
00364 /** Offset for register IEEE_ADDR_6 */
00365 #define RG_IEEE_ADDR_6                   (0x2a)
00366 /** Access parameters for sub-register IEEE_ADDR_6 in register @ref RG_IEEE_ADDR_6 */
00367 #define SR_IEEE_ADDR_6               0x2a, 0xff, 0
00368 /** Offset for register IEEE_ADDR_7 */
00369 #define RG_IEEE_ADDR_7                   (0x2b)
00370 /** Access parameters for sub-register IEEE_ADDR_7 in register @ref RG_IEEE_ADDR_7 */
00371 #define SR_IEEE_ADDR_7               0x2b, 0xff, 0
00372 /** Offset for register XAH_CTRL */
00373 #define RG_XAH_CTRL_0                     (0x2c)
00374 /** Access parameters for sub-register MAX_FRAME_RETRIES in register @ref RG_XAH_CTRL_0 */
00375 #define SR_MAX_FRAME_RETRIES         0x2c, 0xf0, 4
00376 /** Access parameters for sub-register MAX_CSMA_RETRIES in register @ref RG_XAH_CTRL_0 */
00377 #define SR_MAX_CSMA_RETRIES          0x2c, 0x0e, 1
00378 #define SR_reserved_2c_3             0x2c, 0x01, 0
00379 /** Offset for register CSMA_SEED_0 */
00380 #define RG_CSMA_SEED_0                   (0x2d)
00381 /** Access parameters for sub-register CSMA_SEED_0 in register @ref RG_CSMA_SEED_0 */
00382 #define SR_CSMA_SEED_0               0x2d, 0xff, 0
00383 /** Offset for register CSMA_SEED_1 */
00384 #define RG_CSMA_SEED_1                   (0x2e)
00385 /** Offset for register CSMA_BE */
00386 #define RG_CSMA_BE                      0x2f
00387 /** Access parameters for sub-register MIN_BE in register @ref RG_CSMA_SEED_1 */
00388 #define SR_MIN_BE                    0x2e, 0xc0, 6
00389 #define SR_reserved_2e_2             0x2e, 0x30, 4
00390 /** Access parameters for sub-register I_AM_COORD in register @ref RG_CSMA_SEED_1 */
00391 #define SR_I_AM_COORD                0x2e, 0x08, 3
00392 /** Access parameters for sub-register CSMA_SEED_1 in register @ref RG_CSMA_SEED_1 */
00393 #define SR_CSMA_SEED_1               0x2e, 0x07, 0
00394 #endif
00395 #endif /* PHY128RFA1_REGISTERMAP_EXTERNAL_H */