Epson Arm S1C31 Series Technical Manual page 268

Cmos 32-bit single chip microcontroller
Table of Contents

Advertisement

17 16-BIT PWM TIMERS (T16B)
T16B_nCCCTLm.
CAPTRG[1:0] bits
(Trigger edge)
0x3 (↑ & ↓)
Rising or falling edge of the CAPnm pin input
signal
0x2 (↓)
Falling edge of the CAPnm pin input signal
0x1 (↑)
Rising edge of the CAPnm pin input signal
0x0
Bit 7
Reserved
Bit 6
TOUTMT
This bit selects whether the comparator MATCH signal of another system is used for generating the
TOUTnm signal or not.
1 (R/W): Generate TOUT using two comparator MATCH signals of the comparator circuit pair (0
and 1, 2 and 3, 4 and 5)
0 (R/W): Generate TOUT using one comparator MATCH signal of comparator m and the counter
MAX or ZERO signals
The T16B_nCCCTLm.TOUTMT bit is control bit for comparator mode and is ineffective in capture
mode.
Bit 5
TOUTO
This bit sets the TOUTnm signal output level when software control mode (T16B_nCCCTLm.TOUT-
MD[2:0] = 0x0) is selected for the TOUTnm output.
1 (R/W): High level output
0 (R/W): Low level output
The T16B_nCCCTLm.TOUTO bit is control bit for comparator mode and is ineffective in capture
mode.
Bits 4–2
TOUTMD[2:0]
These bits configure how the TOUTnm signal waveform is changed by the comparator MATCH and
counter MAX/ZERO signals.
The T16B_nCCCTLm.TOUTMD[2:0] bits are control bits for comparator mode and are ineffective in
capture mode.
T16B_nCCCTLm.
TOUTMD[2:0]
T16B_nCCCTLm.
bits
TOUTMT bit
Reset/set mode
0x7
0
1
Toggle/set mode
0x6
0
1
Reset mode
0x5
0
1
17-30
Table 17.7.4 Trigger Signal/Edge for Capturing Counter Value
T16B_nCCCTLm.CAPIS[1:0] bits (Trigger signal)
0x0 (External trigger signal)
Not triggered (disable capture function)
Table 17.7.5 TOUT Generation Mode
TOUT generation mode and operations
Count mode
Up count mode
Up/down count mode
Down count mode
All count modes
Up count mode
Up/down count mode
Down count mode
All count modes
All count modes
All count modes
Seiko Epson Corporation
Trigger condition
0x2 (Software trigger signal = L) 0x3 (Software trigger signal = H)
Altering the T16B_nCCCTLm.CAPIS[1:0] bits from 0x2 to 0x3, or
from 0x3 to 0x2
Altering the T16B_nCCCTLm.CAPIS[1:0] bits from 0x3 to 0x2
Altering the T16B_nCCCTLm.CAPIS[1:0] bits from 0x2 to 0x3
Output
signal
TOUTnm
The signal becomes inactive by the MATCH signal and it
becomes active by the MAX signal.
TOUTnm
The signal becomes inactive by the MATCH signal and it
becomes active by the ZERO signal.
TOUTnm
The signal becomes inactive by the MATCHm signal and it
becomes active by the MATCHm+1 signal.
TOUTnm+1 The signal becomes inactive by the MATCHm+1 signal
and it becomes active by the MATCHm signal.
TOUTnm
The signal is inverted by the MATCH signal and it be-
comes active by the MAX signal.
TOUTnm
The signal is inverted by the MATCH signal and it be-
comes active by the ZERO signal.
TOUTnm
The signal is inverted by the MATCHm signal and it be-
comes active by the MATCHm+1 signal.
TOUTnm+1 The signal is inverted by the MATCHm+1 signal and it be-
comes active by the MATCHm signal.
TOUTnm
The signal becomes inactive by the MATCH signal.
TOUTnm
T h e s i g n a l b e c o m e s i n a c t i v e b y t h e M AT C H m o r
MATCHm+1 signal.
TOUTnm+1 The signal becomes inactive by the MATCHm+1 or
MATCHm signal.
Change in the signal
S1C31D41 TECHNICAL MANUAL
(Rev. 1.1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Arm s1c31d41

Table of Contents