Re: [spi-devel-general] [Patch 1/4] Industrialio Core

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jonathan Cameron
Date: Thursday, July 24, 2008 - 3:33 am

Hi Ben,

Firstly thanks for taking a look at this.

Ben Dooks wrote:
 
At the current time at least the purpose of events in this subsystem is rather
different from those in say the input system.  So far they have all
corresponded to things that don't actually have any data associated with them.

The list so far is:
Ring bufer 50% full, Ring buffer 75% full (due to the support for escalating
events, only the highest of these will ever be in the queue).

Motion detected, device dependent on whether this is for specific axis.

Thresholds breached.

Tap detection (common on accelerometers)

Anyhow I did originally start our with a similar layout to you have suggested
(based in input subsystem) but removed it for now as it is currently unecessary.

 

Not necessarily, hence the TODO.  I've been wondering about using an approach
similar to the 'scan' modes seen in the max1363 driver in which the time stamp
will simply be another 'input' recorded to the ring buffer as necessary.  Within
the event structure, this is certainly something that needs to be configurable.

Oops, I'll clean them up. Thanks for pointing that out.
Good point.

Yes, definitely need to get rid of most of them.
[ring buffer code]

I definitely should have put together some more explanatory documents explaining
the aims and approach taken for the ring buffer handling. I'll get some initial
stuff writen and posted here shortly.

Thanks for taking a look and your suggestions,

--
Jonathan Cameron
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch 0/4] IndustrialIO subsystem (ADCs, accelerometers etc), Jonathan Cameron, (Wed Jul 23, 10:00 am)
Re: [Patch 3/4] ST LIS3L02DQ accelerometer, Alan Cox, (Wed Jul 23, 10:07 am)
[Patch 1/4] Industrialio Core, Jonathan Cameron, (Wed Jul 23, 10:08 am)
[Patch 2/4] Max1363 (and similar) ADCs, Jonathan Cameron, (Wed Jul 23, 10:11 am)
[Patch 3/4] ST LIS3L02DQ accelerometer, Jonathan Cameron, (Wed Jul 23, 10:14 am)
[Patch 4/4] VTI SCA3000 Series accelerometer driver, Jonathan Cameron, (Wed Jul 23, 10:17 am)
Re: [Patch 3/4] ST LIS3L02DQ accelerometer, Jonathan Cameron, (Wed Jul 23, 10:44 am)
Re: [Patch 0/4] IndustrialIO subsystem (ADCs, acceleromete ..., Henrique de Moraes H ..., (Wed Jul 23, 10:48 am)
Re: [Patch 1/4] Industrialio Core, Anton Vorontsov, (Wed Jul 23, 11:31 am)
Re: [Patch 1/4] Industrialio Core, Eric Piel, (Thu Jul 24, 2:01 am)
Re: [spi-devel-general] [Patch 1/4] Industrialio Core, Jonathan Cameron, (Thu Jul 24, 3:12 am)
Re: [spi-devel-general] [Patch 1/4] Industrialio Core, Jonathan Cameron, (Thu Jul 24, 3:33 am)
Re: [spi-devel-general] [Patch 1/4] Industrialio Core, Jonathan Cameron, (Thu Jul 24, 4:56 am)
[Patch 5/4] IndustrialIO subsystem very early cut of docum ..., Jonathan Cameron, (Thu Jul 24, 10:57 am)