| AVR1600 Using the XMEGA Quadrature Decoder

qdec_signal_generator.h
Go to the documentation of this file.
1 #ifndef __QDEC_SIGNAL_GENERATOR_H__
2 #define __QDEC_SIGNAL_GENERATOR_H__
3
4 void generate_qdec_signal(PORT_t * qPort,
5 uint8_t lineCount,
6 uint8_t freq,
7 bool dir);
8
9 #endif /* __QDEC_SIGNAL_GENERATOR_H__ */
freq
uint8_t freq
If GENERATE_TEST_SIGNAL is defined the system generates a test signal with frequency equal to freq (R...
Definition: qdec_example.c:60
generate_qdec_signal
void generate_qdec_signal(PORT_t *qPort, uint8_t lineCount, uint8_t freq, bool dir)
Initializes TCE0 to create Qadrature signal.
Definition: qdec_signal_generator.c:94
lineCount
uint8_t lineCount
Number of lines in the quadrature encoder.
Definition: qdec_example.c:72
dir
bool dir
Direction of the output signal.
Definition: qdec_example.c:63
@DOC_TITLE@