ioBuster framework v25.02.4 documentation


iobusterPmu

iobusterPmu

Collection of ioBuster PMU (Power Management Unit) related functions

Methods

(static) changePower(power, state)

change power of ioBuster PMU

Parameters:
Name Type Description
power String

power to change

  • "3.3V"
  • "12V"
state String

power state

  • "ON"
  • "OFF"

(static) getAdapterInfo()

get adapter info of ioBuster PMU

(static) getDebugBoardInfo()

get debug board info of ioBuster PMU

(static) getFanSpeed()

get fan speed of ioBuster PMU

(static) getPmuInfo()

get PMU info of ioBuster PMU

(static) getReceivedSmbusBlockWrite() → {Object}

get recevied SMBus Block Write by ioBuster PMU

Returns:
Type
Object

(static) getVersion()

get ioBuster PMU firmware version

(static) init(bypassInitopt)

Initializes ioBuster PMU

Parameters:
Name Type Attributes Default Description
bypassInit Boolean <optional>
false

(static) measurePower()

measure power

(static) reset() → {Object}

reset ioBuster PMU

Returns:
Type
Object

(static) sendSmbusBlockWrite(address, command, payload)

send SMBus Block Write using ioBuster PMU

PEC will be automatically computed.

Parameters:
Name Type Description
address Number

Destination Address

command Number

Command

payload Array.<Number>

Data Payload

(static) setFanSpeed()

set fan speed of ioBuster PMU

(static) uninit()

Initializes ioBuster PMU

(static) updateFirmware(firmware) → {Object}

Update ioBuster PMU firmware

Parameters:
Name Type Description
firmware String | Buffer
Returns:
Type
Object