code: def _u2i(uint32):
      
      v = u2i(uint32)
      if v < 0:
          if exceptions:
              raise ApigpioError(error_text(v))
      return v
docs: Converts a 32 bit unsigned number to signed.  If the number
      is negative it indicates an error.  On error a pigpio
      exception will be raised if exceptions is True.