Where is source code of isr_setinterruptvector?
Andrew Selukov <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Organization | KB-207 |
| Message-ID | <[email protected]> |
Hi
I have trouble with timer1,3.
The interrupt timer1 execute is to slowly (~=400KHz on P5.2pin) and doesn't
depend of value TH1 and TL1.
The interrupt time of timer1 depend of _nop_() , P5 &=~4 and TH1=0xFF (body
of interrupt function)
I think one instruction for examples one NOP operation on TINI400 with
CLOCK = 14.7MHz X 4 take time = 1/14.7MHz or am I wrong ?
Where is i can get source code of isr_setinterruptvector function for KEIL?
void myinterrupt(void) interrupt 3
{
P5 &= ~4;
_nop_ ();
_nop_ ();
_nop_ ();
_nop_ ();
_nop_ ();
_nop_ ();
_nop_ ();
_nop_ ();
TH1=0xFF;
TL1=0xFF;
P5 |= 4; //ET0 = 0;
}
Why Dallas doesn't support the sdcc compiler ?
No rom_init,rom_sock library for sdcc compiler.
http://sdcc.sourceforge.net/
--
Andrew
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini