PSOC4 and encoder | Cypress Semiconductor
PSOC4 and encoder
I use a timer (hardware timer) to run as encoder.
In the documentation is written that a register that I can read off the direction of rotation of the encoder from TCPWM_CNT_STATUS register.
I do not know how in my program, I can have access to this register.
Can someone show me how to do it.