<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_pattern_actual_step(self, patternnumber):
 """Get the 'actual step' parameter for a given pattern. Args: patternnumber (integer):
 0-7 Returns: The 'actual step' parameter (int). """

        _checkPatternNumber(patternnumber)
        
        address = _calculateRegisterAddress('actualstep', patternnumber)
        return self.read_register(address, 0)