m2m_hw_usb_get_state

void m2m_hw_usb_get_state(M2M_USB_CH ch,  USB_UART_STATE *usb_state)

 

Description: the function gets the current setting of the selected USB channel.

 

Parameters:

ch:               USB channel
usb_state:     pointer to the allocated buffer that will be filled with the current USB channel setting

 

Output data: usb_state points to the buffer filled with the current USB setting