mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Added extra note about missing OUT endpoint configuration to the HID Device mode Class driver.
Added pinout information to the AVRISP project.
This commit is contained in:
		
							parent
							
								
									665fe11f12
								
							
						
					
					
						commit
						f7cde02b80
					
				@ -60,6 +60,10 @@
 | 
				
			|||||||
			/** Class state structure. An instance of this structure should be made for each HID interface
 | 
								/** Class state structure. An instance of this structure should be made for each HID interface
 | 
				
			||||||
			 *  within the user application, and passed to each of the HID class driver functions as the
 | 
								 *  within the user application, and passed to each of the HID class driver functions as the
 | 
				
			||||||
			 *  HIDInterfaceInfo parameter. This stores each HID interface's configuration and state information.
 | 
								 *  HIDInterfaceInfo parameter. This stores each HID interface's configuration and state information.
 | 
				
			||||||
 | 
								 *
 | 
				
			||||||
 | 
								 *  \note Due to technical limitations, the HID device class driver does not utilize a seperate OUT
 | 
				
			||||||
 | 
								 *        endpoint for host->device communications. Instead, the host->device data (if any) is sent to
 | 
				
			||||||
 | 
								 *        the device via the control endpoint.
 | 
				
			||||||
			 */
 | 
								 */
 | 
				
			||||||
			typedef struct
 | 
								typedef struct
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
 | 
				
			|||||||
@ -66,6 +66,42 @@
 | 
				
			|||||||
 *  set to an appropriate ADC channel number in the project makefile for VTARGET detection to operate correctly. On models
 | 
					 *  set to an appropriate ADC channel number in the project makefile for VTARGET detection to operate correctly. On models
 | 
				
			||||||
 *  without an ADC converter, VTARGET will report at a fixed 5V level.
 | 
					 *  without an ADC converter, VTARGET will report at a fixed 5V level.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 | 
					 *  Connections to the device are simple:
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 *  <table>
 | 
				
			||||||
 | 
					 *   <tr>
 | 
				
			||||||
 | 
					 *    <td><b>Programmer Pin:</b></td>
 | 
				
			||||||
 | 
					 *    <td><b>Target Device Pin:</b></td>
 | 
				
			||||||
 | 
					 *   </tr>
 | 
				
			||||||
 | 
					 *   <tr>
 | 
				
			||||||
 | 
					 *    <td>MOSI</td>
 | 
				
			||||||
 | 
					 *    <td>PDI</td>
 | 
				
			||||||
 | 
					 *   </tr>
 | 
				
			||||||
 | 
					 *   <tr>
 | 
				
			||||||
 | 
					 *    <td>MISO</td>
 | 
				
			||||||
 | 
					 *    <td>PDO</td>
 | 
				
			||||||
 | 
					 *   </tr>
 | 
				
			||||||
 | 
					 *   <tr>
 | 
				
			||||||
 | 
					 *    <td>SCLK</td>
 | 
				
			||||||
 | 
					 *    <td>SCLK</td>
 | 
				
			||||||
 | 
					 *   </tr>
 | 
				
			||||||
 | 
					 *   <tr>
 | 
				
			||||||
 | 
					 *    <td>GND</td>
 | 
				
			||||||
 | 
					 *    <td>GND</td>
 | 
				
			||||||
 | 
					 *   </tr>
 | 
				
			||||||
 | 
					 *   <tr>
 | 
				
			||||||
 | 
					 *    <td>ADCx <b><sup>1</sup></b></td>
 | 
				
			||||||
 | 
					 *    <td>VTARGET</td>
 | 
				
			||||||
 | 
					 *   </tr>
 | 
				
			||||||
 | 
					 *   <tr>
 | 
				
			||||||
 | 
					 *    <td>PORTx.y <b><sup>2</sup></b></td>
 | 
				
			||||||
 | 
					 *    <td>/RESET</td>
 | 
				
			||||||
 | 
					 *   </tr>
 | 
				
			||||||
 | 
					 *  </table>
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 *  <b><sup>1</sup></b> <i>Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only</i> \n
 | 
				
			||||||
 | 
					 *  <b><sup>2</sup></b> <i>See \ref SSec_Options section</i>
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 *  \section SSec_Options Project Options
 | 
					 *  \section SSec_Options Project Options
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *  The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
 | 
					 *  The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
 | 
				
			||||||
@ -89,7 +125,7 @@
 | 
				
			|||||||
 *   <tr>
 | 
					 *   <tr>
 | 
				
			||||||
 *    <td>RESET_LINE_MASK</td>
 | 
					 *    <td>RESET_LINE_MASK</td>
 | 
				
			||||||
 *    <td>Makefile CDEFS</td>
 | 
					 *    <td>Makefile CDEFS</td>
 | 
				
			||||||
 *    <td>Mask for the programmer's target RESET line on the chosen port.</td>
 | 
					 *    <td>Mask for the programmer's target RESET line on the chosen port. <b>Must not be the AVR's /SS pin.</b></td>
 | 
				
			||||||
 *   </tr>
 | 
					 *   </tr>
 | 
				
			||||||
 *   <tr>
 | 
					 *   <tr>
 | 
				
			||||||
 *    <td>VTARGET_ADC_CHANNEL</td>
 | 
					 *    <td>VTARGET_ADC_CHANNEL</td>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user