Set/Reset Waveform Output (Sr Waveform Output) Mode - Renesas M16C FAMILY series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C

13.5.3 Set/Reset Waveform Output (SR Waveform Output) Mode

Output signal level of the OUTC1j pin becomes high ("H") when the INV bit in the G1POCRi (i=0 to 7) is
set to "0" (output is not reversed) and the base timer value matches the G1POj register value (j=0, 2, 4, 6).
The "H" signal switches to a low-level ("L") signal when the base timer value matches the G1POk(k=j+1)
register value. Table 13.10 lists specifications of SR waveform mode. Figure 13.24 shows an example of
the SR waveform mode operation.
Table 13.10 SR Waveform Output Mode Specifications
Item
Output waveform
Waveform output start condition
Waveform output stop condition
Interrupt request
(3)
OUTC1j pin
Selectable function
NOTES:
1. The odd channel's waveform generating register must have greater value than the even channel's.
2. When the G1PO0 register resets the base timer, the channel 0 and channel 1 SR waveform generating functions
are not available.
3. The OUTC1
, OUTC1
0
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
• Free-running operation
(the RST1, RTS2, and RST4 bits of the G1BCR1 and G1BCR0 registers are set
to "0" (no reset))
Cycle
Inverse level width
• The base timer is cleared to "0000
following register
(a) G1PO0 register (enabled by setting RST1 bit to "1", and RST4 and RST2 bits to "0")
(b) G1BTRR register (enabled by setting RST4 bit to "1", and RST2 and RST1 bits to "0")
Cycle
Inverse level width
m : setting value of the G1POj register (j=0, 2, 4, 6 )
n : setting value of the G1POk register (k=j+1)
p : setting value of the G1PO0 register or G1BTRR register
value range of m, n, p: 0001
(3)
Bits IFEj and IFEk in the G1FE register is set to "1" (channel j function enabled)
Bits IFEj and IFEk are set to "0" (channel j function disabled)
The G1IRj bit in the G1IR register is set to "1" when the base timer value
matches the G1POj register value.
The G1IRk bit in the interrupt request register is set to "1 " when the base
timer value matches the G1POk register value (See Figure 13.24)
Pulse signal output pin
• Default value set function : Set starting waveform output level
• Inverse output function : Waveform output signal is inversed and provided
from the OUTC1j pin
, OUTC14, OUTC1
2
6
page 161
f o
3
8
5
Specification
65536
:
f
BT1
n-m
(1)
:
f
BT1
16
p+2
:
f
BT1
n-m
(1)
:
f
BT1
16
pins.
" by matching the base timer with either
to FFFD
16
13. Timer S
(2)
, or

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents