Hello, i have a touch pad based off the TTP229 chip. This chip apparently outputs a basic communication protocol where the specific button pressed is conveyed through counting the clock and seeing when a specific pin turns high in relation to the clock. EX: when button 7 is pressed a specific pin will turn high after 7 rising edges of the clock after a input has been detected. Thus i need help counting these rising edges, i think i can use interupts but i don't have a full grasp of that yet.
So essentially, any good way to count a device's clock cycles?