Question on pin 10 - PA28 and PC29 when using TC Channel 1

Hi,

I'm writing support for the Adafruit Motor Controller Shield V2 using ASF on linux. So for generating the servo signal on pin 10 I use the TC2 channel 1. No problems it all works perfectly, but a quick question. Since both PA28 and PC29 are connected to pin 10. In what state should I put PA28 in just to make sure no "electrical" issues will emerge? Currently in my example below I have put it into INPUT direction and enabled it.

Thanks,

Tomas

Code snippet:

sysclk_enable_peripheral_clock(ID_TC7);
tc_init(TC2, 1, TC_CMR_TCCLKS_TIMER_CLOCK4 /* 128 divisor /
| TC_CMR_WAVE /
Waveform mode /
| TC_CMR_WAVSEL_UP_RC /
Waveform up & rc reset /
| TC_CMR_EEVT_XC0 /
Just to make sure TIOB is not selected as input /
| TC_CMR_BCPB_CLEAR /
Clear on RB /
| TC_CMR_BCPC_SET /
Set on RC /
| TC_CMR_CPCTRG); /
Restart clock on RC */
uint32_t rc = (sysclk_get_peripheral_bus_hz(TC2) / 128 /
SERVO_FREQUENCY);
pS->value_20ms = rc;
tc_write_rc(TC2, 1, rc);
uint32_t rb = servo_scale (pS, pS->start_value);
tc_write_rb(TC2, 1, rb);
tc_start(TC2, 1);

/* Set the direction and mode of PC29 and PA28 */
ioport_set_pin_dir (PIO_PA28_IDX, IOPORT_DIR_INPUT);
ioport_enable_pin (PIO_PA28_IDX);
ioport_set_pin_dir (PIO_PC29_IDX, IOPORT_DIR_OUTPUT);
ioport_set_pin_mode (PIO_PC29_IDX, IOPORT_MODE_MUX_B);
ioport_disable_pin (PIO_PC29_IDX);