PMC-FLASH2 VxWorks Device Driver User’s Manual
October 20, 1999 23
5.7.3 WRITE_REGISTER
The WRITE_REGISTER function writes a value to one of the FLASH2 Registers.
arg PARAMETER:
REG_PARAM *
where REG_PARAM is defined to be
typedef struct RegParam
{
int eFLASH2Register;
ULONG *pulValue;
} REG_PARAM;
and,
int eFLASH2Register - One of the following registers to write. Refer to the FLASH2 and
PLX Hardware documentation for a description of each
register.
*** DMA Registers ***
DMA_CH_0_MODE
DMA_CH_0_PCI_ADDR
DMA_CH_0_LOCAL_ADDR
DMA_CH_0_TRANS_BYTE_CNT
DMA_CH_0_DESC_PTR
DMA_CH_1_MODE
DMA_CH_1_PCI_ADDR
DMA_CH_1_LOCAL_ADDR
DMA_CH_1_TRANS_BYTE_CNT
Commentaires sur ces manuels