Donny9 commented on pull request #2039:
URL: https://github.com/apache/incubator-nuttx/pull/2039#issuecomment-712555477


   > 
   > 
   > @Donny9 are you thinking of this kind of being like the Linux IIO 
subsystem?
   > https://www.kernel.org/doc/html/latest/driver-api/iio/intro.html
   > 
   > What about triggering and devices that have multiple channels?
   
   Yes, this model is particularly similar to the linux iio system, whose upper 
and linux iio subsystems are functionally similar.  Upper half layer of this 
model implements sensor_register api, circular buffer management, batch mode 
setting and expose push_event to lower half layer.
   Lower half layer of this model implements sensor operations, initialize and 
communication with i2c,spi,...interface.
   
![图片](https://user-images.githubusercontent.com/70748590/96534263-f1d22000-12c1-11eb-9856-313b31fcf7e1.png)
    
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to