Chapter 916-bit TimerIX - 28 Control registers■ Timer 10 Compare/Capture A Mode Register (TM10MDA: 0x0000A0244) [8-bit Access Register]bp 7 6 5 4 3 2 1 0Flag TMAM1TMAM0TMAEGTMACE- - TMA01TMA00At reset 0 0 0 0 0 0 0 0Access R/W R/W R/W R/W R R R/W R/Wbp Flag Description Setting condition7-6 TMAM1TMAM0Timer compare/capture A operationmode selection00: Compare register (double buffer)01: Compare register (single buffer)10: Capture register ( single-edge operation)Capture at the edge selected by timer A pin polarity selection bit.11: Capture register ( both-edge operation)Selection by timer A pin polarity selection is ignored.5 TMAEGTimer A pin polarity selection 0 Capture Rising edge (when single edge isselected)Count control Counts when “H” level is inputActivation trigger Falling edgePin output Positive polarity output“L” level when reset, “H” level whenset1 Capture Falling edge (when single edge isselected)Count control Counts when “H” level is inputActivation trigger Rising edgePin output Negative polarity output“H” level when reset, “L” level whenset4 TMACE Timer capture A operation enable 0: Capture operation disabled (pin input is ignored)1: Capture operation enabled3-2 - - -1-0 TMA01TMA00Timer A output waveform selection 00: Set when TMBC and TMCA match, reset when TMBC andTMCB match01: Set when TMBC and TMCA match, reset when TMBC overflows10: Set when TMBC and TMCA match (reset only when timer is ini-tialized)11: Timer output (output is inverted when TMBC and TMCA match)