Inverted Pulse Output - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

to 1 (the change from 0 to 1 is delayed by the value set in TGRA). The TGIA interrupt
handling routine writes the next output data (H'65) in NDRH.
4. Four-phase complementary non-overlapping pulse output can be obtained subsequently by
writing H'59, H'56, H'95... at successive TGIA interrupts.
If the DTC or DMAC is set for activation by the TGIA interrupt, pulse output can be obtained
without imposing a load on the CPU.
12.4.7

Inverted Pulse Output

If the G3INV, G2INV, G1INV, and G0INV bits in PMR are cleared to 0, values that are the
inverse of the PODR contents can be output.
Figure 12.10 shows the outputs when G3INV and G2INV are cleared to 0, in addition to the
settings of figure 12.9.
TCNT value
TGRB
TGRA
H'0000
NDRH
95
PODRL
PO15
PO14
PO13
PO12
PO11
PO10
PO9
PO8
Rev. 1.0, 09/01, page 588 of 904
TCNT
65
59
00
95
05
65
Figure 12.10 Inverted Pulse Output (Example)
56
95
41
59
50
56
14
Time
65
95
05
65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents