Keapisetfanmodethermalcruise, Keapigetcpufanspeed, Keapisetcpufanspeed – Kontron KEAPI User Manual

Page 22: 6 keapisetfanmodethermalcruise, 7 keapigetcpufanspeed, 8 keapisetcpufanspeed

Advertising
background image

Software specification for Kontron EAPI

22

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.

in

targetPwm

Required fan speed modulation pwm in a range of 0 (min) -
255 (full speed)

2.10.6 KEApiSetFanModeThermalCruise

KEAPI_CALLTYPE

KEAPI_UINT32

KEApiSetFanModeThermalCruise (

KEAPI_UINT32

boardHandle,

KEAPI_UINT32

fanNr,

KEAPI_UINT32

targetTemp,

KEAPI_UINT32

toleranceTemp

);

Description:

Sets the fan into thermal cruise mode.

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.

in

targetTemp

What temperature should not be exceeded, in millidegrees
Celsius

in

toleranceTemp

Tolerance of the target temperature. The controlled
temperature should fluctuate around the target temperature
within given tolerance, i.e. If the target temperature is 30
degrees Celsius, and the tolerance is set to 2 degrees, then
the temperature is kept in the range of 28 - 32 degrees.

2.10.7 KEApiGetCpuFanSpeed

KEAPI_CALLTYPE

KEAPI_UINT32

KEApiGetCpuFanSpeed (

KEAPI_UINT32

boardHandle,

KEAPI_PINT32

pCpuFanRpm

);

Description:

Provides CPU fan speed (revolutions per minute).

Parameters:

in/out

Parameter name

Description

in

boardHandle

Handle of the selected board

out

pCpuFanRpm

Pointer to a variable that receives CPU fan rpm

2.10.8 KEApiSetCpuFanSpeed

KEAPI_CALLTYPE

KEAPI_UINT32

KEApiSetCpuFanSpeed (

KEAPI_UINT32

boardHandle,

KEAPI_UINT8

cpuFanSpeedPwm

);

Description:

Sets speed of CPU fan using Pulse Width Modulation.

Advertising