All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Richard Cochran <richard.cochran@domain.hid>
Cc: adeos-main@gna.org, xenomai@xenomai.org
Subject: Re: [Xenomai-core] [Adeos-main] [PATCH] Adeos support for IXP4xx
Date: Wed, 18 Apr 2007 09:45:19 +0200	[thread overview]
Message-ID: <17957.52367.369723.380241@domain.hid> (raw)
In-Reply-To: <899865CA54E4444DAF2E3639C04C5F4805EC79@domain.hid>

Richard Cochran wrote:
 > > -----Original Message----- From: Gilles Chanteperdrix
 > >> 		*IXP4XX_OSRT1 = LATCH | ONE_SHOT_ENABLE;
 > > 
 > > In fact, should not this be:
 > > 
 > >                 *IXP4XX_OSRT1 = 
 > >                   (last_jiffy_time + LATCH - *IXP4XX_OSTS) |
 > ONE_SHOT_ENABLE;
 > 
 > Nope, we are using GP Timer 1. It counts down from the dialed value and
 > then stops. It is _not_ a free running timer.

I understand, but my point is that if we want the next timer interrupt
to occur at last_jiffy_time + LATCH, we should reprogram the decrementer
with last_jiffy_time + LATCH - *IXP4XX_OSTS to account for the time
which passed since last_jiffy_time.

-- 


					    Gilles Chanteperdrix.


  reply	other threads:[~2007-04-18  7:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17  6:02 [Xenomai-core] [PATCH] Adeos support for IXP4xx Richard Cochran
2007-04-17 17:48 ` [Xenomai-core] [Adeos-main] " Gilles Chanteperdrix
2007-04-17 17:58   ` Gilles Chanteperdrix
2007-04-18  5:58     ` Richard Cochran
2007-04-18  7:45       ` Gilles Chanteperdrix [this message]
2007-04-18  5:21   ` Richard Cochran
2007-04-18  7:53     ` Gilles Chanteperdrix
2007-04-18  9:19       ` Richard Cochran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17957.52367.369723.380241@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=adeos-main@gna.org \
    --cc=richard.cochran@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.