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__ */
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
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.
Definition: qdec_example.c:72
bool dir
Direction of the output signal.
Definition: qdec_example.c:63
@DOC_TITLE@
Generated on Thu Oct 26 2017 13:33:37 for AVR1600 Using the XMEGA Quadrature Decoder by doxygen 1.8.13