oK, Changing this struct makes the lib find the TCC0 first apparently.
struct wo_association {
EPortType port;
uint32_t pin;
#if defined(_SAMD51_)||defined(_SAME51_)
ETCChannel tccG;
uint8_t woG;
ETCChannel tccE;
uint8_t woE;
ETCChannel tccF;
uint8_t woF;
#endif
};
[Edit] This is using pin 13, 12, 11.
Also changed these lines:
{ PORTA, 20, TC7_CH0, 0, TCC0_CH0, 0, TCC0_CH0, 0},
{ PORTA, 21, TC7_CH1, 1, TCC0_CH1, 1, TCC0_CH1, 1},
{ PORTA, 22, TC4_CH0, 0, TCC0_CH2, 2, TCC0_CH2, 2},
{ PORTA, 23, TC4_CH1, 1, TCC0_CH3, 3, TCC0_CH3, 3},