Functions | |
| void | mtb_pmbus_ctrl_isr (mtb_pmbus_ctrl_stc_t *inst) |
| PMBus controller interrupt service routine. | |
| void | mtb_pmbus_ctrl_timer_isr (mtb_pmbus_ctrl_stc_t *inst) |
| PMBus controller timer interrupt service routine. | |
| uint8_t | mtb_pmbus_ctrl_hnp_get_trgt_addr (mtb_pmbus_ctrl_stc_t *inst) |
| Return target address that sent Host Notify request. | |
| uint16_t | mtb_pmbus_ctrl_hnp_get_trgt_data (mtb_pmbus_ctrl_stc_t *inst) |
| Return data that target sent during Host Notify. | |
| void mtb_pmbus_ctrl_isr | ( | mtb_pmbus_ctrl_stc_t * | inst | ) |
PMBus controller interrupt service routine.
This function must be called from the I2C interrupt handler
| inst | The pointer to the PMBus controller instance structure |
| void mtb_pmbus_ctrl_timer_isr | ( | mtb_pmbus_ctrl_stc_t * | inst | ) |
PMBus controller timer interrupt service routine.
This function must be called from the TCPWM interrupt handler
| inst | The pointer to the PMBus controller instance structure |
| uint8_t mtb_pmbus_ctrl_hnp_get_trgt_addr | ( | mtb_pmbus_ctrl_stc_t * | inst | ) |
Return target address that sent Host Notify request.
This function must be called in the mtb_pmbus_ctrl_handle_host_notify_t when a MTB_PMBUS_CTRL_HOST_NOTIFY_COMPLETE event occurs.
| inst | The pointer to the PMBus controller instance structure |
| uint16_t mtb_pmbus_ctrl_hnp_get_trgt_data | ( | mtb_pmbus_ctrl_stc_t * | inst | ) |
Return data that target sent during Host Notify.
This function must be called in the mtb_pmbus_ctrl_handle_host_notify_t when a MTB_PMBUS_CTRL_HOST_NOTIFY_COMPLETE event occurs.
| inst | The pointer to the PMBus controller instance structure |