Operations Of 12-Bit Ppg Timer Functions; Example Of Operations Of 12-Bit Ppg Timer Functions - Fujitsu F2MC-8L F202RA Hardware Manual

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

9.5

Operations of 12-bit PPG Timer Functions

The 12-bit PPG timer can be used as a 12-bit PPG because the output pulse cycle period
and "H" pulse width can be set separately.

Example of Operations of 12-bit PPG Timer Functions

To operate the 12-bit PPG timer, the bits of the registers must be set as shown in Figure 9.5-1 .
When 12-bit PPG outputs are enabled, the 12-bit counter starts counting from" 000
with the selected count clock and the PPG pin is maintained at "H" level until a count by the counter is
synchronized with the compare value for the "H" width. The PPG pin is then maintained at "L" level until a
count by the counter is synchronized with the compare value for the cycle period. At this time, the 12-bit
counter is cleared and restarts counting from "000
separately, the timer can be used as a 12-bit PPG.
Figure 9.5-1 Setting 12-bit PPG Timer
bit7
bit6
bit5
RCR21
RCK0
HSC5
RCK1
RCR22
HSC11 HSC10 HSC9
RCR23
SCL5
RCEN
1
SCL11 SCL10 SCL9
RCR24
: Used bit
1
: Set "1"
bit4
bit3
bit2
bit1
HSC4 HSC3
HSC2
HSC1
HSC8
HSC7 HSC6
SCL4
SCL3
SCL2
SCL1
SCL8
SCL7
. Because the "H" width and cycle period can be set
H"
CHAPTER 9 12-BIT PPG TIMER
bit0
HSC0
SCL0
SCL6
in synchronization
H"
219

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents