cancel
Showing results for 
Search instead for 
Did you mean: 

Timers on ST10F168 how to?

fmmarzoa
Associate
Posted on June 10, 2005 at 09:48

Timers on ST10F168 how to?

1 REPLY 1
fmmarzoa
Associate
Posted on June 10, 2005 at 07:50

Hi,

I've inherited a firmware project in my company that another guy left without be done. The device its based on ST10F168 microproc. I've not been able to find how the timers are handled on this. I've downloaded lots of PDFs including ''ST10 Family Programming Manual'' and have not found where's explained how these timers are programmed. At this time, I do not know the meaning of each bit on T6CON, T5CON, CAPREL and all related variables.

Code is written in C for Keil compiler, and there's lines like:

T5CON = 0x004B;

T6CON = 0x808A;

_bfld_(T6IC, 0x00FF, T6_INT);

...

That I've not ben able to understand by the lack of a documentation source explaining how those variables work.

So my question is more or less... Where is the fine manual? 😉

Thanks a lot in advance,