Go to the documentation of this file. 14 #ifndef CONF_D_QUADENC_H_ 15 #define CONF_D_QUADENC_H_ 24 #define ID_QE0_POS ID_TC6 26 #define PIN_QE0_POS_PHA (PIO_PC5_IDX) //TC2 TIOA6 27 #define PIN_QE0_POS_PHA_MUX (IOPORT_MODE_MUX_B) 29 #define PIN_QE0_POS_PHB (PIO_PC6_IDX) //TC2 TIOB6 30 #define PIN_QE0_POS_PHB_MUX (IOPORT_MODE_MUX_B) 35 #define TCCAP0_SPD TC1 36 #define TCCAP0_SPD_CHANNEL 2 37 #define ID_TCCAP0_SPD ID_TC5 39 #define PIN_TCCAP0_SPD (PIO_PC29_IDX) 40 #define PIN_TCCAP0_SPD_MUX (IOPORT_MODE_MUX_B) 42 #define TCCAP0_SPD_Handler TC5_Handler 43 #define TCCAP0_SPD_IRQn TC5_IRQn 46 #define TCCAP0_SPD TC3 47 #define TCCAP0_SPD_CHANNEL 1 48 #define ID_TCCAP0_SPD ID_TC10 50 #define PIN_TCCAP0_SPD (PIO_PE3_IDX) 51 #define PIN_TCCAP0_SPD_MUX (IOPORT_MODE_MUX_B) 53 #define TCCAP0_SPD_Handler TC10_Handler 54 #define TCCAP0_SPD_IRQn TC10_IRQn 62 #define ID_QE1_POS ID_TC9 64 #define PIN_QE1_POS_PHA (PIO_PE0_IDX) //TC3 TIOA9 65 #define PIN_QE1_POS_PHA_MUX (IOPORT_MODE_MUX_B) 67 #define PIN_QE1_POS_PHB (PIO_PE1_IDX) //TC3 TIOB9 68 #define PIN_QE1_POS_PHB_MUX (IOPORT_MODE_MUX_B) 72 #define TCCAP1_SPD TC0 73 #define TCCAP1_SPD_CHANNEL 0 74 #define ID_TCCAP1_SPD ID_TC0 76 #define PIN_TCCAP1_SPD (PIO_PA0_IDX) 77 #define PIN_TCCAP1_SPD_MUX (IOPORT_MODE_MUX_B) 79 #define TCCAP1_SPD_Handler TC0_Handler 80 #define TCCAP1_SPD_IRQn TC0_IRQn 89 #define ID_QE0_POS ID_TC0 91 #define PIN_QE0_POS_PHA (PIO_PA0_IDX) //TC0 TIOA0 92 #define PIN_QE0_POS_PHA_MUX (IOPORT_MODE_MUX_B) 94 #define PIN_QE0_POS_PHB (PIO_PA1_IDX) //TC0 TIOB0 95 #define PIN_QE0_POS_PHB_MUX (IOPORT_MODE_MUX_B) 99 #define TCCAP0_SPD TC0 100 #define TCCAP0_SPD_CHANNEL 0 101 #define ID_TCCAP0_SPD ID_TC0 103 #define PIN_TCCAP0_SPD (PIO_PA0_IDX) 104 #define PIN_TCCAP0_SPD_MUX (IOPORT_MODE_MUX_B) 106 #define TCCAP0_SPD_Handler TC0_Handler 107 #define TCCAP0_SPD_IRQn TC0_IRQn 114 #define ID_QE1_POS ID_TC9 116 #define PIN_QE1_POS_PHA (PIO_PE0_IDX) //TC3 TIOA9 117 #define PIN_QE1_POS_PHA_MUX (IOPORT_MODE_MUX_B) 119 #define PIN_QE1_POS_PHB (PIO_PE1_IDX) //TC3 TIOB9 120 #define PIN_QE1_POS_PHB_MUX (IOPORT_MODE_MUX_B) 124 #define TCCAP1_SPD TC3 125 #define TCCAP1_SPD_CHANNEL 0 126 #define ID_TCCAP1_SPD ID_TC9 128 #define PIN_TCCAP1_SPD (PIO_PE0_IDX) 129 #define PIN_TCCAP1_SPD_MUX (IOPORT_MODE_MUX_B) 131 #define TCCAP1_SPD_Handler TC9_Handler 132 #define TCCAP1_SPD_IRQn TC9_IRQn