Hi,
I have to make a communication protocol in which i'd use a clock line to make it synchronous.
The point is that i'm using an interrupt that jumps to an ISR with a high frecuency so i need to generate a clock signal that can be precise even if the interrupt occur (so i need something like hardware, not an if..else statement) and i also need the signal to be read from a pin of the target (needs to be read from an external device) and also be accesible to the target itselves (it needs to know when a rising edge happens to update the data to be sent).
Sorry for the bad explanation.
Thanks,
Juan