Renesas M16C FAMILY series Hardware Manual page 161

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
Waveform Generation Register j (j=0 to 7)
b8
b15
(b0)
b7
(b7)
Waveform Generation Control Register j (j=0 to 7)
b7
b6
b5
b4
b3
NOTES :
1. This setting is enabled only for even channels. In SR waveform output mode, values written to the
corresponding odd channel (next channel after an even channel) are ignored. Even channels
provide waveform output. Odd channels provide no waveform output.
2. The inverse output function is the final step in waveform generating process. When the INV bit is set
to "1", and "H" signal is provided a default output by setting the IVL bit to "0", and an "L" signal is
provided by setting it to "1".
3. In the SR waveform output mode, set not only the even channel but also the correspoinding even
channel (next channel after the even channel).
4. To provide either "H" or "L" signal output set in the IVL bit, set the FSCj bit in the G1FS register to
"0" (select waveform generating function) and IFEj bit in the G1FE register to "1" (functions for
channel j enabled). Then set the IVL bit to "0" or "1".
Figure 13.6 G1TM0 to G1TM7 Registers, and G1POCR0 to G1POCR7 Registers
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
Symbol
b0
G1TM0 to G1TM2
G1TM3 to G1TM5
G1TM6 to G1TM7
The base timer value is stored every
measurement timing.
b2
b1
b0
Symbol
G1POCR0 to G1POCR3
G1POCR4 to G1POCR7
Bit
Symbol
MOD0
Operating Mode
Select Bit
MOD1
Nothing is assigned. When write, set to "0".
(b3-b2)
When read, its content is indeterminate.
Output Initial Value
IVL
Select Bit
GiPOj Register Value
RLD
Reload Timing Select Bit
Nothing is assigned. When write, set to "0".
(b6)
When read, its content is indeterminate.
Inverse Output Function
INV
Select Bit
page 141
f o
3
8
5
Address
0301
-0300
0303
-0302
16
16,
16
16,
0307
-0306
0309
-0308
16
16,
16
16,
030D
-030C
030F
-030E
16
16,
16
Function
Address
0310
, 0311
, 0312
16
16
0314
, 0315
, 0316
16
16
Bit Name
b1
b0
0
0
: Single waveform output mode
0
1
: SR waveform output mode
1
0
: Phase-delayed waveform
output mode
1
1
: Do not set to this value
0: "L" output as a default value
1: "H" output as a default value
0: Reloads the G1POj register when
value is written
1: Reloads the G1POj register when
the base timer is reset
0: Output is not inversed
(2)
1: Output is inversed
After Reset
0305
-0304
Indeterminte
16
16
030B
-030A
Indeterminte
16
16
Indeterminte
16
Setting Range
RW
RO
After Reset
, 0313
0X00 XX00
16
16
, 0317
0X00 XX00
16
16
Function
RW
RW
(1)
RW
RW
RW
RW
13. Timer S
2
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents