97
Appendix C
BOOL Set DIO2Config(BYTE Isolate_Type, BYTE DI_NPN, BYTE DO_NPN);
Set DIO2 configuration
Isolate_Type: DIO2 Isolate Type
1: Isolated DIO; 0: Non-Isolated DIO
DI_NPN: DIO2 input NPN mode (DI_NPN[7:0])
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
DO_NPN: DIO2 output NPN mode
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)