def pportInBusy():
 if (port.DlPortReadPortUchar(statusRegAdrs) & 128):
  return 0
 else:
  return 1

def pportInBusy ( ) : if ( port . DlPortReadPortUchar ( statusRegAdrs ) & 128 ) : return 0 else : return 1
input from busy pin .