Quad Decoder Question

I was looking through the quadrature decoder example for the nRF52 and I was having trouble getting an insight into how the three libraries (driver, driver legacy, and HAL) can be used. 

For instance, I haven't a clue what "_STATIC_INLINE uint32_t nrf_qdec_reportper_to_value ( uint32_t reportper )" does after reading the documentation. Can I get some more explanation on what this function actually does, as it doesn't seem clear to me. 

thank you

Parents Reply Children
No Data
Related