m2m_hw_usb_close

M2M_API_RESULT m2m_hw_usb_close (M2M_T_HW_USB_HANDLE handle)

 

Description: the function closes the USB channel identified by the handle. The function opens logically the switch shown in the figure below. The previous USB channel configuration (before AppZone Application execution, see document [4]/[8]) is not restored, AppZone Layer is still the owner of the resource even if the channel is closed, see also m2m_usb_close_hwch.

 

 

 

 

Parameters:
handle:         handle of the USB channel to be closed.

 

Return value:
         refer to M2M_API_RESULT enum