宏定义 | |
| #define | KSJ_API __declspec(dllimport) |
枚举 | |
| enum | KSJ_GPIOIN_MODE { KSJ_GPIOIN_EXTERNALTRIGGER, KSJ_GPIOIN_NORMAL } |
外触发输入引脚工作模式 更多... | |
| enum | KSJ_GPIOOUT_MODE { KSJ_GPIOOUT_FLASH, KSJ_GPIOOUT_NORMAL } |
GPIO模式. 更多... | |
函数 | |
| KSJ_API int __stdcall | KSJ_GpioSetDirection (int nIndex, unsigned char btDirection) |
| KSJ_GpioSetDirection. | |
| KSJ_API int __stdcall | KSJ_GpioGetDirection (int nIndex, unsigned char *pbtDirection) |
| KSJ_GpioGetDirection. | |
| KSJ_API int __stdcall | KSJ_GpioSetStatus (int nIndex, unsigned char btGpioStatus) |
| KSJ_GpioSetStatus. | |
| KSJ_API int __stdcall | KSJ_GpioGetStatus (int nIndex, unsigned char *pbtGpioStatus) |
| KSJ_GpioGetStatus. | |
| KSJ_API int __stdcall | KSJ_FlashControlSet (int nIndex, bool bEnable, bool bInvert, int nMode) |
| KSJ_FlashControlSet. | |
| KSJ_API int __stdcall | KSJ_FlashControlGet (int nIndex, bool *pbEnable, bool *pbInvert, int *pnMode) |
| KSJ_FlashControlGet. | |
| KSJ_API int __stdcall | KSJ_FlashEnableSet (int nIndex, bool bEnable) |
| KSJ_FlashEnableSet. | |
| KSJ_API int __stdcall | KSJ_FlashEnableGet (int nIndex, bool *pbEnable) |
| KSJ_FlashEnableGet. | |
| KSJ_API int __stdcall | KSJ_FlashInvertSet (int nIndex, bool bInvert) |
| KSJ_FlashInvertSet. | |
| KSJ_API int __stdcall | KSJ_FlashInvertGet (int nIndex, bool *pbInvert) |
| KSJ_FlashInvertGet. | |
| KSJ_API int __stdcall | KSJ_GpioInModeSet (int nIndex, KSJ_GPIOIN_MODE GpioInMode) |
| KSJ_GpioInModeSet. | |
| KSJ_API int __stdcall | KSJ_GpioInModeGet (int nIndex, KSJ_GPIOIN_MODE *pGpioInMode) |
| KSJ_GpioInModeGet. | |
| KSJ_API int __stdcall | KSJ_GpioInStatusGet (int nIndex, unsigned char *pbtValue) |
| KSJ_GpioInStatusGet. | |
| KSJ_API int __stdcall | KSJ_GpioOutModeSet (int nIndex, KSJ_GPIOOUT_MODE GpioOutMode) |
| KSJ_GpioOutModeSet. | |
| KSJ_API int __stdcall | KSJ_GpioOutModeGet (int nIndex, KSJ_GPIOOUT_MODE *pGpioOutMode) |
| KSJ_GpioOutModeGet. | |
| KSJ_API int __stdcall | KSJ_GpioOutStatusSet (int nIndex, unsigned char btValue) |
| KSJ_GpioOutStatusSet. | |
| KSJ_API int __stdcall | KSJ_GpioFilterSet (int nIndex, unsigned short wFilterTimeUs) |
| KSJ_GpioFilterSet. | |
| KSJ_API int __stdcall | KSJ_GpioFilterGet (int nIndex, unsigned short *pwFilterTimeUs) |
| KSJ_GpioFilterGet. | |
| #define KSJ_API __declspec(dllimport) |