Hi,
I need a help regarding computation cost of a function which I want to read in
Micro Second...I need a sample code for Atm128 processor. Can
anybody please help me...
Its urgent and I appreciate your help.
Regards,
Sobit
Graduate Researcher
Texas State University
I assume you mean computation cost in terms of time.
I haven't messed with the atmel processors in years and currently am working
with the msp430 processors
but the concepts are equivilent.
There should be a h/w timer running on the atm128 that should be ticking at
1us. you need to find that
Thank you very much Eric.
What I did is Following (Surprisingly, its not working in desired way.)
Can anyone suggest me?
#include printf.h
uint16_t coarseValues;
uint16_t fineValues;
uint16_t COARSECOMPARE = 0x7FFF;
uint16_t fineOffset = 0x000E;
uint16_t coarseOffset = 0x0021;
uint16_t