Renesas M16C/29 Series Hardware Manual page 159

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
Time measurement 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 on even channels. In SR waveform output mode, the values written to the
corresponding odd channel (next channel after an even channel) are ignored. An even channel
outputs waveform. An odd channel outputs no waveform.
2. The inverse output function is performed as a final step on a process of waveform generation. When
setting the INV bit to "1" (output inverse), "H" is output with setting the IVL bit to "0" (output "L" as an
initial value) and "L" with setting the IVL bit to "1" (output "H" as an initial value).
Figure 13.7. G1TM0 to G1TM7 Registers, and G1POCR0 to G1POCR7 Registers
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
b0
Symbol
G1TM0 to G1TM2
G1TM3 to G1TM5
G1TM6 to G1TM7
Value of the base timer is stored every time
measurement.
b2
b1
b0
Symbol
G1POCR0 to G1POCR3
G1POCR4 to G1POCR7
Bit
symbol
MOD0
Operation mode
MOD1
select bit
Nothing is assigned. When write, should 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, should set to "0".
(b6)
When read, its content is indeterminate.
Inverse output function
INV
select bit (Note 2)
page 139 of 402
13. Timer S (Input Capture / Output Compare)
Address
0301
- 0300
0303
- 0302
16
16,
16
16,
0307
- 0306
0309
- 0308
16
16,
16
16,
030D
- 030C
030F
- 030E
16
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
(Note 1)
1
0
: Phase-delayed waveform
output mode
1
1
: Avoid this setting
0: Outputs "L" as an initial value
1: Outputs "H" as an initial value
0: Reloads the G1POj register when
the CPU writes to a counter
1: Reloads the G1POj register when
the base timer is reset
0: Output is not inversed
1: Output is inversed
When reset
0305
- 0304
????
16
16
16
030B
- 030A
????
16
16
16
????
16
Setting range
RW
RO
When reset
, 0313
0X00 XX00
16
16
2
, 0317
0X00 XX00
16
16
2
Function
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents