mtb-pmbus
Page/Phase Functions

General Description

Functions

uint8_t mtb_pmbus_get_active_page (mtb_pmbus_stc_t *inst)
 Returns the active page number. More...
 
uint8_t mtb_pmbus_get_active_phase (mtb_pmbus_stc_t *inst)
 Returns the active phase number. More...
 

Function Documentation

◆ mtb_pmbus_get_active_page()

uint8_t mtb_pmbus_get_active_page ( mtb_pmbus_stc_t inst)

Returns the active page number.

Note
This function is only available when MTB_PMBUS_PAGES_NUM is greater than 0U at compile time options.
Parameters
instThe pointer to the PMBus instance structure
Returns
uint8_t The active page number

◆ mtb_pmbus_get_active_phase()

uint8_t mtb_pmbus_get_active_phase ( mtb_pmbus_stc_t inst)

Returns the active phase number.

Note
This function is only available when MTB_PMBUS_PHASES_NUM is greater than 0U at compile time options.
Parameters
instThe pointer to the PMBus instance structure
Returns
uint8_t The active phase number