diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-05 19:13:56 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-05 19:13:56 +0000 |
commit | 95ba6527a5e764a430c3917b4e24e48699976fa9 (patch) | |
tree | 7bd93a877f62f92722c2b43a7229738b06ce06df /LUFA | |
parent | b68a71af380e27d925461349f765d1c01d57432c (diff) | |
download | lufa-95ba6527a5e764a430c3917b4e24e48699976fa9.tar.gz lufa-95ba6527a5e764a430c3917b4e24e48699976fa9.tar.bz2 lufa-95ba6527a5e764a430c3917b4e24e48699976fa9.zip |
Add missing EVENT_PRNT_Device_SoftReset() public function prototype.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h b/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h index 45f49d4e3..bcb892f41 100644 --- a/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h +++ b/LUFA/Drivers/USB/Class/Device/PrinterClassDevice.h @@ -125,6 +125,14 @@ */ void PRNT_Device_USBTask(USB_ClassInfo_PRNT_Device_t* const PRNTInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1); + /** Printer class driver event for a soft reset request on a Printer interface. This event fires each time the host + * requests a reset of the printer interface's internal state, and may be hooked in the user program by declaring a + * handler function with the same name and parameters listed here. + * + * \param[in,out] PRNTInterfaceInfo Pointer to a structure containing a Printer Class configuration and state. + */ + void EVENT_PRNT_Device_SoftReset(USB_ClassInfo_CDC_Device_t* const CDCInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1); + /** Sends a given data buffer to the attached USB host, if connected. If a host is not connected when the function is * called, the string is discarded. Bytes will be queued for transmission to the host until either the endpoint bank * becomes full, or the \ref PRNT_Device_Flush() function is called to flush the pending data to the host. This allows |