Gmu-Bus Driver; Gmu-Bus Driver Apis; Function Specifications - Pro-face PS Series Developer's Manual

Type g application development kit (adk)
Table of Contents

Advertisement

PS Series Type G Application Development Kit (ADK) Developer Manual

3 GMU-BUS Driver

This driver provides GMU-BUS control. Interrupt support is provided via registration of the user
callback routine.

3.1 GMU-BUS Driver APIs

GetGmuDriverVersion
GmuDriverOpen
GmuDriverClose
GmuByteRead
GmuWordRead
GmuLongRead
GmuByteWrite
GmuWordWrite
GmuLongWrite
SetGmuCallbackIntA
SetGmuCallbackIntB

3.2 Function Specifications

GetGmuDriverVersion
Call format
BOOL WINAPI GetGmuDriverVersion (WORD *pMajor, WORD *pMinor)
Return value
TRUE: Normal
FALSE: Error
Argument
WORD *pMajor
WORD *pMinor
Processing performed
Retrieves information on the driver version.
E.g.) BOOL ret = GetGmuDriverVersion (WORD &Major, WORD &Minor);
Note
When the driver version is 1.10,
Major is 1 (in decimal) and;
Minor is 10 (in decimal).
3-14
API name
Retrieves the driver version.
Opens the GMU-BUS driver.
Closes the GMU-BUS driver.
Reads data from the GMU. (Byte)
Reads data from the GMU. (Word)
Reads data from the GMU. (Long)
Writes data to the GMU. (Byte)
Writes data to the GMU. (Word)
Writes data to the GMU. (Long)
Registers the GMU IntA Callback.
Registers the GMU IntB Callback.
Pointer to version information (Major, 0 to 99)
Pointer to version information (Minor, 0 to 99)
Description

Advertisement

Table of Contents
loading

Table of Contents