Download Print this page

Renesas M16C/50 Series User Manual page 424

Advertisement

M16C/5L Group, M16C/56 Group
(1) Free-running operation (when bits RST2 and RST1 in the G1BCR1 register and the RST4 bit
in the G1BCR0 register are all 0)
FFFFh
Base timer
0000h
OUTC1_ j pin
G1IRj bit
j = 0 to 7
m: G1POj register value
G1IRj: Bit in the G1IR register
The above assumes the following:
• The IVL bit in the G1POCRj register is 0 (output low as default) and the INV bit is 0 (output is not inverted).
• Bits UD1 and UD0 in the G1BCR1 register are 00b (increment).
• Bits IOj1 and IOj0 in registers G1IOR0 and G1IOR1 are 00b (outputs high or low depending on the mode selected by bits MOD1 and
MOD0 in the G1POCRj register).
• The EOCj bit in the G1OER register is 0 (output enabled).
(2) When the base timer matches either of following registers, the base timer is reset:
(a) G1PO0 register (when the RST1 bit is 1 and bits RST4 and RST2 are 0)
(b) G1BTRR register (when the RST4 bit is 1 and bits RST2 and RST1 are 0)
FFFFh
n + 1
Base timer
0000h
OUTC1_ j pin
G1IRj bit
When (a), j = 1 to 7. When (b), j = 0 to 7.
m: G1POj register value
n: G1PO0 register or G1BTRR register value
G1IRj: Bit in the G1IR register
The above assumes the following:
• The IVL bit in the G1POCRj register is 0 (output low as default) and the INV bit is 0 (output is not inverted).
• Bits UD1 and UD0 in the G1BCR1 register are 00b (increment).
• Bits IOj1 and IOj0 in registers G1IOR0 and G1IOR1 are 00b (outputs high or low depending on the mode selected by bits MOD1 and
MOD0 in the G1POCRj register).
• The EOCj bit in the G1OER register is 0 (output enabled).
Figure 18.16 Inverted Waveform Output Mode Operation (1/2)
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
m
65536
fBT1
Inverted
To set this bit to 0,
write 0 by a
program
m
m
fBT1
Inverted
65536
Inverted
65536 x 2
fBT1
n + 2
fBT1
Inverted
2(n + 2)
fBT1
To set this bit to 0,
write 0 by a
program
fBT1
n + 2
fBT1
Inverted
Page 387 of 803
18. Timer S

Advertisement

loading