Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | fast interrupt in RealView MDK-ARM


Advertise Here

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

fast interrupt in RealView MDK-ARM - sukhdeep singh - Jun 4 9:40:32 2009

i want to generate fast and software interrupt routine like following examp=
le for irq. but when i am declaring __fiq, the compiler gives error. how ca=
n i declare fast interrupt routine.

Second thing, __swi(n), where n is some number. what should be the value of=
n. how software interrupt get trigger.

void f(void) __irq
unsigned char counter;

int main()
{=A0=A0=A0 VICIntEnClr=3D1<<4;
=A0=A0=A0=A0 VICIntEnable=3D1<<4;
=A0=A0=A0=A0 VICVectAddr4=3D(unsigned long)f;
=A0=A0=A0=A0 VICVectCntl4=3D1<<4;
=A0
=A0=A0=A0=A0 T0MR0=3D100;
=A0=A0=A0=A0 T0MCR=3D3;
=A0=A0=A0=A0 T0TCR=3D1;
=A0=A0=A0=A0 while(1);
}
void f(void) __irq
{=A0=A0 counter++;
=A0=A0=A0 T0IR=3D1;
=A0=A0=A0 VICVectaddr=3D0;
}

kindly tell me about fast interrupt declartion and software interrupt trigg=
er.
Thanks
Bring your gang together. Do your thing. Find your favourite Yahoo! g=
roup at http://in.promos.yahoo.com/groups/

[Non-text portions of this message have been removed]

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



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: fast interrupt in RealView MDK-ARM - manishshakya_nd - Jun 4 12:27:02 2009

hello,

I think you need to modify startup.s file.You need to Import Function in St=
artup.s
Manish Shakya
http://www.manishshakya.com.np

--- In l...@yahoogroups.com, sukhdeep singh wrote:
>
> i want to generate fast and software interrupt routine like following exa=
mple for irq. but when i am declaring __fiq, the compiler gives error. how =
can i declare fast interrupt routine.
>=20
> Second thing, __swi(n), where n is some number. what should be the value =
of n. how software interrupt get trigger.
>=20
> void f(void) __irq
> unsigned char counter;
>=20
> int main()
> {=A0=A0=A0 VICIntEnClr=3D1<<4;
> =A0=A0=A0=A0 VICIntEnable=3D1<<4;
> =A0=A0=A0=A0 VICVectAddr4=3D(unsigned long)f;
> =A0=A0=A0=A0 VICVectCntl4=3D1<<4;
> =A0
> =A0=A0=A0=A0 T0MR0=3D100;
> =A0=A0=A0=A0 T0MCR=3D3;
> =A0=A0=A0=A0 T0TCR=3D1;
> =A0=A0=A0=A0 while(1);
> }
> void f(void) __irq
> {=A0=A0 counter++;
> =A0=A0=A0 T0IR=3D1;
> =A0=A0=A0 VICVectaddr=3D0;
> }
>=20
> kindly tell me about fast interrupt declartion and software interrupt tri=
gger.
> Thanks
>=20
>=20
> Bring your gang together. Do your thing. Find your favourite Yahoo!=
group at http://in.promos.yahoo.com/groups/
>=20
> [Non-text portions of this message have been removed]
>

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

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Re: fast interrupt in RealView MDK-ARM - MCU123 - Jun 4 23:10:42 2009

lpc214x fiq demo

http://www.mcu123.net/bbs/viewthread.php?tid=3D8013&highlight=3Dfiq

2009/6/5 manishshakya_nd

