Kontron KEAPI Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 37
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
Software specification for Kontron EAPI
20
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
in
voltageSensorNr
Number (index) of a voltage. Numbers start with 0
out
pVoltageSensorValue
Pointer to the value of the selected sensor, in millivolts
2.10 Fan Control
2.10.1 KEApiGetFanCount
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetFanCount (
KEAPI_UINT32 boardHandle,
KEAPI_PINT32 pFanCount
);
Description:
Provides number of fans.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
out
pFanCount
Pointer to number of fans
2.10.2 KEApiGetFanList
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetFanList (
KEAPI_UINT32 boardHandle,
PFAN pFans,
KEAPI_INT32 fanCount
);
Description:
Provides information about fans.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
in
fanCount
Number of fans, which can be obtained from the
KEApiGetFanCount function
out
pFans
Pointer to PFAN structure
Structure used:
typedef struct Fan
{
KEAPI_CHAR name[MAX_STR]; // Fan name
KEAPI_UINT32 rpm; // Revolutions per minute
KEAPI_UINT8 pwm; // Pulse width modulation fan control
KEAPI_UINT8 powerMode; // Fan speed control mode 0 = DC, 1 = PWM
KEAPI_UINT8 method; // Method of control - Maximal speed,
manual control or thermal cruise
} FAN, *PFAN;
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 36 37

Komentarze do niniejszej Instrukcji

Brak uwag