short rtimer_arch_now(void)
{
  short t1, t2;
  do {
    t1 = TA1R;
    t2 = TA1R;
  } while(t1 != t2);
  return t1;
}
TA1R 是 Timer_A 寄存器。我仍然不明白为什么会有一个循环。如果他们想返回时间为什么不返回TA1R。循环有什么用?
short rtimer_arch_now(void)
{
  short t1, t2;
  do {
    t1 = TA1R;
    t2 = TA1R;
  } while(t1 != t2);
  return t1;
}
TA1R 是 Timer_A 寄存器。我仍然不明白为什么会有一个循环。如果他们想返回时间为什么不返回TA1R。循环有什么用?