Xpm_DisableEvent - Xpm_DisableEvent - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

Disables the requested event counter.

Prototype

u32 Xpm_DisableEvent(u32 EventCntrId);

Parameters

The following table lists the Xpm_DisableEvent function arguments.

Table 1. Xpm_DisableEvent Arguments
Name Description
EventCntrId Event Counter ID. The counter ID is the same which is received through a call to Xpm_SetUpAnEvent.

Returns

  • XST_SUCCESS if successful.
  • XST_FAILURE if the passed Counter ID is invalid (that is, greater than 2).