beautypg.com

NEC PD78214 User Manual

Page 23

background image

- xii -

Contents

7-106

Interrupt Request Handling for Pulse Width Calculation .........................................................197

7-107

Example of PWM Signal Output by 8-Bit Timer/Counter 2 ..................................................... 197

7-108

Setting of Control Registers for PWM Output Operation ........................................................198

7-109

Setting Procedure for PWM Output ............................................................................................199

7-110

Changing Duty Factor of PWM Output .......................................................................................199

7-111

Example of PPG Signal Output by 8-Bit Timer/Counter 2 ....................................................... 199

7-112

Setting of Control Registers for PPG Output Operation ..........................................................200

7-113

Setting Procedure for PPG Output ..............................................................................................201

7-114

Changing Duty Factor of PPG Output .........................................................................................201

7-115

External Event Counter Operation ..............................................................................................201

7-116

Setting of Control Registers for External Event Counter Operation ...................................... 202

7-117

Setting Procedure for External Event Counter Operation ....................................................... 202

7-118

One-Shot Timer Operation ...........................................................................................................203

7-119

Setting of Control Registers for One-Shot Timer Operation ...................................................203

7-120

Setting Procedure for One-Shot Timer Operation ....................................................................204

7-121

Procedure for Starting an Additional One-Shot Timer Operation ..........................................204

7-122

Block Diagram of 8-Bit Timer/Counter 3 ....................................................................................206

7-123

Format of Timer Control Register 0 (TMC0) ..............................................................................207

7-124

Format of Prescaler Mode Register 0 (PRM0) ...........................................................................207

7-125

Basic Operation of 8-Bit Timer 3 (TM3) ......................................................................................208

7-126

TM3 Cleared by a Coincidence with Compare Register (CR30) .............................................. 209

7-127

Clear Operation When the CE3 Bit Is Reset to 0 .......................................................................209

7-128

Compare Operation .......................................................................................................................211

7-129

Timing of Interval Timer Operation ............................................................................................211

7-130

Setting of Control Registers for Interval Timer Operation ......................................................212

7-131

Setting Procedure for Interval Timer Operation .......................................................................212

7-132

Count Start Operation ...................................................................................................................214

7-133

Count Operation Stop ...................................................................................................................214

7-134

Timing of Count Operation Stop and Restart ............................................................................214

7-135

Example of PWM Output Signal with a 100% Duty Factor ......................................................216

7-136

Example of PPG Output Signal with a 100% Duty Factor ........................................................217

7-137

Example of PPG Output Period Made Longer ...........................................................................218

7-138

Interrupt Request Generation Using External Event Counter .................................................220

7-139

Example Where Input of No Valid Edge Cannot Be Distinguished from Input of
Only One Valid Edge with External Event Counter ..................................................................220

7-140

How to Distinguish Input of No Valid Edge from Input of Only One Valid Edge
with External Event Counter ........................................................................................................221

7-141

Interrupt Generation Timing Change by an Erroneously Detected Edge ..............................223

8-1

A/D Converter Configuration .......................................................................................................226

8-2

Example of Capacitors Connected to the A/D Converter Pins ................................................ 227

8-3

A/D Converter Mode Register (ADM) Format ............................................................................229

8-4

Basic A/D Converter Operation ....................................................................................................230

8-5

Relations between Analog Input Voltages and A/D Conversion Results ............................... 231

8-6

Select Mode Operation Timing ...................................................................................................232

8-7

Scan Mode Operation Timing ......................................................................................................233

8-8

Software-Started Select-Mode A/D Conversion ........................................................................234

Fig. No.

Title, Page

This manual is related to the following products: