POC-400 Series
93
RegisterCallbackDICOS
Syntax
BOOL RegisterCallbackDICOS(COS_INT_CALLBACK
callback);
Description:
Registers a callback function, which is called when the DICOS
interrupt occurred.
Parameter
callback [in]
Specifies the callback function. The prototype for this function
is descripted as follow.
void __stdcall callback_func(COS_INT_CALLBACK_ARG*
arg);
Return Value
TRUE
if setup successes,
FALSE
if setup failed.
Usage
void __stdcall callback_func(COS_INT_CALLBACK_ARG*
arg)
{
printf("data=0x%02x, flag=0x%02x, seq=%02d\n",
arg->portData, arg->intrFlag, arg->intrSeq);
}
BOOL bRet = RegisterCallbackDICOS(callback_func);
StartDICOS
Syntax
BOOL StartDICOS(void);
Description
Start DI Change-of-State interrupt
Parameter
None
Return Value
TRUE
if start procedure successes
FALSE
if start procedure failed
Usage
BOOL bRet = StartDICOS();
Содержание POC-400 Series
Страница 1: ...Neousys Technology Inc POC 400 Series User Manual Revision 1 0...
Страница 4: ...Table of Contents 4 GetStatusPoEPort 97 EnablePoEPort 98 DisablePoEPort 99...
Страница 16: ...POC 400 Series 16 1 3 Dimension 1 3 1 Superior View 1 3 2 Front Panel View...
Страница 17: ...POC 400 Series 17 1 3 3 Bottom View...
Страница 47: ...POC 400 Series 47 4 Gently press the card down and secure with a screw 5 Reinstall the system enclosure...
Страница 54: ...POC 400 Series 54 Bottom of the enclosure...
Страница 96: ...POC 400 Series 96 printf StopDICOS PASSED n printf npress any key to exit n system pause nul return 0...