dmta
Member level 2
- Joined
- Mar 25, 2013
- Messages
- 52
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Earth
- Activity points
- 1,650
Dear all,
I have this program where inside a timer interrupt I need to carry out certain things. One of this is to execute the following line of code. But when I do this the microcontroller takes some time to compute the value. Can you give me any suggestions to improve it? the variables are in type int
Best regards
I have this program where inside a timer interrupt I need to carry out certain things. One of this is to execute the following line of code. But when I do this the microcontroller takes some time to compute the value. Can you give me any suggestions to improve it? the variables are in type int
HTML:
z_n = xor + ((z_n*63)>>6);
xor_sum = z_n>>6;
Best regards