+unsigned int drwidth=16;
+//! Shift all bits of the DR.
+unsigned long jtag_dr_shift20(unsigned long in){
+ // idle
+ SETTMS;
+ TCKTOCK;
+ // select DR
+ CLRTMS;
+ TCKTOCK;
+ // capture IR
+ TCKTOCK;
+
+ // shift DR, then idle
+ return(jtagtransn(in,20));
+}
+