Keapigetfanspeed, Keapigetfanmode, Keapisetfanmodemanual – Kontron KEAPI User Manual

Page 21: 3 keapigetfanspeed, 4 keapigetfanmode, 5 keapisetfanmodemanual

Advertising
background image

Software specification for Kontron EAPI

21

2.10.3 KEApiGetFanSpeed

KEAPI_CALLTYPE

KEAPI_UINT32

KEApiGetFanSpeed (

KEAPI_UINT32

boardHandle,

KEAPI_INT32

fanNr,

KEAPI_PUINT8

pwm,

KEAPI_PINT32

rpm

);

Description:

Provides information about fan speed.

Parameters:

in/out

Parameter name

Description

in

boardHandle

Handle of the selected board

in

fanNr

Number (index) of a fan you are interested in. Fan numbers
start with 0

out

pwm

Fan speed modulation pwm. Can be set to NULL if not
wanted.

out

rpm

Returned fan speed in rpm. Can be set to NULL if not
wanted.

2.10.4 KEApiGetFanMode

KEAPI_CALLTYPE

KEAPI_UINT32

KEApiGetFanMode (

KEAPI_UINT32

boardHandle,

KEAPI_UINT32

fanNr,

KEAPI_PUINT8

fanMode

);

Description:

Provides information about fan mode.

Maximal speed: FAN_METHOD_MAX_SPEED, 0

Manual control: FAN_METHOD_MANUAL, 1

Thermal cruise: FAN_METHOD_THERMAL_CRUISE, 2.

Parameters:

in/out

Parameter name

Description

in

boardHandle

Handle of the selected board

in

fanNr

Number (index) of a fan. Fan numbers start with 0.

out

fanMode

Current fan mode (max speed, manual control, thermal
cruise).

2.10.5 KEApiSetFanModeManual

KEAPI_CALLTYPE

KEAPI_UINT32

KEApiSetFanModeManual (

KEAPI_UINT32

boardHandle,

KEAPI_INT32

fanNr,

KEAPI_UINT8

targetPwm

);

Description:

Sets the fan into manual control mode.

Advertising