XPfw_EmSetAction()
API is used to setup an action for the specified
error.
Parameters
Parameter | Description |
---|---|
ErrorId | ErrorId is ID for error as defined in EM Error ID Table. |
ActionId | ActionId is one of the actions defined in EM Error Action Table. |
ErrorHandler | ErrorHandler is the handler to be called in case where action is interrupt to PMU |
Return
XST_SUCCESS
: If error action is set properly.
XST_FAILURE
: If error action fails.