ts-7000
[Top] [All Lists]

[ts-7000] XDIO2 KERNEL IRQ

To:
Subject: [ts-7000] XDIO2 KERNEL IRQ
From: "gu_raposo" <>
Date: Tue, 01 Apr 2008 02:29:14 -0000
Hi there,
I am trying to measure velocity, using pulses. But I do not know how
to use de interrupt of XDIO2, I mean , I would like to have a interrupt
each time a new value is set in the register.
I am using XDIO2 DIO9 with the following configuration:

iReturn = adc_allocate_resource_pwm(&xdio2,0x72000044,0x04,"ENCODER");
initPulseTimer (&xdio2,9,0,PULSE_PERIOD_HIGH);
setClockSpeed(&xdio2,0); 

This is a Kernel module, and I use another interrupt pretty well. As 
follow, but I could wonder wich is the equivalent of #51 for this 
interrput.

iResult = request_irq(/*51*/TC3INTR, adc_hw_timer_interrupt, /*0*/ 
SA_INTERRUPT, "adc_timer", NULL);


Regards



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] XDIO2 KERNEL IRQ, gu_raposo <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU