I am starting with a new project on K40/K60. I have TWR-K40X256 for the same. Controller board will act as the host and control the USB device connected externally for control purpose. As far as I know there are different types like CDC,MSD. Will the stack for USB is common? From where I can get the sample codes which act as host software controlling the USB port, scanning the port for devices connected etc?
I hope I am clear, if not please let me know and suggest the starting point.
Thanks in advance.