Re: external master clock

On Thu, Oct 03, 2002 at 09:04:06PM -0500, Frank Mori Hess wrote:
> How should an external master clock for pacing be supported?  I'm thinking 
> something along the lines of cmd->scan_begin_src = TRIG_EXT_CLK with
> the arg setting the desired divisor.

This should be done with an extended trigger, since it requires
several inputs, including input channel selection (assuming that
you could use multiple inputs for the clock source), rising edge/
falling edge, and the divisor.

There isn't an extended trigger currently defined for this, but
this seems appropriate:

data 1 - INSN_CONFIG_TIMER_1
data 1 - trigger configuration
data 2 - primary input chanspec
data 3 - primary combining machine configuration (should always be 0x04)
data 4 - divisor

I have a gut feeling that I'm missing ways this should be
generalized, but it doesn't matter.



dave...

Received on 2002-10-04Z05:02:34