/*============================================= Host Interrupt Mask Register - 32bit (RW) ------------------------------------------ Setting a bit in this register masks the corresponding interrupt to the host. 0 - RX0 - Rx first dubble buffer Data Interrupt 1 - TXD - Tx Data Interrupt 2 - TXXFR - Tx Transfer Interrupt 3 - RX1 - Rx second dubble buffer Data Interrupt 4 - RXXFR - Rx Transfer Interrupt 5 - EVENT_A - Event Mailbox interrupt 6 - EVENT_B - Event Mailbox interrupt 7 - WNONHST - Wake On Host Interrupt 8 - TRACE_A - Debug Trace interrupt 9 - TRACE_B - Debug Trace interrupt 10 - CDCMP - Command Complete Interrupt 11 - 12 - 13 - 14 - ICOMP - Initialization Complete Interrupt 16 - SG SE - Soft Gemini - Sense enable interrupt 17 - SG SD - Soft Gemini - Sense disable interrupt 18 - - 19 - - 20 - - 21- - Default: 0x0001
*==============================================*/
ACX_REG_INTERRUPT_MASK,
/*============================================= Host Interrupt Mask Set 16bit, (Write only) ------------------------------------------ Setting a bit in this register sets the corresponding bin in ACX_HINT_MASK register without effecting the mask state of other bits (0 = no effect).
==============================================*/
ACX_REG_HINT_MASK_SET,
/*============================================= Host Interrupt Mask Clear 16bit,(Write only) ------------------------------------------ Setting a bit in this register clears the corresponding bin in ACX_HINT_MASK register without effecting the mask state of other bits (0 = no effect).
=============================================*/
ACX_REG_HINT_MASK_CLR,
/*============================================= Host Interrupt Status Nondestructive Read 16bit,(Read only) ------------------------------------------ The host can read this register to determine which interrupts are active. Reading this register doesn't effect its content.
=============================================*/
ACX_REG_INTERRUPT_NO_CLEAR,
/*============================================= Host Interrupt Status Clear on Read Register 16bit,(Read only) ------------------------------------------ The host can read this register to determine which interrupts are active. Reading this register clears it, thus making all interrupts inactive.
==============================================*/
ACX_REG_INTERRUPT_CLEAR,
/*============================================= Host Interrupt Acknowledge Register 16bit,(Write only) ------------------------------------------ The host can set individual bits in this register to clear (acknowledge) the corresp. interrupt status bits in the HINT_STS_CLR and HINT_STS_ND registers, thus making the assotiated interrupt inactive. (0-no effect)
==============================================*/
ACX_REG_INTERRUPT_ACK,
/*=============================================== Host Software Reset - 32bit RW ------------------------------------------ [31:1] Reserved 0 SOFT_RESET Soft Reset - When this bit is set, it holds the Wlan hardware in a soft reset state. This reset disables all MAC and baseband processor clocks except the CardBus/PCI interface clock. It also initializes all MAC state machines except the host interface. It does not reload the contents of the EEPROM. When this bit is cleared (not self-clearing), the Wlan hardware exits the software reset state.
===============================================*/
ACX_REG_SLV_SOFT_RESET,
/*=============================================== EEPROM Burst Read Start - 32bit RW ------------------------------------------ [31:1] Reserved 0 ACX_EE_START - EEPROM Burst Read Start 0 Setting this bit starts a burst read from the external EEPROM. If this bit is set (after reset) before an EEPROM read/write, the burst read starts at EEPROM address 0. Otherwise, it starts at the address following the address of the previous access. TheWlan hardware clears this bit automatically.
/*=============================================== Halt eCPU - 32bit RW ------------------------------------------ 0 HALT_ECPU Halt Embedded CPU - This bit is the complement of bit 1 (MDATA2) in the SOR_CFG register. During a hardware reset, this bit holds the inverse of MDATA2. When downloading firmware from the host, set this bit (pull down MDATA2). The host clears this bit after downloading the firmware into zero-wait-state SSRAM. When loading firmware from Flash, clear this bit (pull up MDATA2) so that the eCPU can run the bootloader code in Flash HALT_ECPU eCPU State -------------------- 1 halt eCPU 0 enable eCPU
===============================================*/
ACX_REG_ECPU_CONTROL,
/*=============================================== Command Mailbox Pointer - 32bit RW ------------------------------------------ This register holds the start address of the command mailbox located in the Wlan hardware memory. The host must read this pointer after a reset to find the location of the command mailbox. The Wlan hardware initializes the command mailbox pointer with the default address of the command mailbox. The command mailbox pointer is not valid until after the host receives the Init Complete interrupt from the Wlan hardware.
===============================================*/ #define REG_COMMAND_MAILBOX_PTR (SCR_PAD0)
/*=============================================== Information Mailbox Pointer - 32bit RW ------------------------------------------ This register holds the start address of the information mailbox located in the Wlan hardware memory. The host must read this pointer after a reset to find the location of the information mailbox. The Wlan hardware initializes the information mailbox pointer with the default address of the information mailbox. The information mailbox pointer is not valid until after the host receives the Init Complete interrupt from the Wlan hardware.
===============================================*/ #define REG_EVENT_MAILBOX_PTR (SCR_PAD1)
/* Misc */
#define REG_ENABLE_TX_RX (ENABLE) /* * Rx configuration (filter) information element * ---------------------------------------------
*/ #define REG_RX_CONFIG (RX_CFG) #define REG_RX_FILTER (RX_FILTER_CFG)
/*=============================================== EEPROM Read/Write Request 32bit RW ------------------------------------------ 1 EE_READ - EEPROM Read Request 1 - Setting this bit loads a single byte of data into the EE_DATA register from the EEPROM location specified in the EE_ADDR register. The Wlan hardware clears this bit automatically. EE_DATA is valid when this bit is cleared.
0 EE_WRITE - EEPROM Write Request - Setting this bit writes a single byte of data from the EE_DATA register into the EEPROM location specified in the EE_ADDR register. The Wlan hardware clears this bit automatically.
*===============================================*/ #define EE_CTL (REGISTERS_BASE + 0x2000) #define ACX_EE_CTL_REG EE_CTL #define EE_WRITE 0x00000001ul #define EE_READ 0x00000002ul
/*=============================================== EEPROM Address - 32bit RW ------------------------------------------ This register specifies the address within the EEPROM from/to which to read/write data.
===============================================*/ #define EE_ADDR (REGISTERS_BASE + 0x2008) #define ACX_EE_ADDR_REG EE_ADDR
/*=============================================== EEPROM Data - 32bit RW ------------------------------------------ This register either holds the read 8 bits of data from the EEPROM or the write data to be written to the EEPROM.
===============================================*/ #define EE_DATA (REGISTERS_BASE + 0x2004) #define ACX_EE_DATA_REG EE_DATA
/*=============================================== EEPROM Base Address - 32bit RW ------------------------------------------ This register holds the upper nine bits [23:15] of the 24-bit Wlan hardware memory address for burst reads from EEPROM accesses. The EEPROM provides the lower 15 bits of this address. The MSB of the address from the EEPROM is ignored.
===============================================*/ #define ACX_EE_CFG EE_CFG
/*=============================================== GPIO Output Values -32bit, RW ------------------------------------------ [31:16] Reserved [15: 0] Specify the output values (at the output driver inputs) for GPIO[15:0], respectively.
===============================================*/ #define ACX_GPIO_OUT_REG GPIO_OUT #define ACX_MAX_GPIO_LINES 15
/*=============================================== Contention window -32bit, RW ------------------------------------------ [31:26] Reserved [25:16] Max (0x3ff) [15:07] Reserved [06:00] Current contention window value - default is 0x1F
===============================================*/ #define ACX_CONT_WIND_CFG_REG CONT_WIND_CFG #define ACX_CONT_WIND_MIN_MASK 0x0000007f #define ACX_CONT_WIND_MAX 0x03ff0000
Define a new "Rate-Set" for TX path that incorporates the Rate & Modulation info into a single 16-bit field.
TxdRateSet_t: b15 - Indicates Preamble type (1=SHORT, 0=LONG). Notes: Must be LONG (0) for 1Mbps rate. Does not apply (set to 0) for RevG-OFDM rates. b14 - Indicates PBCC encoding (1=PBCC, 0=not). Notes: Does not apply (set to 0) for rates 1 and 2 Mbps. Does not apply (set to 0) for RevG-OFDM rates. b13 - Unused (set to 0). b12-b0 - Supported Rate indicator bits as defined below.
/* Hardware to Embedded CPU Interrupts - first 32-bit register set */
/* * Host Command Interrupt. Setting this bit masks * the interrupt that the host issues to inform * the FW that it has sent a command * to the Wlan hardware Command Mailbox.
*/ #define INTR_TRIG_CMD BIT(0)
/* * Host Event Acknowlegde Interrupt. The host * sets this bit to acknowledge that it received * the unsolicited information from the event * mailbox.
*/ #define INTR_TRIG_EVENT_ACK BIT(1)
/* * The host sets this bit to inform the Wlan * FW that a TX packet is in the XFER * Buffer #0.
*/ #define INTR_TRIG_TX_PROC0 BIT(2)
/* * The host sets this bit to inform the FW * that it read a packet from RX XFER * Buffer #0.
*/ #define INTR_TRIG_RX_PROC0 BIT(3)
#define INTR_TRIG_DEBUG_ACK BIT(4)
#define INTR_TRIG_STATE_CHANGED BIT(5)
/* Hardware to Embedded CPU Interrupts - second 32-bit register set */
/* * The host sets this bit to inform the FW * that it read a packet from RX XFER * Buffer #1.
*/ #define INTR_TRIG_RX_PROC1 BIT(17)
/* * The host sets this bit to inform the Wlan * hardware that a TX packet is in the XFER * Buffer #1.
*/ #define INTR_TRIG_TX_PROC1 BIT(18)
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.3 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.