h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 382

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 13 8-Bit Timer (TMR)
13.4
13.4.1
Figure 13.3 shows an example for outputting an arbitrary duty pulse.
1. Clear the CCLR1 bit in TCR to 0 so that TCNT is cleared according to the compare match of
2. Set the OS3 to OS0 bits in TCSR to B'0110 so that 1 is output according to the compare match
According to the above settings, the waveforms with the TCORA cycle and TCORB pulse width
can be output without the intervention of software.
Rev. 3.00 Jan 25, 2006 page 330 of 872
REJ09B0286-0300
TCORA, and then set the CCLR0 bit to 1.
of TCORA and 0 is output according to the compare match of TCORB.
Operation
Pulse Output
TCORA
TCORB
TMO
H'FF
H'00
Figure 13.3 Pulse Output Example
TCNT
Counter clear

Related parts for h8s-2158