Epson Research and Development
Page 67
Vancouver Design Center
Programming Notes and Examples S1D13706
Issue Date: 01/02/23 X31B-G-003-03
int seHalTerminate(void)
Description:
Frees up memory allocated by HAL before application exits.
Parameters:
none.
Return Value:
ERR_OK HAL is now ready for application to exit.
ERR_PCI_DRIVER_NOT_FOUND Could not find PCI driver (Intel Windows platform
only).
ERR_PCI_BRIDGE_ADAPTER_NOT_FOUND Could not find PCI Bridge Adapter
board (Intel Windows platform only).
ERR_FAILED Could not free memory.
int seGetId(int * pId)
Description:
Reads the S1D13706 revision code register to determine the controller product and revi-
sion.
Parameters:
pId A pointer to an integer to receive the controller ID. The value returned
is the revision code.
Return Value:
ERR_OK The operation completed with no problems
ERR_UNKNOWN_DEVICE The product code was not for the S1D13706.