15 16-BIT PWM TIMER (T16A5)
15-14
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
D8
CCBMD: T16A_CCB Register Mode Select Bit
Selects the T16A_CCB
x
register function (comparator mode or capture mode).
1 (R/W): Capture mode
0 (R/W): Comparator mode (default)
Writing 1 to CCBMD configures the T16A_CCB
x
register as the capture B register (capture mode) to
which the counter data will be loaded by the external trigger signal. When CCBMD is 0, the T16A_
CCB
x
register functions as the compare B register (comparator mode) for writing a comparison value to
generate the compare B signal.
D[7:6]
CAPATRG[1:0]: Capture A Trigger Select Bits
Selects the trigger edge(s) of the external signal (T16A_ATMA_
x
input) at which the counter value is
captured in the capture A register.
8.7 Capture A Trigger Edge Selection
Table 15.
CAPATRG[1:0]
Trigger edge
0x3
Falling edge and rising edge
0x2
Falling edge
0x1
Rising edge
0x0
Not triggered
(Default: 0x0)
CAPATRG[1:0] are control bits for capture mode and are ineffective in comparator mode.
D[5:4]
TOUTAMD[1:0]: TOUT A Mode Select Bits
Configures how the TOUT A signal waveform (T16A_ATMA_
x
output) is changed by the compare A
and compare B signals. These bits are also used to turn the TOUT A output on and off.
8.8 TOUT A Generation Mode
Table 15.
TOUTAMD[1:0]
When compare A occurs When compare B occurs
0x3
No change
Toggle
0x2
Toggle
No change
0x1
Rise
Fall
0x0
Disable output
(Default: 0x0)
TOUTAMD[1:0] are control bits for comparator mode and are ineffective in capture mode.
D[3:2]
Reserved
D1
TOUTAINV: TOUT A Invert Bit
Selects the TOUT A signal (T16A_ATMA_
x
output) polarity.
1 (R/W): Inverted (active low)
0 (R/W): Normal (active high) (default)
Writing 1 to TOUTAINV generates an active low signal (off level = high) for the TOUT A output.
When TOUTAINV is 0, an active high signal (off level = low) is generated.
TOUTAINV is a control bit for comparator mode and is ineffective in capture mode.
D0
CCAMD: T16A_CCA Register Mode Select Bit
Selects the T16A_CCA
x
register function (comparator mode or capture mode).
1 (R/W): Capture mode
0 (R/W): Comparator mode (default)
Writing 1 to CCAMD configures the T16A_CCA
x
register as the capture A register (capture mode) to
which the counter data will be loaded by the external trigger signal. When CCAMD is 0, the T16A_
CCA
x
register functions as the compare A register (comparator mode) for writing a comparison value
to generate the compare A signal.