mtb-pmbus 1.2.0.1772
 
Loading...
Searching...
No Matches
Compile Time Options Macros

General Description

Macros

#define MTB_PMBUS_LOG_LEVEL   (MTB_PMBUS_LOG_LEVEL_WARNING)
 Select the Log Level.
 
#define MTB_PMBUS_CUSTOM_LOG   (0U)
 Enable or disable the custom log.
 
#define MTB_PMBUS_ENABLE_TIMEOUT   (1U)
 Enable the timeout error when the clock line is held low for 25 ms.
 

Macro Definition Documentation

◆ MTB_PMBUS_LOG_LEVEL

#define MTB_PMBUS_LOG_LEVEL   (MTB_PMBUS_LOG_LEVEL_WARNING)

Select the Log Level.

Default: MTB_PMBUS_LOG_LEVEL_WARNING

◆ MTB_PMBUS_CUSTOM_LOG

#define MTB_PMBUS_CUSTOM_LOG   (0U)

Enable or disable the custom log.

Default: 0U (Disabled)

◆ MTB_PMBUS_ENABLE_TIMEOUT

#define MTB_PMBUS_ENABLE_TIMEOUT   (1U)

Enable the timeout error when the clock line is held low for 25 ms.

The timeout is a mandatory feature of the SMBus specification, so it is recommended to disable it only during debugging.

Default: 1U (Enabled)