MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                         csxGet8(9F)



NAME
     csxGet8, csxGet16, csxGet32, csxGet64 - read  data  from
     device address

SYNOPSIS
     #include 



     uint8t csxGet8(acchandlet handle, uint32t offset);


     uint16t csxGet16(acchandlet handle, uint32t offset);


     uint32t csxGet32(acchandlet handle, uint32t offset);


     uint64t csxGet64(acchandlet handle, uint64t offset);


INTERFACE LEVEL
     Solaris DI Specific (Solaris DI)

PARAMETERS
     handle     The     access     handle      returned      from
                csxRequestIO(9F),    csxRequestWindow(9F),   or
                csxDupHandle(9F).


     offset     The offset in bytes from the base of  the  mapped
                resource.


DESCRIPTION
     These functions generate a read of various  sizes  from  the
     mapped memory or device register.


     The csxGet8(), csxGet16(),  csxGet32(),  and  csxGet64()
     functions  read  8  bits,  16  bits, 32 bits, and 64 bits of
     data, respectively, from the device address  represented  by
     the handle, handle, at an offset in bytes represented by the
     offset, offset.


     Data that consists of more than one byte will  automatically
     be translated to maintain a consistent view between the host
     and the device based on the encoded information in the  data
     access  handle. The translation may involve byte swapping if
     the host and the device  have  incompatible  endian  charac-
     teristics.



SunOS 5.11          Last change: 19 Jul 1996                    1






Kernel Functions for Drivers                         csxGet8(9F)



RETURN VALUES
     These functions  return  the  value  read  from  the  mapped
     address.

CONTEXT
     These functions may be called from user, kernel,  or  inter-
     rupt context.

SEE ALSO
     csxDupHandle(9F),   csxGetMappedAddr(9F),    csxPut8(9F),
     csxRepGet8(9F),     csxRepPut8(9F),     csxRequestIO(9F),
     csxRequestWindow(9F)


     PC Card 95 Standard, PCMCIA/JEIDA








































SunOS 5.11          Last change: 19 Jul 1996                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™