13 16-BiT PWM TiMeRS (T16a2)
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
13-17
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 (CAPA
x
) at which the counter value is captured in the
capture A register.
8.7 Capture A Trigger Edge Selection
Table 13.
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 (TOUTA
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 13.
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 (TOUTA
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.