Re: [RFC/PATCH] iio: light: add support for TI's opt3001 ligth sensor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 07, 2014 at 12:35:11AM +0200, Peter Meerwald wrote:
> 
> > > > ok... but then that brings up a doubt. What would I use triggered buffer
> > > > for ? I already setup High/Low limits (thresholds) through
> > > > .write_event_value(). Isn't that, pretty much, a triggered buffer ?
> > > 
> > > a triggered buffer reads data from the device and stores it into a buffer 
> > > whenever the trigger goes off (you are interested to capture all samples)
> > 
> > Alright, so something like a contious capture starting after a GPIO goes
> > off, or something ?
> 
> right, one capture whenever the GPIO becomes active typically
>  
> > > events are created on certain conditions (you are not interested in all 
> > > samples)
> > 
> > And this would be more like e.g. "tell me once I have 100 lux or more" ?
> 
> yes

cool thanks. I'll wait for some more review comments before sending a
new version. Latest is kept at [1]

[1] https://git.kernel.org/cgit/linux/kernel/git/balbi/usb.git/log/?h=opt3001

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux