Re: Does TINI OS use internally Timer Interrupts?
Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Peter Wein wrote: > Is it possible: to go native and program an Timer Interrupt (each > 10ms)in a method of a tlib. Also the termination of the timer > interrrupt). Then you write a code and put it in a memory, where TINIOS > has got no access. ISR jumps to that disable interrupts, measures ADCs > via Max1080 SPI and returns to the next process. Yes. This would also have to be completely written in assembler. No Java. > If this makes sense, this must work, if you be careful and save the > system state before you jump to the ISR, unless TINI OS is using TImer > Interrupts for its own purposes. So does it? You can use timer 3 if you are not using serial 2 (SBUF2) You can use timer 1 if you are not using serial 1 (SBUF1) -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini