Re: [PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-04-02 Thread Jonathan Cameron
On 27/03/17 10:43, Benjamin Gaignard wrote: > One of the features of STM32 trigger hardware block is a quadrature > encoder that can counts up/down depending of the levels and edges > of the selected external pins. > > This patch allow to read/write the counter, get it direction, > set/get quadrat

Re: [PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-04-02 Thread Jonathan Cameron
On 27/03/17 15:23, William Breathitt Gray wrote: > On Mon, Mar 27, 2017 at 04:14:25PM +0200, Benjamin Gaignard wrote: >> 2017-03-27 15:47 GMT+02:00 William Breathitt Gray : >>> On Mon, Mar 27, 2017 at 11:43:23AM +0200, Benjamin Gaignard wrote: One of the features of STM32 trigger hardware bloc

Re: [PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-03-27 Thread William Breathitt Gray
On Mon, Mar 27, 2017 at 04:14:25PM +0200, Benjamin Gaignard wrote: >2017-03-27 15:47 GMT+02:00 William Breathitt Gray : >> On Mon, Mar 27, 2017 at 11:43:23AM +0200, Benjamin Gaignard wrote: >>>One of the features of STM32 trigger hardware block is a quadrature >>>encoder that can counts up/down dep

Re: [PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-03-27 Thread Benjamin Gaignard
2017-03-27 15:47 GMT+02:00 William Breathitt Gray : > On Mon, Mar 27, 2017 at 11:43:23AM +0200, Benjamin Gaignard wrote: >>One of the features of STM32 trigger hardware block is a quadrature >>encoder that can counts up/down depending of the levels and edges >>of the selected external pins. >> >>Th

Re: [PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-03-27 Thread William Breathitt Gray
On Mon, Mar 27, 2017 at 11:43:23AM +0200, Benjamin Gaignard wrote: >One of the features of STM32 trigger hardware block is a quadrature >encoder that can counts up/down depending of the levels and edges >of the selected external pins. > >This patch allow to read/write the counter, get it direction,

[PATCH v3 1/2] iio: stm32 trigger: Add quadrature encoder device

2017-03-27 Thread Benjamin Gaignard
One of the features of STM32 trigger hardware block is a quadrature encoder that can counts up/down depending of the levels and edges of the selected external pins. This patch allow to read/write the counter, get it direction, set/get quadrature modes and get scale factor. When counting up preset