![]() |
sysmonpsv
Vitis Drivers API Documentation
|
Functions | |
| int | XSysMonPsv_EnableVoltageEvents (XSysMonPsv *InstancePtr, u32 Supply, u32 IntrNum) |
| Enables voltage event for the supply. More... | |
| int | XSysMonPsv_DisableVoltageEvents (XSysMonPsv *InstancePtr, u32 Supply) |
| Disables voltage event for the supply. More... | |
| int XSysMonPsv_DisableVoltageEvents | ( | XSysMonPsv * | InstancePtr, |
| u32 | Supply | ||
| ) |
Disables voltage event for the supply.
| InstancePtr | Pointer to the driver instance. |
| Supply | Enum from the XSysMonPsv_Supply. |
References ALARM_REG, ALARM_SHIFT, XSysMonPsv::Config, XSysMonPsv_Config::Supply_List, XSYSMONPSV_ALARM_REG0, XSysMonPsv_ReadReg32(), and XSysMonPsv_WriteReg32().
| int XSysMonPsv_EnableVoltageEvents | ( | XSysMonPsv * | InstancePtr, |
| u32 | Supply, | ||
| u32 | IntrNum | ||
| ) |
Enables voltage event for the supply.
| InstancePtr | Pointer to the driver instance. |
| Supply | Enum from the XSysMonPsv_Supply. |
| IntrNum | Interrupt Offset. |
References ALARM_REG, ALARM_SHIFT, XSysMonPsv::Config, GET_BIT, XSysMonPsv_Config::Supply_List, XSYSMONPSV_ALARM_REG0, XSysMonPsv_InterruptEnable(), XSysMonPsv_ReadReg32(), and XSysMonPsv_WriteReg32().
Referenced by SysMonPsvIntrExample().