From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mfep6.connect.com.au (fep6.mfe.bur.connect.com.au [203.63.86.6]) by ozlabs.org (Postfix) with ESMTP id 9FFD56890B for ; Mon, 12 Dec 2005 17:00:12 +1100 (EST) Message-ID: <439D120E.9010606@rftechnology.com.au> Date: Mon, 12 Dec 2005 17:00:46 +1100 From: Dmytro Bablinyuk MIME-Version: 1.0 To: Dan Malek References: <439CE3A2.8020603@rftechnology.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-embedded@ozlabs.org Subject: Re: 82xx IRQ handling List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > >> immap->im_intctl.ic_simrh &= ~(0x0800); > > > You should not be messing around with this register > in your code. The generic 82xx interrupt functions > will properly manage this for you. Thank you Dan, It's working now! By the way question - shall I program somewhere an edge of the IRQ or it always triggers on the rising edge? Also does anybody knows any source code example of using 82xx General Purpose Timer Unit so that it triggers interrupt handler after some period. Thank you