mtb-pmbus 1.2.0.1772
 
Loading...
Searching...
No Matches
Initialization Functions

General Description

Functions

mtb_pmbus_ctrl_status_t mtb_pmbus_ctrl_init (mtb_pmbus_ctrl_stc_t *inst, mtb_pmbus_ctrl_cfg_t *cfg)
 Initialize the PMBus Instance in Controller mode.
 
void mtb_pmbus_ctrl_enable (mtb_pmbus_ctrl_stc_t *inst)
 Enable PMBus instance in Controller mode.
 
void mtb_pmbus_ctrl_disable (mtb_pmbus_ctrl_stc_t *inst)
 Disable PMBus instance in Controller mode.
 

Function Documentation

◆ mtb_pmbus_ctrl_init()

mtb_pmbus_ctrl_status_t mtb_pmbus_ctrl_init ( mtb_pmbus_ctrl_stc_t * inst,
mtb_pmbus_ctrl_cfg_t * cfg )

Initialize the PMBus Instance in Controller mode.

Parameters
instThe pointer to the PMBus controller instance structure
cfgThe pointer to the PMBus controller configuration structure
Returns
mtb_pmbus_ctrl_status_t

◆ mtb_pmbus_ctrl_enable()

void mtb_pmbus_ctrl_enable ( mtb_pmbus_ctrl_stc_t * inst)

Enable PMBus instance in Controller mode.

After calling this function, the controller is ready to perform transfers

Parameters
instThe pointer to the PMBus controller instance structure

◆ mtb_pmbus_ctrl_disable()

void mtb_pmbus_ctrl_disable ( mtb_pmbus_ctrl_stc_t * inst)

Disable PMBus instance in Controller mode.

After calling this function, the controller stops operation

Parameters
instThe pointer to the PMBus controller instance structure