Kontron KEAPI Instrukcja Użytkownika Strona 35

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 37
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 34
Software specification for Kontron EAPI
35
in
gpioNr
Number of an input GPIO. From 0 to (GpioCount - 1) returned
by KEApiGpioGetCount.
out
pLevel
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:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board.
in
gpioNr
Number of an output GPIO. From 0 to (GpioCount - 1)
returned by KEApiGpioGetCount.
in
level
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:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
in
timeout
Watchdog timeout interval in milliseconds
2.17.2 KEApiWatchdogTrigger
KEAPI_CALLTYPE KEAPI_UINT32 KEApiWatchdogTrigger (
KEAPI_UINT32 boardHandle
);
Description:
Triggers the WatchDog timer.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
Przeglądanie stron 34
1 2 ... 30 31 32 33 34 35 36 37

Komentarze do niniejszej Instrukcji

Brak uwag