This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: timer -> interrupt


Hi All,
This is my code for use the timer->Interrupt
I program the CPU register... so that it work only with samsung s3c44b0x...
Bye and good work!

Ossequi,  (Best Regards/Obrigado)
Marco SICHERI
CTS electronics  - R&D Department
phone: +39 0125 235637, +39 0125 235630
e-mail: m.sicheri@ctsgroup.it
http://www.ctsgroup.it


----- Original Message ----- 
From: "Sicheri Marco" <m.sicheri@ctsgroup.it>
To: "eCos Discus.List" <ecos-discuss@sources.redhat.com>
Sent: Friday, October 22, 2004 5:07 PM
Subject: [ECOS] timer -> interrupt


> I All,
> I need to create a timer that cause an interrupt.
> Oh yes, the cyg_alarm_xxx work fine! But the resolution (tick) isn't
> sufficient... :o(
> My timer must count and each 100us (time between 100us and 800us) cause a
> interrupt, so that my interrupt routine can work.
> How can i do it?
> Normaly I programming the CPU registers with time and interupt vector. But
> in eCos: How do i do?
> Thanks,
>
> Ossequi,  (Best Regards/Obrigado)
> Marco SICHERI
> CTS electronics  - R&D Department
> phone: +39 0125 235637, +39 0125 235630
> e-mail: m.sicheri@ctsgroup.it
> http://www.ctsgroup.it
>
>
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Attachment: ctstimer.c
Description: Binary data

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]