
69
Chapter 4
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x950,
METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_STOP_BUZZER
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x951,
METHOD_BUFFERED, FILE_ANY_ACCESS)
HANDLE hDev;
DWORD i, dwGot, dwNumReturned;
// LED & IO Test Program.
hDev = CreateFile( _T("ADV1:"), // Pointer to the name of
the port
GENERIC_READ | GENERIC_WRITE, //Access (read-write)
mode
0, // Share mode
NULL, // Pointer to the security attribute
OPEN_EXISTING, // How to open the serial port
0, // Port attributes
NULL ); // Handle to port with attribute
if (!hDev)
{
printf("Can't load ADV1 driver properly!\r\n");
return 0;
}
for(i=0; i<20; i++)
{
if( i & 0x01 )
{
Содержание UNO-1019
Страница 1: ...UNO 1019 PXA 200MHZ 64MBRAM 2xLAN 4xCOM Universal Network Controller User Manual...
Страница 14: ...UNO 1019 User Manual 6 Figure 1 3 UNO 1019 Front View Dimensions Figure 1 4 UNO 1019 Bottom View Dimensions...
Страница 23: ...15 Chapter 2 Figure 2 6 Digital Input Connection Dry Contact Figure 2 7 Digital Input Connection Wet Contact...
Страница 26: ...UNO 1019 User Manual 18 Then screw the whole device to the wall Figure 2 10 Attach UNO 1019 to the Wall...
Страница 30: ...UNO 1019 User Manual 22...
Страница 38: ...UNO 1019 User Manual 30...
Страница 52: ...UNO 1019 User Manual 44 3 Setup the device according to the specification of the modem and press Next...
Страница 60: ...UNO 1019 User Manual 52...
Страница 64: ...UNO 1019 User Manual 56 8 Select UNO 1019 in the main window of Visual C...
Страница 94: ...UNO 1019 User Manual 86 Logs Use Logs section to control what information about the FTP transactions is logged...