FTDI Community
General Category => Discussion - Software => Topic started by: Rajavelu on December 31, 2018, 06:34:43 AM
-
I have three threads namely setup,UART,BOMS for USB pendrive
One thread called firmware for USB Keyboard
One thread called Device_Check to detect port status and corresponding device.
tcbDevice_Check = vos_create_thread_ex(26, 1024, Device_Check, "Check", 0);
tcbFIRMWARE = vos_create_thread_ex(25, 4096, firmware, "Application", 0);
tcbSETUP = vos_create_thread_ex(24, 1024, setup, "Setup", 0);
tcbUART = vos_create_thread_ex(23, 1024, UART, "Read", 0);
tcbBOMS = vos_create_thread_ex(23, 1024, BOMS, "Write", 0);
If suppose Keyboard is detected on my port, how to use/call the firmware thread and similarly how to use/call the setup,uart,boms thread?
Please provide me an idea of how to move from one thread to other
Regards
Rajavelu Balasubramanian