20.6.2.6.1 Function system_switch_performance_level()

Switch performance level.

enum status_code system_switch_performance_level( const enum system_performance_level performance_level)

The bus frequency must be reduced prior to scaling down the performance level, in order to not exceed the maximum frequency allowed for the performance level.

When scaling up the performance level (for example from PL0 to PL2), the bus frequency can be increased first when the performance level transition is completed. Check the performance level status before increasing the frequency.

Table 20-26. Parameters
Data directionParameter nameDescription

[in]

performance_level

Performance level to switch

Table 20-27. Return Values
Return valueDescription

STATUS_ERR_INVALID_ARG

Invalid parameter

STATUS_OK

Successfully