1) The interrupt shouldn't fire when TAR is 65535? 2) If it's not, and if the interrupt fires when timer hits CCR, it's like the up mode. 3) By adding always 50000 the CCR will vary to 34464 and a second time to 18911, etc, so this interval would be changed during the program execution?
↧