Data structure to hold the HPI interrupt and command operation status variable.
Data Fields | |
volatile uint8_t | portStopPending |
Check if any PD port disable operations are pending. More... | |
bool | accessed |
Check for the HPI accesses since startup. More... | |
bool | pdoUpdateDisable |
Check if the HPI-based PDO updates are allowed. More... | |
uint8_t | ecInt |
Check if the EC interrupt is enabled/disabled. More... | |
bool | ecReady |
Check if the EC init complete event is received. More... | |
volatile bool | cmdPending |
Check if the HPI command handling is pending. More... | |
volatile uint16_t | wrCount |
Size of data in HPI command buffer. More... | |
volatile bool | freezeStack |
Variable uses to implement debug features. More... | |
uint8_t * | regPtr |
Current pointer to HPI register space. More... | |
uint8_t * | regLimit |
Limit on valid address space so that the EC does not keep reading. More... | |
bool | ecIntPending |
If an EC_INT write is pending, this variable is set. More... | |
volatile uint16_t | logAddr |
Current cursor position of the log message. More... | |
uint16_t | softResetDelay |
HPI soft reset time delay. More... | |
uint16_t | softResetTimerId |
HPI soft reset timer ID. More... | |
bool | eprExit [CY_HPI_NO_OF_PD_PORTS_MAX] |
EPR exit flag. | |
volatile uint8_t cy_stc_hpi_status_t::portStopPending |
Check if any PD port disable operations are pending.
bool cy_stc_hpi_status_t::accessed |
Check for the HPI accesses since startup.
bool cy_stc_hpi_status_t::pdoUpdateDisable |
Check if the HPI-based PDO updates are allowed.
uint8_t cy_stc_hpi_status_t::ecInt |
Check if the EC interrupt is enabled/disabled.
bool cy_stc_hpi_status_t::ecReady |
Check if the EC init complete event is received.
volatile bool cy_stc_hpi_status_t::cmdPending |
Check if the HPI command handling is pending.
volatile uint16_t cy_stc_hpi_status_t::wrCount |
Size of data in HPI command buffer.
volatile bool cy_stc_hpi_status_t::freezeStack |
Variable uses to implement debug features.
uint8_t* cy_stc_hpi_status_t::regPtr |
Current pointer to HPI register space.
uint8_t* cy_stc_hpi_status_t::regLimit |
Limit on valid address space so that the EC does not keep reading.
bool cy_stc_hpi_status_t::ecIntPending |
If an EC_INT write is pending, this variable is set.
volatile uint16_t cy_stc_hpi_status_t::logAddr |
Current cursor position of the log message.
uint16_t cy_stc_hpi_status_t::softResetDelay |
HPI soft reset time delay.
uint16_t cy_stc_hpi_status_t::softResetTimerId |
HPI soft reset timer ID.