jit_singh_tara
Full Member level 6
- Joined
- Dec 22, 2006
- Messages
- 325
- Helped
- 9
- Reputation
- 18
- Reaction score
- 4
- Trophy points
- 1,298
- Location
- Delhi , India
- Activity points
- 4,293
hello friends ,
i was making a customised function for generation of delay say : delay_custom_us(unsigned int).
Now the problem is i am not able to get 1us delay and delays in its multiples.The moment i use for or while loop they consume instruction cycles and hence additional time .Please suggest what to do and how. I want precise delay of 1us ,10us , so that whatever parameter i give in function i should get that delay.
please suggest how to proceed.
i was making a customised function for generation of delay say : delay_custom_us(unsigned int).
Now the problem is i am not able to get 1us delay and delays in its multiples.The moment i use for or while loop they consume instruction cycles and hence additional time .Please suggest what to do and how. I want precise delay of 1us ,10us , so that whatever parameter i give in function i should get that delay.
please suggest how to proceed.
Last edited: