Overview And Configuration Of Μpg Timer - Fujitsu MB90480 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 26 μPG TIMER (ONLY MB90485 SERIES)
26.1 Overview and Configuration of μPG Timer
The μPG timer is used to output pulses based on external input.
Block diagram of μPG timer
Figure 26.1-1 shows a block diagram of the μPG timer.
Πιν ρελατεδ το μPG timer
The μPG timer functions as the input port when the EXTC pin is used and the output port when
the MT00, MT01 pins are used. The EXTC pin functions as the general-purpose I/O port (P45/
EXTC) and input pin of μPG timer. The MT00, MT01 pins function as the general-purpose I/O
port (P43/MT00, P44/MT01) and output pin of μPG timer.
● Setting when using as EXTC pin
When using as the EXTC pin by the μPG timer, the P45/EXTC pin should be set to the input
port by the port direction register (DDR4 bit5 → "0").
● Setting when using as MT00/MT01 pins
When MT00/MT01 are used as output by the μPG timer, be sure to set to the pulse output
enable (PE0/PE1 bit5, 6 → "1") by the μPG control/status register (PGCSR).
550
Figure 26.1-1 Block diagram of μPG timer
MT00
MT01
output latch
output latch
Control circuit
MT00
MT01
Output enable
EXTC

Advertisement

Table of Contents
loading

Table of Contents