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

General Description

API Reference

 Command capabilities macro
 Command Capabilities setting rules:
 
 Error events
 
 Implemented Commands macro
 

Macros

#define MTB_PMBUS_NO_PAGE_PHASE   (-1)
 Use this macro for mtb_pmbus_cmd_update_data_ext, mtb_pmbus_cmd_read_data_ext, mtb_pmbus_cmd_get_transfer_size_ext as input parameters for page or phase fields in case if command is not paged or/and not phased.
 
#define MTB_PMBUS_CMD_MAX_SIZE   (255U)
 The maximum command size in bytes.
 
#define MTB_PMBUS_CONV_CMD_EXT_CMD_FORMAT(code)
 Macro to convert command code to extended command format.
 

Macro Definition Documentation

◆ MTB_PMBUS_CONV_CMD_EXT_CMD_FORMAT

#define MTB_PMBUS_CONV_CMD_EXT_CMD_FORMAT ( code)
Value:
((code << 0x08) | 0xFE)

Macro to convert command code to extended command format.

Note
This macro is only available when MTB_PMBUS_SUPPORT_EXT_CMD is enabled at compile time options.