Write a C program to configure all Port T pins to be used in capturing event arrival times. Use the interrupt-driven approach. Stay in a wait loop after completing the configuration. Exit the wait loop when all eight channels have arrived. Store the arrival times in memory locations starting from $1000.(Do this is in C. Store the results in an array and don't worry about the specic location of the results.)