Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
USB device specific requests

Data Structures

struct  S_line_coding
 

Functions

void cdc_get_line_coding (void)
 This function manages reception of line coding parameters (baudrate...). More...
 
void cdc_set_control_line_state (void)
 This function manages the SET_CONTROL_LINE_LINE_STATE CDC request. More...
 
void cdc_set_line_coding (void)
 This function manages reception of line coding parameters (baudrate...). More...
 
void usb_hid_set_report_feature (void)
 
void usb_user_endpoint_init (uint8_t)
 This function configures the endpoints of the device application. More...
 
bool usb_user_get_descriptor (uint8_t, uint8_t)
 This function returns the size and the pointer on a user information structure. More...
 
bool usb_user_read_request (uint8_t, uint8_t)
 This function is called by the standard USB read request function when the USB request is not supported. More...
 

void cdc_set_control_line_state ( void  )

This function manages the SET_CONTROL_LINE_LINE_STATE CDC request.

Todo:
Manages here hardware flow control...

References Is_usb_control_in_ready, Usb_ack_control_in_ready_send, and Usb_ack_setup_received_free.

Referenced by usb_user_read_request().

void usb_hid_set_report_feature ( void  )
void usb_user_endpoint_init ( U8  conf_nb)

This function configures the endpoints of the device application.

This function is called when the set configuration request has been received.

The core of this function should be correctly rewritten depending on the USB device application characteristics (the USB device application has specific endpoint configuration).

This function is called when the set configuration request has been received.

The core of this function should be correctly rewritten depending on the USB device application characteristics (the USB device application has specific endpoints configuration).

This function is called when the set configuration request has been received.

This function is called when the set configuration request has been received.

The core of this function should be correctly rewritten depending on the USB device application characteristics (the USB device application has specific endpoints configuration).

This function is called when the set configuration request has been received.

The core of this function should be correctly rewritten depending on the USB device application characteristics (the USB device application has specific endpoint configuration).

This function is called when the set configuration request has been received.

References DIRECTION_IN, DIRECTION_OUT, DOUBLE_BANK, EP_ATTRIBUTES_1, EP_ATTRIBUTES_2, EP_ATTRIBUTES_3, EP_ATTRIBUTES_4, EP_ATTRIBUTES_TEMP1, EP_ATTRIBUTES_TEMP2, EP_FC_IN, EP_FC_OUT, EP_HID_GENERIC_IN, EP_HID_GENERIC_OUT, EP_HID_MOUSE_IN, EP_MS_IN, EP_MS_OUT, EP_SIZE_1, EP_SIZE_1_FS, EP_SIZE_1_HS, EP_SIZE_2, EP_SIZE_2_FS, EP_SIZE_2_HS, EP_SIZE_3, EP_SIZE_4, EP_SIZE_TEMP1, EP_SIZE_TEMP2, EP_TEMP_IN, EP_TEMP_OUT, INT_EP, Is_usb_full_speed_mode, ms_multiple_drive, RX_EP, SINGLE_BANK, TX_EP, and Usb_configure_endpoint.

Referenced by usb_set_configuration().

bool usb_user_get_descriptor ( uint8_t  ,
uint8_t   
)