max2820reg.h revision a72f7ea693101cc48bafbb4db6bb437d828011c4
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2004 David Young. All rights reserved.
*
* This code was written by David Young.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* 3. Neither the name of the author nor the names of any co-contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY David Young ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL David
* Young BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
* OF SUCH DAMAGE.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef _MAX2820REG_H_
#define _MAX2820REG_H_
/*
* 2.4GHz 802.11b Zero-IF Transceivers
*/
/*
* 802.11b Zero-IF Transceivers
*/
#define MAX2820_TEST 0 /* Test Register */
/*
* Transmit Baseband Filters Enable
* PAB_EN = SHDNB && (MAX2820_ENABLE_PAB || TX_ON)
*/
/*
* Transmit Baseband Filters Enable
* TXFLT_EN = SHDNB && (MAX2820_ENABLE_TXFLT || TX_ON)
*/
/*
* Tx Upconverter, VGA, and Driver Amp Enable
* TXUVD_EN = SHDNB && (MAX2820_ENABLE_TXUVD || TX_ON)
*/
/*
* Receive Detector Enable
* DET_EN = SHDNB && (MAX2820_ENABLE_DET || RX_ON)
*/
/*
* Rx Downconverter, Filters, and AGC Amps Enable
* RXDFA_EN = SHDNB && (MAX2820_ENABLE_RXDFA || RX_ON)
*/
/*
* Receive LNA Enable
* AT_EN = SHDNB && (MAX2820_ENABLE_RXLNA || RX_ON)
*/
/*
* Auto-tuner Enable
* AT_EN = SHDNB && (MAX2820_ENABLE_AT || RX_ON || TX_ON)
*/
/*
* PLL Charge-Pump Enable
* CP_EN = SHDNB && MAX2820_ENABLE_CP
*/
/*
* PLL Enable
* PLL_EN = SHDNB && MAX2820_ENABLE_PLL
*/
/*
* VCO Enable
* VCO_EN = SHDNB && MAX2820_ENABLE_VCO
*/
#define MAX2820_ENABLE_DEFAULT \
/*
* Charge-Pump Current Select
* 0 = +/-1mA
* 1 = +/-2mA
*/
/*
* Reference Frequency Divider
* 0 = 22MHz
* 1 = 44MHz
*/
/*
* Channel Frequency Select
* fLO = 2400MHz + CF * 1MHz
*/
/*
* Receiver Settings Register
*/
#define MAX2820_RECEIVE 4
/*
* VGA DC Offset Nulling Parameter 2
*/
/*
* VGA DC Offset Nulling Parameter 1
*/
/*
* Rx Level Detector Midpoint
* Select
* 11, 01 = 50.2mVp
* 10 = 70.9mVp
* 00 = 35.5mVp
*/
/*
* Special Function Select
* 0 = OFF
* 1 = ON
*/
/*
* Receive Filter -3dB Frequency
* Select (all frequencies are
* approximate)
*/
/* 8.5MHz */
/*
* Receiver Settings Register,
*/
#define MAX2820A_RECEIVE 4
/* VGA DC Offset Nulling Parameter 2 */
/* VGA DC Offset Nulling Parameter 1 */
/*
* PA Bias Select
* 15 = Highest
* 0 = Lowest
*/
#endif /* _MAX2820REG_H_ */