AT11378

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 1. Parameters
Data direction Parameter name Description

[in]

performance_level

Performance level to switch

Table 2. Return Values
Return value Description

STATUS_ERR_INVALID_ARG

Invalid parameter

STATUS_OK

Successfully