Method: LIBUSB::Setting#endpoints
- Defined in:
- lib/libusb/setting.rb
#endpoints ⇒ Object
96 97 98 99 100 101 102 |
# File 'lib/libusb/setting.rb', line 96 def endpoints ifs = [] self[:bNumEndpoints].times do |i| ifs << Endpoint.new(self, self[:endpoint] + i*Endpoint.size) end return ifs end |