APC-3X97A user manual
53
outportb(0x4E, 0x87);
outportb(0x4E, 0x87);
Exit the extended function mode
Writing AAh to index address port will exit the extended function mode.
Example x86 assembly code:
mov
dx, 4Eh
mov
al, 0AAh
out
dx, al
Example C code:
outportb(0x4E, 0xAA);
Select logic device number
Example x86 assembly code:
mov
dx, 4Eh
mov
al, 007h
;LDN selection register
out
dx, al
mov
dx, 4Fh
mov
al, 008h
;Select LDN=8, GPIO Port6
;or Select LDN9, GPIO Port2
out
dx, al
Example C code:
outportb(0x4E, 0x07);
//LDN selection register
outportb(0x4F, 0x08); //Select LDN=8, GPIO Port6
or
outportb(0x4E, 0x07);
//LDN selection register
outportb(0x4F, 0x09); //Select LDN=9, GPIO Port2
Activate the logic device
Example x86 assembly code:
mov
dx, 4Eh
mov
al, 030h
;Logic device activation control reg.
out
dx, al
mov
dx, 4Fh
in
al, dx
or
al, 004h
;Set bit2 to enable GPIO Port6 if LDN=8
or
al, 002h
;Set bit1 to enable GPIO Port2 if LDN=9
out
dx, al
Example C code:
outportb(0x4E, 0x30);
//Logic device activation control
Содержание APC-3X97A
Страница 9: ...APC 3X97A user manual 9 1 4 Chassis Dimensions Figure 1 3 Dimensions of the APC 3597A ...
Страница 10: ...APC 3X97A user manual 10 Figure 1 4 Dimensions of the APC 3797A ...
Страница 11: ...APC 3X97A user manual 11 Figure 1 5 Dimensions of the APC 3997A ...
Страница 13: ...APC 3X97A user manual 13 Figure 2 2 Mainboard Dimensions ...
Страница 14: ...APC 3X97A user manual 14 ...
Страница 15: ...APC 3X97A user manual 15 Figure 2 3 Connector and Jumper Locations ...
Страница 64: ...APC 3X97A user manual 64 ...
Страница 67: ...APC 3X97A user manual 67 ...
Страница 68: ...APC 3X97A user manual 68 ...
Страница 69: ...APC 3X97A user manual 69 Click FINISH A Driver Installation Complete ...
Страница 71: ...APC 3X97A user manual 71 ...
Страница 72: ...APC 3X97A user manual 72 Click FINISH A Driver Installation Complete ...
Страница 74: ...APC 3X97A user manual 74 ...
Страница 79: ...APC 3X97A user manual 79 ...
Страница 80: ...APC 3X97A user manual 80 5 Installing 6 The Install Shield Wizard Completed appears Click Finish ...
Страница 85: ...APC 3X97A user manual 85 Setting ...