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 |
Define the HPM PMBUS Slave Configuration Structure.
This structure stores configuration information related to an HPM PMBUS slave
| hpm_pmbus_complete_cb_t hpm_pmbus_slave_cfg_t::callback |
Callback function pointer, called when data transfer completes
| uint32_t hpm_pmbus_slave_cfg_t::data_length |
Data length, representing the number of bytes to be written or read
| bool hpm_pmbus_slave_cfg_t::is_valid |
A flag indicating whether the slave configuration is valid
| uint8_t* hpm_pmbus_slave_cfg_t::rdata |
Pointer to read data, used for reading data from the slave
| uint8_t* hpm_pmbus_slave_cfg_t::wdata |
Pointer to write data, used for writing data to the slave