Chapter 916-bit TimerIX - 56 Timer OutputTM8BC counter counts up. When the TM8BC counter and the TM8CA register match, the condition of the outputpin (TM8AIO) is inverted at the rising edge of the next count clock.The value of the TM8BC counter is initialized to 0x0000 and starts to count up again.Timer output cycle = (TMnCA value + 1) × Count clock source cycle × 2(9) Initialize the timer 8TM8MD(0x0000A200)bp6: TMLDE=1(9) Set the TMLDE flag of the TM8MD register to “1” toinitialize the timer 8. The value of the compare registerbuffer is loaded into the TM8CA register. Reset theTMLDE flag to “0” after setting.(10) Set the output pin (pin function)P3MD(0x0000A033)bp6: P36M=1(10) Set the P36M flag of the port 3 output mode register(P3MD) to “1” to set the port to the pin function.(11) Set the output pin (I/O function)P3DIR(0x0000A023)bp6: P36D=1(11) Set the P36D flag of the port 3 I/O control register(P3DIR) to “1” to set the I/O control to the output pin.(12) Start the timer operationTM8MD(0x0000A200)bp7: TMCNE=1(12) Set the TMCNE flag of the TM8MD register to “1” tooperate the timer 8.Setup Procedure Description