h6. [[Portable]] h6(. » [[Portable SWI Calls|SWI Calls]] h6((. » [[Portable_Speed2]] h6(((. » Portable_Speed2 2 h2. Portable_Speed2 2 h5. (SWI &42FCE) |_<^{width:4em}. Entry | | |<^. R0 |<^. 2 (Reason code) | |<^. R1 |<^. Desired 'slow' speed, in MHz | |<^. R2 |<^. Desired 'fast' speed, in MHz | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. New 'slow' speed, in MHz | |<^. R2 |<^. New 'fast' speed, in MHz | h4. Use The purpose of this call is to allow the user to select the clock speeds that are associated with [[Portable_Speed]]s 'slow' and 'fast' settings. The values the user supplies in R1 and R2 will be matched to the set of speeds that the hardware supports, and the updated values, representing the new speeds that will actually be used, will be returned to the caller. h4. Notes [[Portable_Speed2 8]] provides similar functionality to this call, but the speeds are expressed as indices into the list of available speeds, not as raw MHz values. To read the currently configured 'slow' and 'fast' speeds, use [[Portable_Speed2 3]]. To find out more information about the available CPU speeds, see [[Portable_Speed2 4]] and [[Portable_Speed2 5]]. To find the current CPU speed, see [[Portable_Speed2 0]]. h4. See also * [[Portable_Speed]] * [[Portable_Speed2]] * [[Portable_Speed2 0]] * [[Portable_Speed2 3]] * [[Portable_Speed2 4]] * [[Portable_Speed2 5]] * [[Portable_Speed2 8]] * [[Portable SWI Calls]]