This function configures the Cortex R5 event counters controller, with the event codes, in a configuration selected by the user and enables the counters.
Prototype
void Xpm_SetEvents(s32 PmcrCfg);
Parameters
The following table lists the Xpm_SetEvents
function 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. |