mtb-pmbus
Initialization Functions

General Description

Functions

mtb_pmbus_status_t mtb_pmbus_init (mtb_pmbus_stc_t *inst, mtb_pmbus_stc_config_t const *config)
 Initialize the PMBus Middleware. More...
 
mtb_pmbus_status_t mtb_pmbus_enable (mtb_pmbus_stc_t *inst)
 Enable PMBus Middleware. More...
 
mtb_pmbus_status_t mtb_pmbus_disable (mtb_pmbus_stc_t *inst)
 Disable PMBus Middleware. More...
 

Function Documentation

◆ mtb_pmbus_init()

mtb_pmbus_status_t mtb_pmbus_init ( mtb_pmbus_stc_t inst,
mtb_pmbus_stc_config_t const *  config 
)

Initialize the PMBus Middleware.

Parameters
instThe pointer to the PMBus instance structure
configThe pointer to PMBus configuration structure
Returns
mtb_pmbus_status_t

◆ mtb_pmbus_enable()

mtb_pmbus_status_t mtb_pmbus_enable ( mtb_pmbus_stc_t inst)

Enable PMBus Middleware.

After calling of this function Middleware starts to response on Controller transfers

Parameters
instThe pointer to the PMBus instance structure
Returns
mtb_pmbus_status_t

◆ mtb_pmbus_disable()

mtb_pmbus_status_t mtb_pmbus_disable ( mtb_pmbus_stc_t inst)

Disable PMBus Middleware.

After calling of this function Middleware stops to response on Controller transfers

Parameters
instThe pointer to the PMBus instance structure
Returns
mtb_pmbus_status_t