code: def baudrate=(new_baudrate)
        raise ArgumentError.new('baudrate should be Fixnum')  unless new_baudrate.kind_of?(Fixnum)
        check_result(Ftdi.ftdi_set_baudrate(ctx, new_baudrate))
      end
docs: Sets the chip baud rate.
   @raise [StatusCodeError] libftdi reports error.
   @raise [ArgumentError] Bad arguments.
   @return [NilClass] nil