245
Western Digital Hard Disk Drive OEM Specification
11.46.6 Extended Power Conditions (EPC) feature
11.46.6.1 Restore Power Condition Settings subcommand
Command Block Output Registers
Command Block Input Registers
Table 213 Restore Power Condition Settings subcommand
On successful completion of this EPC subcommand, the device updates the Power Conditions log for the selected
Power Condition ID as follows:
1) if Default is set to one, then:
A) copy the Default Timer Settings field to the Current Timer Settings field; and
B) copy the Default Timer Enabled field to the Current Timer Enabled field;
2) if Default is cleared to zero, then:
A) copy the Saved Timer Settings field to the Current Timer Settings field; and
B) copy the Saved Timer Enabled field to the Current Timer Enabled field;
and
3) if Save is set to one and the power condition is savable, then:
A) copy the Current Timer Settings field to the Saved Timer Settings field;
Output Parameters To The Device
Power Condition ID (See Table 74)
Restore from Default settings
Restore from Saved settings
Save settings on completion
Do not save settings on completion
0h Restore Power Condition subcommand (See Table 73)
Error Output
If any selected Power Condition is not supported, or is not changeable, or if Extended Power Condition feature set is
disable, or if Save is set to one and any selected power condition is not savable, then the device returns command
aborted .