
Software specification for Kontron EAPI
35
Number of an input GPIO. From 0 to (GpioCount - 1) returned
by KEApiGpioGetCount.
Pointer to a variable where the GPIO level (0 – low, 1- high)
is saved
2.16.6 KEApiGpioSetLevel
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGpioSetLevel (
KEAPI_UINT32 boardHandle,
KEAPI_UINT32 gpioNr,
KEAPI_UCHAR level
);
Description:
Function for setting level of selected GPIO pin.
Parameters:
Handle of the selected board.
Number of an output GPIO. From 0 to (GpioCount - 1)
returned by KEApiGpioGetCount.
Level to be set (0 - low, 1 - high)
2.17 Watchdog
2.17.1 KEApiWatchdogEnable
KEAPI_CALLTYPE KEAPI_UINT32 KEApiWatchdogEnable (
KEAPI_UINT32 boardHandle,
KEAPI_INT32 timeout
);
Description:
Enables the watchdog.
Parameters:
Handle of the selected board
Watchdog timeout interval in milliseconds
2.17.2 KEApiWatchdogTrigger
KEAPI_CALLTYPE KEAPI_UINT32 KEApiWatchdogTrigger (
KEAPI_UINT32 boardHandle
);
Description:
Triggers the WatchDog timer.
Parameters:
Handle of the selected board
Kommentare zu diesen Handbüchern