[...poorly done code snipped...]
Who would setup the IARs, the IVGs and IMASK and for my dear inquisitive
> With this I receive interrupt, when PF0 is high. Inside the ISR I
> don't know how set registers to receive interrupt when PF0 state
> changes to logic 0.
Tip: if you don't know something, try reading the manual.
DSP and Mixed Signal Design Consultant
Reply by KIRAN●September 4, 20092009-09-04
On Sep 3, 8:04=A0pm, Vladimir Vassilevsky <nos...@nowhere.com> wrote:
> KIRAN wrote:
> > Hi Guys,
> > I am facing some problem in using PF0 on BF531 as input.
> No problems in using BlackFin programmable flags.
> > I want
> > interrupt ( i am using channel A) to be generated when state of PF0
> > changes from Logic 0 -> Logic 1 and vice versa. =A0This is the
> > configuration iam using configuration.
> > #define RTS_INTERRUPT_CHANNEL =A0PF_A_INT
> > #define RTS_PF_NO =A00
> [...poorly done code snipped...]
Why do you think so? any justification? I am simulating CTS/RTS
handsake using PF's and using PF0 for RTS. With #defined LABELS I can
change the interrupt channel (A or B) with minimal code changes.
> Who would setup the IARs, the IVGs and IMASK and for my dear inquisitive
my apologies for not providing the complete information. Once am done
with writing all the registers, I call a function "fosHwiAdd" to
register the interrupt provided by the Fusion RTOS . I am running my
application on Fusion RTOS. This API will sets IMASK, IAR, IVG for me.
> > With this I receive interrupt, when PF0 is high. Inside the ISR I
> > don't know how set registers to receive interrupt when PF0 state
> > changes to logic 0.
> Tip: if you don't know something, try reading the manual.
> Vladimir Vassilevsky
> DSP and Mixed Signal Design Consultanthttp://www.abvolt.com