Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: interrupt external

2005-08-30 by Clovis Costa

Hello my friends!

I\ufffdm using something similar it!
first u need clear all interrupts, so u will set
extpolar and extmode.

see it!
it work very well with my program test!


   VICIntEnClear   = 0xFFFFFFFF;
   VICSoftIntClear = 0xFFFFFFFF;
   EXTPOLAR_bit.EXTPOLAR0 = 0x00;
   EXTMODE_bit.EXTMODE0   = 0x00;  
   EXTINT_bit.EINT0 = 0x00;


--- Zdravko <bodhisatva@...> wrote:


---------------------------------
I am using LPC2214. A few months ago I have the same
problem. What I
found is that you are going to face problems not only
with VPBDIV if
you do reconfigure EINT mode. But with all the
consecutive writings to
the any of the VPB peripheral registers. There was not
problem with
the registers of VIC which belongs to AHB peripherals.
I try to use the recommended workaround but with
partial success. I
did not succeed to reconfigure EINT0.
Now I use EINT0 in the default mode as Ken Wada
suggested too.
If you need External Interrupt with dynamically
configured mode there
was a post in this group with the idea to use IRQ of a
Capture of a
Timer if you have a free one.



--- In lpc2000@yahoogroups.com, dasbento@a... wrote:
> Hello,
> 
> anyone knows if is possible change the mode of the
external interrupt
> when the arm is in operation, i.e, I initialize the
external interrupt
> as falling edge after I configure VPBDIV and inside
the function of
> the interruption I want to disable the falling edge
and enable the
> rising edge. 
> 
> Is possible to do this because the problem of
VPBDIV??
> When I doing this change the VPBDIV will change??
> 
> I'm using lpc2129!!
> 
> Thanks
>         Domingos
>
_________________________________________________________
> CEAC Cursos de forma\ufffd\ufffdo profissional - pe\ufffda
informa\ufffd\ufffdes aqui.:
> http://ceac.online.pt/


  
    
---------------------------------
  YAHOO! GROUPS LINKS

  
    Visit your group "lpc2000" on the web.
   
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
   
    Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.

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




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.