21.9.10 smartpower_edit_custom_mode

Description

This Tcl command edits a custom mode. You should specify at least one of the following optional parameters: new name and description.

smartpower_edit_custom_mode -name {old mode name} \
                            [-new_name {new mode name}] \
                            [-description {mode description}]

Arguments

ParameterTypeDescription
namestringSpecifies the name of the custom mode you want to edit. This parameter is mandatory.
new_namestringSpecifies the new name of the custom mode. This parameter is optional.
descriptionstringSpecifies the description of the new custom mode. This parameter is mandatory.
Return TypeDescription
NoneNone

Error Codes

Error CodeDescription
NoneRequired parameter 'name' is missing.
NoneParameter 'name' has illegal value.
NoneParameter 'new_name' has illegal value.
NoneParameter 'description' has illegal value.
NoneParameter 'param_name' is not defined. Valid command formatting is 'smartpower_edit_custom_mode -name "name" [-description "description"] [-new_name "new mode name"]'.
NoneA custom mode with name "mode_name" does not exist.

Supported Families

PolarFire®
SmartFusion® 2
RTG4™
IGLOO® 2
PolarFire SoC

Example

This example edits custom mode "CustomMode" and renames it "CustomMode2":

smartpower_edit_custom_mode -name {CustomMode} \
                            -new_name {CustomMode2} \
                            -description {frequency 10 MHz}

See Also