CP9090-S100: Properties

DeviceAddr

Sets/ returns the address of CP9030 device.

HRESULT DeviceAddr(
        [out, retval] CP_DEVICEADDR* pVal
);

HRESULT DeviceAddr(
        [in] CP_DEVICEADDR pVal
);

 

Parameters

pVal
Address 0xC8000 – 0xE7800

 

Comment

The CP9030 device has to be configured via dip-switch  SW400.

 

 

Sample VB-Syntax

Dim lDeviceAddr as CP_DEVICEADDR

CP9030W9x1.DeviceAddr = CPAddr_0xC8800
lDeviceAddr = CP9030W9x1.DeviceAddr

 

Definition CP_DEVICEADDR

typedef enum CP_DEVICEADDR
{
    CPAddr_0xC8000 = 0xC8000,
    CPAddr_0xC8800 = 0xC8800,
    CPAddr_0xC9000 = 0xC9000,
    CPAddr_0xC9800 = 0xC9800,
    CPAddr_0xCA000 = 0xCA000,
    CPAddr_0xCA800 = 0xCA800,
    CPAddr_0xCB000 = 0xCB000,
    CPAddr_0xCB800 = 0xCB800,
    CPAddr_0xCC000 = 0xCC000,
    CPAddr_0xCC800 = 0xCC800,
    CPAddr_0xCD000 = 0xCD000,
    CPAddr_0xCD800 = 0xCD800,
    CPAddr_0xCE000 = 0xCE000,
    CPAddr_0xCE800 = 0xCE800,
    CPAddr_0xCF000 = 0xCF000,
    CPAddr_0xCF800 = 0xCF800,
    CPAddr_0xD0000 = 0xD0000,
    CPAddr_0xD0800 = 0xD0800,
    CPAddr_0xD1000 = 0xD1000,
    CPAddr_0xD1800 = 0xD1800,
    CPAddr_0xD2000 = 0xD2000,
    CPAddr_0xD2800 = 0xD2800,
    CPAddr_0xD3000 = 0xD3000,
    CPAddr_0xD3800 = 0xD3800,
    CPAddr_0xD4000 = 0xD4000,
    CPAddr_0xD4800 = 0xD4800,
    CPAddr_0xD5000 = 0xD5000,
    CPAddr_0xD5800 = 0xD5800,
    CPAddr_0xD6000 = 0xD6000,
    CPAddr_0xD6800 = 0xD6800,
    CPAddr_0xD7000 = 0xD7000,
    CPAddr_0xD7800 = 0xD7800,
    CPAddr_0xD8000 = 0xD8000,
    CPAddr_0xD8800 = 0xD8800,
    CPAddr_0xD9000 = 0xD9000,
    CPAddr_0xDA000 = 0xDA000,
    CPAddr_0xDA800 = 0xDA800,
    CPAddr_0xDB000 = 0xDB000,
    CPAddr_0xDB800 = 0xDB800,
    CPAddr_0xDC000 = 0xDC000,
    CPAddr_0xDC800 = 0xDC800,
    CPAddr_0xDD000 = 0xDD000,
    CPAddr_0xDD800 = 0xDD800,
    CPAddr_0xDE000 = 0xDE000,
    CPAddr_0xDE800 = 0xDE800,
    CPAddr_0xDF000 = 0xDF000,
    CPAddr_0xDF800 = 0xDF800,
    CPAddr_0xE0000 = 0xE0000,
    CPAddr_0xE0800 = 0xE0800,
    CPAddr_0xE1000 = 0xE1000,
    CPAddr_0xE1800 = 0xE1800,
    CPAddr_0xE2000 = 0xE2000,
    CPAddr_0xE3000 = 0xE2800,
    CPAddr_0xE3800 = 0xE3800,
    CPAddr_0xE4000 = 0xE4000,
    CPAddr_0xE4800 = 0xE4800,
    CPAddr_0xE5000 = 0xE5000,
    CPAddr_0xE6000 = 0xE6000,
    CPAddr_0xE6800 = 0xE6800,
    CPAddr_0xE7000 = 0xE7000,
    CPAddr_0xE7800 = 0xE7800

} CP_DEVICEADDR;