In the one-shot timer mode of the Timer A, I would like to control only the specified elapsed time without using interrupts and port output. What is the way to check the completion of counting?
Even when interrupts are disabled (I="0"or IPL>ILVL), if the Timer underflows or overflows, the IR bit of the TA0IC Register becomes ”1” so you can check the completion of counting by this flag. You should set the IRE bit to "0" by program before starting counting of the Timer, and check the flag until the IR bit becomes "1". The IR bit does not become "0" automatically so please set it to "0" by program after becoming "1".