Internal Registers
2-14
//––––––––––––––––––––––––––––––––––––––––––––––––––––––––
// DioRdDword() – read 32 bits from internal TLAN register
//
// Parameters:
// base_addr WORD base address of TLAN internal registers
// addr WORD address to read
//
// Return val:
// DWORD value read
//––––––––––––––––––––––––––––––––––––––––––––––––––––––––
DWORD DioRdDword(WORD base_addr, WORD addr)
{
DWORD data;
addr &= 0x3fff;
outpw(baOFF_DIO_ADDR, addr);
data = ((DWORD)inpw(baOFF_DIO_DATA))&0x0000ffffl;
data |= ((DWORD)inpw(baOFF_D2)) << 16l;
return(data);
}
Summary of Contents for ThunderLAN TNETE100A
Page 2: ...Printed in U S A October 1996 L411001 9761 revisionA SPWU013A ...
Page 3: ......
Page 17: ...xiv ...
Page 23: ...1 6 ...
Page 67: ...3 10 ...
Page 81: ...4 14 ...
Page 113: ...7 10 ...
Page 165: ...A 52 ...
Page 179: ...C 2 ...