Kontron KEAPI Manual de usuario Pagina 35

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 37
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37

Comentarios a estos manuales

Sin comentarios