I'm a starter in MCU programming.
I'm in a project where I need to use S08 pin TPMCH0 as an
external square signal input, and count the number of pulses there. I selected
a Capture component in CW, but unfortanetly couldn't neither configure nor
create a C code to get the count on this TPM register. When I try to set Reset
and Get commands, compiling returns me a lot of errors regarding de arguments
and definitions I couldn't resolve.
Do you have a clear example of how to handle this issue,
I mean, a file with examples of similar applications, or could you guide me in
how to resolve this situation?
Thanks in advance for your quick response and knowledge.