English
Language : 

M16C28 Datasheet, PDF (161/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
13. Timer S
Waveform Generation Register j (j=0 to 7)
b15
b8
(b7)
(b0) b7
Symbol
Address
b0
G1TM0 to G1TM2 030116-030016, 030316-030216, 030516-030416
G1TM3 to G1TM5 030716-030616, 030916-030816, 030B16-030A16
G1TM6 to G1TM7 030D16-030C16, 030F16-030E16
After Reset
Indeterminte
Indeterminte
Indeterminte
Function
The base timer value is stored every
measurement timing.
Setting Range RW
RO
Waveform Generation Control Register j (j=0 to 7)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
G1POCR0 to G1POCR3
G1POCR4 to G1POCR7
Address
031016, 031116, 031216, 031316
031416, 031516, 031616, 031716
After Reset
0X00 XX002
0X00 XX002
Bit
Symbol
Bit Name
Function
RW
MOD0
MOD1
Operating Mode
Select Bit
b1b0
0 0: Single waveform output mode
0 1: SR waveform output mode (1)
RW
1 0: Phase-delayed waveform
output mode
1 1: Do not set to this value
RW
Nothing is assigned. When write, set to "0".
(b3-b2) When read, its content is indeterminate.
IVL
Output Initial Value
Select Bit
0: "L" output as a default value
1: "H" output as a default value
RW
RLD
0: Reloads the G1POj register when
GiPOj Register Value
value is written
Reload Timing Select Bit 1: Reloads the G1POj register when
RW
the base timer is reset
Nothing is assigned. When write, set to "0".
(b6) When read, its content is indeterminate.
INV
Inverse Output Function 0: Output is not inversed
Select Bit (2)
1: Output is inversed
RW
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
Rev. 2.00 Jan. 31, 2007 page 141 of 385
REJ09B0047-0200