Kontron KEAPI Manuel d'utilisateur Page 35

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 37
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 34
1 2 ... 30 31 32 33 34 35 36 37

Commentaires sur ces manuels

Pas de commentaire