mtb-pmbus 1.3.0.1943
 
Loading...
Searching...
No Matches
Common Hardware Specific APIs

General Description

Macros

#define MTB_PMBUS_HAL_USE_TGS   (1U)
 Use TGS HW features of SCB block for timeout detection.
 
#define MTB_PMBUS_TGS_TIMER_NUM   (0U)
 The number of TGS timer used for SMBus timeout handling by PMBus Middleware.
 
#define MTB_PMBUS_HAL_USE_TCPWM   (1U)
 Use one of the TCPWM counters for the timeout detection.
 

Macro Definition Documentation

◆ MTB_PMBUS_HAL_USE_TGS

#define MTB_PMBUS_HAL_USE_TGS   (1U)

Use TGS HW features of SCB block for timeout detection.

This macro is enabled by default when the SCB supports a TGS counter. The PMBus Solution Personality generates this macro automatically. For manual configuration, to use a TCPWM counter instead, redefine this macro to (0U) and define MTB_PMBUS_HAL_USE_TCPWM as (1U) in the mtb_pmbus_conf.h file.

◆ MTB_PMBUS_HAL_USE_TCPWM

#define MTB_PMBUS_HAL_USE_TCPWM   (1U)

Use one of the TCPWM counters for the timeout detection.

This macro is enabled by default when the SCB does not support a TGS counter. The PMBus Solution Personality generates this macro automatically. For manual configuration, when enabling this macro on an SCB that supports a TGS counter, redefine MTB_PMBUS_HAL_USE_TGS as (0U) in the mtb_pmbus_conf.h file.