1 #ifndef __QDEC_SIGNAL_GENERATOR_H__ 2 #define __QDEC_SIGNAL_GENERATOR_H__ uint8_t freq
If GENERATE_TEST_SIGNAL is defined the system generates a test signal with frequency equal to freq (R...
void generate_qdec_signal(PORT_t *qPort, uint8_t lineCount, uint8_t freq, bool dir)
Initializes TCE0 to create Qadrature signal.
uint8_t lineCount
Number of lines in the quadrature encoder.
bool dir
Direction of the output signal.