quadrature_counter_ls7366r

Quadrature Counter ls7366r

Author Matthew Schinkel, copyright © 2017, all rights reserved.
Adapted-by
Compiler 2.4q6

Description

ls7366r is a quadrature encoder counter for counting or
             keeping track of the position of a optical rotary encoder
             or linear slide. This device can count signals of TTL type
             (pulses 90 degrees out of phase) or signals with
             up/down direction and clock signals. TTL mode is default
             in this lib.


Sources

https://lsicsi.com/datasheets/LS7366R.pdf


Notes

    Use ls7366r_write(WRITE_MDR0, 0x00) after init() for
    devices with up/down direction and count clock outputs (not tested).


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Functions


API details

Global variables/contants

Procedures

Functions


Related samples

Here are the list of samples which use this library:

18f462018f4620_quadrature_counter_ls7366r.jal