Chapter 916-bit TimerInput Capture IX - 639.9 Input Capture9.9.1 Input Capture OperationInput capture function reads the value of the binary counter into the compare/capture register at the trigger set bythe external input signal (both edge, rising edge, falling edge).■ Setting Input CaptureSet the TMACE flag of the timer compare/capture mode register to “1” to enable capture operation. Selectwhether to capture at the both edge or single edge of the input signal by the TMAM1-0 flag. If the single edge isselected, select the falling edge or rising edge by the TMAEG flag.■ Setting Input PinTable: 9.9.1 shows the pins which can use input capture operation.Table:9.9.1 TImer and Input Capture Input PinWhen pins are used as input capture operation, the settings of the registers in the following table are necessary.Table:9.9.2 Setting Input Pin■ Count TIming of Input CaptureTable: 9.9.1 shows the timing that the value of the binary counter is read into the compare/capture register at theboth edge of the input signal.Timer 8 Timer 9 Timer 10 Timer 11 Timer 12 Timer 13Input pin TM8AIOTM8BIOTM9AIOTM9BIOTM10AIOTM10BIOTM11IO0TM11IO1- -Port output mode register Port I/O control registerTM8AIO P3MD(P36M) P3DIR(P36D)TM8BIO P3MD(P37M) P3DIR(P37D)TM9AIO P4MD(P42M) P4DIR(P42D)TM9BIO P4MD(P43M) P4DIR(P43D)TM10AIO P4MD(P46M) P4DIR(P46D)TM10BIO P4MD(P47M) P4DIR(P47D)TM11IO0 P7MD(P72M) P7DIR(P72D)TM11IO1 P7MD(P73M) P7DIR(P73D)