Kaba class Handle ed
...
Syntax ed
class Handle
var h: _handle*
# constructors
func mut __init__()
# functions
func claim_interface(i: i32)
func clear_halt(endpoint: i32)
func control_read(req: i32[], max_size: i32) -> bytes
func control_transfer(req: i32[], data: bytes, timeout: i32) -> i32
func control_write(req: i32[], data: bytes) -> i32
func detach_kernel_driver(i: i32)
func get_config() -> i32
func interrupt_read(endpoint: i32, max_size: i32, timeout: i32) -> bytes
func interrupt_transfer(endpoint: i32, data: bytes, timeout: i32) -> i32
func kernel_driver_active(i: i32) -> bool
func release_interface(i: i32)
func reset()
func set_config(conf: i32)
func set_interface_alt_setting(i: i32, alt: i32)
Functions ed
- func claim_interface(i: i32)
- ...
- func clear_halt(endpoint: i32)
- ...
- func control_read(req: i32[], max_size: i32) -> bytes
- ...
- func control_transfer(req: i32[], data: bytes, timeout: i32) -> i32
- ...
- func control_write(req: i32[], data: bytes) -> i32
- ...
- func detach_kernel_driver(i: i32)
- ...
- func get_config() -> i32
- ...
- func interrupt_read(endpoint: i32, max_size: i32, timeout: i32) -> bytes
- ...
- func interrupt_transfer(endpoint: i32, data: bytes, timeout: i32) -> i32
- ...
- func kernel_driver_active(i: i32) -> bool
- ...
- func release_interface(i: i32)
- ...
- func reset()
- ...
- func set_config(conf: i32)
- ...
- func set_interface_alt_setting(i: i32, alt: i32)
- ...
Elements ed
- var h: _handle*
- ...