ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

Listing 6-Definitions that end with _BIT are used to directly set, clear or test that bit position in the register. TXCFG_ALL_IE is the sum of the masks for all of the bits in the Transmit Configuration Register, ppageTxCFG.

;******************************************************************
;*	PacketPage Line Control Bit Definitions
;*
;*
;******************************************************************
#define	LINECTL_RX_ON_BIT	6
#define	LINECTL_RX_ON	0040
#define	LINECTL_TX_ON_BIT	7
#define	LINECTL_TX_ON	0080
#define	LINECTL_AUI_ONLY	0100
#define	LINECTL_10BASET	0000
;******************************************************************
;*	PacketPage Test Control Bit Definitions
;*
;*
;******************************************************************
#define	TESTCTL_DIS_LT	0080
#define	TESTCTL_ENDEC_LP	0200
#define	TESTCTL_AUI_LOOP	0400
#define	TESTCTL_DIS_BKOFF	0800
#define	TESTCTL_FDX	4000
;******************************************************************
;*	PacketPage Receiver Configuration Bit Definitions
;*
;*
;******************************************************************
#define	RXCFG_SKIP_BIT	6
#define	RXCFG_SKIP	0040
#define	RXCFG_RX_OK_IE	0100
#define	RXCFG_CRC_ERR_IE	1000
#define	RXCFG_RUNT_IE	2000
#define	RXCFG_X_DATA_IE	4000
;******************************************************************
;*	PacketPage Receiver Control Register Bit Definitions
;*
;*
'******************************************************************
#define RXCTL_SETUP	(RXCTL_RX_OK_A|RXCTL_IND_A|RXCTL_BCAST_A)
#define	RXCTL_RX_OK_A	0100
#define	RXCTL_MCAST_A	0200
#define	RXCTL_IND_A	0400
#define	RXCTL_BCAST_A	0800
#define	RXCTL_CRC_ERR_A	1000
#define	RXCTL_RUNT_A	2000
#define	RXCTL_X_DATA_A	4000
;******************************************************************
;*	PacketPage Transmit Configuration Register Bit Definitions
;*
;*
;******************************************************************
#define	TXCFG_LOSS_CRS_IE	0040
#define	TXCFG_SQE_ERR_IE	0080
#define	TXCFG_TX_OK_IE	0100
#define	TXCFG_OUT_WIN_IE	0200
#define	TXCFG_JABBER_IE	0400
#define	TXCFG_16_COLL_IE	8000
#define	TXCFG_ALL_IE	8FC0
;******************************************************************
;*	Load the CS8900 Basic Parameters
;*	10BaseT/Full Duplex/RxOK interrupt/accept broadcast and 
;*	individual addresses/Tx interrupts enabled
;******************************************************************
InitChip
WPP ppageLineCTL,LINECTL_10BASET 
WPP ppageTestCTL,TESTCTL_FDX 
WPP ppageRxCFG,RXCFG_RX_OK_IE 
WPP ppageRxCTL,RXCTL_SETUP
WPP ppageTxCFG,TXCFG_ALL_IE
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