swdptap_seq_out_parity(uint32_t MS, int ticks) { uint8_t parity = 0; while (ticks--) { swdptap_bit_out(MS & 1); parity ^= MS; MS >>= 1; } swdptap_bit_out(parity & 1); }
swdptap_seq_out(uint32_t MS, int ticks) { while (ticks--) { swdptap_bit_out(MS & 1); MS >>= 1; } }
void swdptap_seq_out(uint32_t MS, int ticks) { swdptap_turnaround(0); while(ticks--) { swdptap_bit_out(MS & 1); MS >>= 1; } }
void swdptap_reset(void) { swdptap_turnaround(0); /* 50 clocks with TMS high */ for(int i = 0; i < 50; i++) swdptap_bit_out(1); }