Availability:
     Level 2    , 'M'

  Quick Help:
     Set Diag Idle Mode, M[ModeSelect],[ModeMask],[ResetToPowerOn]

  Description:
    This commmand enables / disables Idle Mode features.  The Online Control P command can
    subsequently toggle selected features off and back on.  The mode you set will not
    change when you move among diag, interface, and online modes (that is, the mode will
    stay set when you use ctl-T, ctl-R, and ctl-Z).

  Input Parameters:

    
    0 - Idle features mode select
    
        This parameter specifies which idle mode features are enabled.
    
          Enable STIR                     0x1
          Enable TCC                      0x2
          Enable Continuous Writer Heat   0x4
          Enable MR Bias Chop             0x8
          Enable PFAST                    0x10
          Enable Self Seek                0x20 (only on some drives)
          Continuous Channel Power        0x40
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to 0x3F
    
          Default: If no value entered, display current features enabled.
    
    1 - Idle features mode mask
    
        This parameter specifies which idle mode features are MODIFIED, both
        by this command and by subsequent ctl-P commands.  For each bit,
        a 1 in this parameter means this feature will be enabled or
        disabled depending on how parameter 0 is set.  A zero in a bit for this
        parameter means this feature will remain unchanged regardless of how
        parameter 0 is set.
        Ctl-P toggles the bits set in this parameter.
        If this parameter is not entered, all bits are set according to parameter 0
        and the Ctl-P mask is unchanged.
        If parameter 0 is not entered, this parameter is ignored.
    
          Enable STIR                     0x1
          Enable TCC                      0x2
          Enable Continuous Writer Heat   0x4
          Enable MR Bias Chop             0x8
          Enable PFAST                    0x10
          Enable Self Seek                0x20
          Continuous Channel Power        0x40
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to DIAG_POWER_ALL
    
          Default: 0x3F [ all features modified ]
    
          Example: 2> M3,7 sets STIR and TCC, clears Continuous Writer Heat and
            MR Bias Chop, and leaves PFAST and Self Seek unchanged.
            Subsequent clt-P commands toggle only STIR, TCC, and Continuous Writer
            Heat.
    
    2 - Reset to power on values
    
        If this parameter is entered, the other parameters are ignored.  The idle
        mode is reset to its power on value.
    
          Type:    Unsigned 32-bit value
    
          Range:   0 to 0xFFFFFFFF
    
          Default: none
    
          Example: 2> M,,7 sets the idle mode to what it was when the drive powered
            on.
    
  Output Data:


     If an error occurred, the following information will be displayed.
     
           "DiagError aaaaaaaa"
     
        where
     
           aaaaaaaa is the Diagnostic Error Code
     
     If no error occurred, then the following will be displayed:
    
           "                Dithering xxx  ctl-P yyyyyyyyyyy"
           "                      TCC xxx  ctl-P yyyyyyyyyyy"
           "Continuous heat to writer xxx  ctl-P yyyyyyyyyyy"
           "MR chop / cnt. preamp pwr xxx  ctl-P yyyyyyyyyyy"
           "                    PFast xxx  ctl-P yyyyyyyyyyy"
           " Continuous channel power xxx  ctl-P yyyyyyyyyyy"
    
        where
    
           xxx      is either "On" or "Off"
    
           yy..yy   is either "toggles" or "won't toggle"
    
  Examples:

    Example #1:
    To turn on Dithering and TCC, turn off continuous heat and
    MR chop, and leave PFast and channel power unchanged:

       F3 2>M3,f

                        Dithering On   ctl-P toggles
                              TCC On   ctl-P toggles
        Continuous heat to writer Off  ctl-P toggles
                          MR Chop Off  ctl-P toggles
                            PFast Off  ctl-P won't toggle
         Continuous channel power Off  ctl-P won't toggle

       Note that the second parameter ('f' above) will control what
       toggles with control P.

       [ issue control P ]

                        Dithering Off  ctl-P toggles     <- used to be ON
                              TCC Off  ctl-P toggles     <- used to be ON
        Continuous heat to writer On   ctl-P toggles     <- used to be OFF
                          MR Chop On   ctl-P toggles     <- used to be OFF
                            PFast Off  ctl-P won't toggle
         Continuous channel power Off  ctl-P won't toggle

       [ issue control P ]

                        Dithering On   ctl-P toggles     <- used to be OFF
                              TCC On   ctl-P toggles     <- used to be OFF
        Continuous heat to writer Off  ctl-P toggles     <- used to be ON
                          MR Chop Off  ctl-P toggles     <- used to be ON
                            PFast Off  ctl-P won't toggle
         Continuous channel power Off  ctl-P won't toggle

    Example #2:
    To turn off power chop and see RDX/RDY on all the time:

       F3 2>M0,8

                        Dithering On   ctl-P won't toggle
                              TCC On   ctl-P won't toggle
        Continuous heat to writer On   ctl-P won't toggle
                          MR Chop Off  ctl-P toggles
                            PFast Off  ctl-P won't toggle
         Continuous channel power Off  ctl-P won't toggle

  Revision History:

    0001.0000   Initial revision.
    0011.0000   Combined the PSG Diagnostic Error Codes (PSGDEC) and the Diagnostic External
                Test Service Error Codes (DETSEC) into a single set of Diagnostic Error Codes
                (DiagError).
    0012.0000   Relabel MR Bias chop as just MR Bias chop, omitting reference to continuous
                power mode.