HPM SDK
HPMicro Software Development Kit
hpm_pmbus_slave_cfg_t Struct Reference

Define the HPM PMBUS Slave Configuration Structure. More...

#include <hpm_pmbus.h>

Data Fields

bool is_valid
 
uint8_t * wdata
 
uint8_t * rdata
 
uint32_t data_length
 
hpm_pmbus_complete_cb_t callback
 

Detailed Description

Define the HPM PMBUS Slave Configuration Structure.

This structure stores configuration information related to an HPM PMBUS slave

Field Documentation

◆ callback

hpm_pmbus_complete_cb_t hpm_pmbus_slave_cfg_t::callback

Callback function pointer, called when data transfer completes

◆ data_length

uint32_t hpm_pmbus_slave_cfg_t::data_length

Data length, representing the number of bytes to be written or read

◆ is_valid

bool hpm_pmbus_slave_cfg_t::is_valid

A flag indicating whether the slave configuration is valid

◆ rdata

uint8_t* hpm_pmbus_slave_cfg_t::rdata

Pointer to read data, used for reading data from the slave

◆ wdata

uint8_t* hpm_pmbus_slave_cfg_t::wdata

Pointer to write data, used for writing data to the slave


The documentation for this struct was generated from the following file: