|
Zephyr API Documentation 4.4.0
A Scalable Open Source RTOS
|
Public API for TI AM3352 Enhanced Quadrature Encoder Pulse (EQEP) counter. More...
Go to the source code of this file.
Data Structures | |
| struct | ti_eqep_qep_cfg |
| Configuration for QEP control register. More... | |
| struct | ti_eqep_dec_cfg |
| Configuration for decoder unit register. More... | |
| struct | ti_eqep_cap_cfg |
| Configuration for capture unit register. More... | |
Macros | |
| #define | TI_EQEP_ALARM_CHAN_NUM (4) |
| Number of EQEP alarm channels. | |
Functions | |
| void | ti_eqep_configure_qep (const struct device *dev, const struct ti_eqep_qep_cfg *qep_cfg) |
| Configure QEP Control. | |
| void | ti_eqep_configure_decoder (const struct device *dev, const struct ti_eqep_dec_cfg *dec_cfg) |
| Configure Decoder Unit. | |
| void | ti_eqep_configure_capture (const struct device *dev, const struct ti_eqep_cap_cfg *cap_cfg) |
| Configure Edge Capture Unit. | |
| int | ti_eqep_get_latched_capture_values (const struct device *dev, uint32_t *timer, uint32_t *period, bool scale) |
| Get latched capture timer and period values. | |
Public API for TI AM3352 Enhanced Quadrature Encoder Pulse (EQEP) counter.