Read32, Read16, Read8 – Sundance SMT6035 v.2.2 User Manual

Page 34: Write32, Write16, Write8

Advertising
background image

Version 2.2

Page 34 of 39

SMT6035 User Manual

The number at the end of each element of the following list of functions indicates
the number of bits that will be read or written. For each function:
nBar BAR to use.
nOffset

Offset into the BAR to access.

17.1 Read32

Reads 32 bits from the address specified.

Prototype

DWORD IFHw::Read32( UINT nBar, UINT nOffset )

17.2 Read16

Reads 16 bits from the address specified.

Prototype

DWORD IFHw::Read16( UINT nBar, UINT nOffset )

17.3 Read8

Reads 8 bits from the address specified.

Prototype

DWORD IFHw::Read8( UINT nBar, UINT nOffset )

17.4 Write32

Writes 32 bits to the address specified.

Prototype

void IFHw::Write32( UINT nBar, UINT nOffset, DWORD dword

17.5 Write16

Writes 16 bits to the address specified.

Prototype

void IFHw::Write16( UINT nBar, UINT nOffset, WORD word )

17.6 Write8

Writes 8 bits to the address specified.

Prototype

void IFHw::Write8( UINT nBar, UINT nOffset, BYTE byte )

User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.

Advertising