Update default docs for device class fields
This commit is contained in:
		
							parent
							
								
									a3d35216d4
								
							
						
					
					
						commit
						cac7000882
					
				| @ -34,17 +34,20 @@ pub struct Config<'a> { | ||||
|     /// Device class code assigned by USB.org. Set to `0xff` for vendor-specific
 | ||||
|     /// devices that do not conform to any class.
 | ||||
|     ///
 | ||||
|     /// Default: `0x00` (class code specified by interfaces)
 | ||||
|     /// Default: `0xEF`
 | ||||
|     /// See also: `composite_with_iads`
 | ||||
|     pub device_class: u8, | ||||
| 
 | ||||
|     /// Device sub-class code. Depends on class.
 | ||||
|     ///
 | ||||
|     /// Default: `0x00`
 | ||||
|     /// Default: `0x02`
 | ||||
|     /// See also: `composite_with_iads`
 | ||||
|     pub device_sub_class: u8, | ||||
| 
 | ||||
|     /// Device protocol code. Depends on class and sub-class.
 | ||||
|     ///
 | ||||
|     /// Default: `0x00`
 | ||||
|     /// Default: `0x01`
 | ||||
|     /// See also: `composite_with_iads`
 | ||||
|     pub device_protocol: u8, | ||||
| 
 | ||||
|     /// Device release version in BCD.
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user