Go to the source code of this file.
|
void | __ISR (_TIMER_1_VECTOR, ipl3) Timer1Handler(void) |
|
◆ __ISR()
void __ISR |
( |
_TIMER_1_VECTOR |
, |
|
|
ipl3 |
|
|
) |
| |
25 static unsigned int temp=0;
26 static unsigned int temp_b=0;
27 static unsigned long long temp64=0;
28 static unsigned long long temp64_b=0;
29 static unsigned int marque_t=0;
30 static unsigned int marque_t2=0;
34 temp64_b=(temp64*SECO)/32767;
38 if (temp-marque_t2==0){temp=temp+1;}
39 usage=(tb*100)/(temp-marque_t2);