Functions | |
| void | mtb_pmbus_smbalert_config_mode (mtb_pmbus_stc_t *inst, mtb_pmbus_smbalert_mode_t mode) |
| Sets the mode for SMBALERT pin. More... | |
| void | mtb_pmbus_smbalert_set_signal (mtb_pmbus_stc_t *inst) |
| Set low level for SMBALERT pin. More... | |
| void | mtb_pmbus_smbalert_clear_signal (mtb_pmbus_stc_t *inst) |
| Set hign level for SMBALERT pin. More... | |
| void mtb_pmbus_smbalert_config_mode | ( | mtb_pmbus_stc_t * | inst, |
| mtb_pmbus_smbalert_mode_t | mode | ||
| ) |
Sets the mode for SMBALERT pin.
| inst | The pointer to the PMBus instance structure |
| mode | The selected mode, mtb_pmbus_smbalert_mode_t |
| void mtb_pmbus_smbalert_set_signal | ( | mtb_pmbus_stc_t * | inst | ) |
Set low level for SMBALERT pin.
Once the SMBALERT signal sets to 0, the Middleware starts to response on Alert Response Address.
This function does nothing if mtb_pmbus_stc_config_t::enable_smbalert is set to NULL.
| inst | The pointer to the PMBus instance structure |
| void mtb_pmbus_smbalert_clear_signal | ( | mtb_pmbus_stc_t * | inst | ) |
Set hign level for SMBALERT pin.
This function does nothing if mtb_pmbus_stc_config_t::enable_smbalert is set to NULL.
The middleware stops response on Alert Response Address once this function is called. If the SMBALERT mode is MTB_PMBUS_SMBALERT_MODE_AUTO, the middleware automatic clears the SMBALERT signal, otherwise clear the signal manually in mtb_pmbus_handle_events_t callback when MTB_PMBUS_ALERT_RESPONSE_ADDR_EVENT is triggered.
| inst | The pointer to the PMBus instance structure |