Xpm_SetEvents - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

This function configures the Cortex A9 event counters controller, with the event codes, in a configuration selected by the user and enables the counters.

Note: None.

Prototype

void Xpm_SetEvents(s32 PmcrCfg);

Parameters

The following table lists the Xpm_SetEvents function arguments.

Table 1. Xpm_SetEvents Arguments
Name Description
PmcrCfg Configuration value based on which the event counters are configured. XPM_CNTRCFG* values defined in xpm_counter.h can be utilized for setting configuration.

Returns

None.