Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event.

Minor documentation fixes.
pull/1469/head
Dean Camera 15 years ago
parent abc7dce10c
commit a7ade9f28d

@ -51,7 +51,7 @@
/** Decodes an Ethernet frame header and prints its contents to through the USART in a human readable format. /** Decodes an Ethernet frame header and prints its contents to through the USART in a human readable format.
* *
* \param[in] InDataStart Pointer to the start of an Ethernet frame header * \param[in] FrameINData Pointer to the start of an Ethernet frame information structure
*/ */
void DecodeEthernetFrameHeader(Ethernet_Frame_Info_t* FrameINData) void DecodeEthernetFrameHeader(Ethernet_Frame_Info_t* FrameINData)
{ {

@ -190,6 +190,16 @@
*/ */
uint8_t CDC_Host_ReceiveByte(USB_ClassInfo_CDC_Host_t* CDCInterfaceInfo); uint8_t CDC_Host_ReceiveByte(USB_ClassInfo_CDC_Host_t* CDCInterfaceInfo);
/** CDC class driver event for a control line state change on a CDC host interface. This event fires each time the device notifies
* the host of a control line state change (containing the virtual serial control line states, such as DCD) and may be hooked in the
* user program by declaring a handler function with the same name and parameters listed here. The new control line states
* are available in the ControlLineStates.DeviceToHost value inside the CDC host interface structure passed as a parameter, set as
* a mask of CDC_CONTROL_LINE_IN_* masks.
*
* \param[in,out] CDCInterfaceInfo Pointer to a structure containing a CDC Class host configuration and state.
*/
void EVENT_CDC_Host_ControLineStateChanged(USB_ClassInfo_CDC_Host_t* CDCInterfaceInfo);
/* Private Interface - For use in library only: */ /* Private Interface - For use in library only: */
#if !defined(__DOXYGEN__) #if !defined(__DOXYGEN__)
/* Macros: */ /* Macros: */

@ -9,6 +9,7 @@
* \section Sec_ChangeLogXXXXXX Version XXXXXX * \section Sec_ChangeLogXXXXXX Version XXXXXX
* *
* <b>New:</b> * <b>New:</b>
* - Added new host class drivers and matching demos to the library for rapid application development
* *
* <b>Changed:</b> * <b>Changed:</b>
* *
@ -22,7 +23,7 @@
* \section Sec_ChangeLog090810 Version 090810 * \section Sec_ChangeLog090810 Version 090810
* *
* <b>New:</b> * <b>New:</b>
* - Added new class drivers and matching demos to the library for rapid application development * - Added new device class drivers and matching demos to the library for rapid application development
* - Added new PrinterHost demo (thanks to John Andrews) * - Added new PrinterHost demo (thanks to John Andrews)
* - Added USB Missle Launcher project, submitted by Dave Fletcher * - Added USB Missle Launcher project, submitted by Dave Fletcher
* - Added new Benito Arduino Programmer project * - Added new Benito Arduino Programmer project

Loading…
Cancel
Save