Meter Controller/Driver Configuration - NEC mPD780852 Series Preliminary User's Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

Compare register
(MCMPnm)
Remark n = 1 to 4, m = 0, 1

18.2 Meter Controller/Driver Configuration

The meter controller/driver consists of the following hardware.
Item
Timer
Register
Control registers
Pulse controller
Remark n = 1 to 4
(1) Free-running up counter (MCNT)
MCNT is an 8-bit free-running up counter, and is a register that executes increment at the rising edge of input
clock.
A PWM pulse with a resolution of 8 bits can be output. The duty factor can be set in a range of 0% to 100%.
The count value is cleared in the following cases.
• RESET input
• Stop counter (PCE = 0)
Cautions 1. MCNT executes counting operation from 01H to FFH repeatedly. However, it counts from
00H upon operation start.
2. The PWM output is not output until the first overflow of MCNT.
232
CHAPTER 18 METER CONTROLLER/DRIVER
Figure 18-2. 1-Bit Addition Circuit Block Diagram
S
Q
f
tCC
2
ADBn1 ADBn0
Compare control register (MCMPCn)
Internal bus
Table 18-1. Meter Controller/Driver Configuration
Free-running up counter (MCNT): 1 channel
Compare register (MCMPn1, MCMPn0): 8 channels
Timer mode control register (MCNTC)
Compare control register n (MCMPCn)
Port mode control register (PMC)
1-bit addition circuit/output controller
Preliminary User's Manual U14581EJ3V0UM00
OVF
S
Q
R
Configuration

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780851Mpd780851aMpd780852aMpd78f0852

Table of Contents