> hello,
>
> I think you need to modify startup.s file.You need to Import Function in
> Startup.s
>
> Manish Shakya
> http://www.manishshakya.com.np
>
> --- In l...@yahoogroups.com , sukhdeep sing=
h
> wrote:
> >
> > i want to generate fast and software interrupt routine like following
> example for irq. but when i am declaring __fiq, the compiler gives error.
> how can i declare fast interrupt routine.
> >
> > Second thing, __swi(n), where n is some number. what should be the valu=
e
> of n. how software interrupt get trigger.
> >
> > void f(void) __irq
> > unsigned char counter;
> >
> > int main()
> > { VICIntEnClr=3D1<<4;
> > VICIntEnable=3D1<<4;
> > VICVectAddr4=3D(unsigned long)f;
> > VICVectCntl4=3D1<<4;
> >
> > T0MR0=3D100;
> > T0MCR=3D3;
> > T0TCR=3D1;
> > while(1);
> > }
> > void f(void) __irq
> > { counter++;
> > T0IR=3D1;
> > VICVectaddr=3D0;
> > }
> >
> > kindly tell me about fast interrupt declartion and software interrupt
> trigger.
> > Thanks
> >
> >
> > Bring your gang together. Do your thing. Find your favourite Yahoo! gro=
up
> at http://in.promos.yahoo.com/groups/
> >
> > [Non-text portions of this message have been removed]
> >=20=20
>

--=20
=B3=AC=C7=B0=BF=C6=BC=BC=BF=AA=B7=A2=CD=F8
=CD=F8=D6=B7:www.mcu123.com www.mcu123.net
=D3=CA=CF=E4:m...@gmail.com
[Non-text portions of this message have been removed]

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



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: Re: fast interrupt in RealView MDK-ARM - sukhdeep singh - Jun 5 2:15:00 2009

Thanks,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 But i am not able to=
download it,because it am not able to understand the language. kindly send=
me the file by attaching.

I will be grateful for ur help.
Thanks again.

--- On Thu, 4/6/09, MCU123 wrote:

From: MCU123
Subject: Re: [lpc2000] Re: fast interrupt in RealView MDK-ARM
To: l...@yahoogroups.com
Date: Thursday, 4 June, 2009, 8:09 PM

=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20
lpc214x fiq demo

http://www.mcu123. net/bbs/viewthre ad.php?tid=3D 8013&highlight=3D fiq

2009/6/5 manishshakya_ nd

>

>

> hello,

>

> I think you need to modify startup.s file.You need to Import Function in

> Startup.s

>

> Manish Shakya

> http://www.manishsh akya.com. np

>

> --- In lpc2000@yahoogroups .com , sukhdeep si=
ngh

> wrote:

> >

> > i want to generate fast and software interrupt routine like following

> example for irq. but when i am declaring __fiq, the compiler gives error.

> how can i declare fast interrupt routine.

> >

> > Second thing, __swi(n), where n is some number. what should be the valu=
e

> of n. how software interrupt get trigger.

> >

> > void f(void) __irq

> > unsigned char counter;

> >

> > int main()

> > { VICIntEnClr=3D 1<<4;

> > VICIntEnable=3D 1<<4;

> > VICVectAddr4=3D (unsigned long)f;

> > VICVectCntl4=3D 1<<4;

> >

> > T0MR0=3D100;

> > T0MCR=3D3;

> > T0TCR=3D1;

> > while(1);

> > }

> > void f(void) __irq

> > { counter++;

> > T0IR=3D1;

> > VICVectaddr=3D 0;

> > }

> >

> > kindly tell me about fast interrupt declartion and software interrupt

> trigger.

> > Thanks

> >

> >

> > Bring your gang together. Do your thing. Find your favourite Yahoo! gro=
up

> at http://in.promos. yahoo.com/ groups/

> >

> > [Non-text portions of this message have been removed]

> >

>

>=20=20

>

--=20

=E8=B6=85=E5=89=8D=E7=A7=91=E6=8A=80=E5=BC=80=E5=8F=91=E7=BD=91

=E7=BD=91=E5=9D=80:www.mcu123. com www.mcu123.net

=E9=82=AE=E7=AE=B1:mcu123@gmail. com

[Non-text portions of this message have been removed]

=20

=20=20=20=20=20=20

=20=20=20=20
=20=20=20=20
=09
=09=20
=09
=09

=09
=09
=09
From Chandigarh to Chennai - find friends all over India. Go to http:=
//in.promos.yahoo.com/groups/citygroups/

[Non-text portions of this message have been removed]

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



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )