– xiii –
5-61
5-62
5-63
5-64
Port 7 Block Diagram ...........................................................................................................
Port 7 Mode Register (PM7) Format...................................................................................
Port Specified as Output Port..............................................................................................
Port Specified as Input Port.................................................................................................
157
158
159
160
6-1
6-2
6-3
6-4
6-5
6-6
6-7
6-8
6-9
Real-Time Output Port Block Diagram................................................................................
Real-Time Output Port Control Register (RTPC) Format ..................................................
Port 0 Buffer Register (P0H, P0L) Configuration ...............................................................
Real-Time Output Port Operation Timing ...........................................................................
Real-Time Output Port Operation Timing (2-Channel Independent Control Example) ....
Real-Time Output Port Operation Timing ...........................................................................
Real-Time Output Function Control Register Settings.......................................................
Real-Time Output Function Setting Procedure...................................................................
Interrupt Request Servicing when Real-Time Output Function is Used ...........................
164
165
166
169
170
171
172
172
173
7-1
Timer/Counter Block Diagram .............................................................................................
176
8-1
8-2
8-3
8-4
8-5
8-6
8-7
8-8
8-9
8-10
8-11
Timer/Counter 0 Block Diagram ..........................................................................................
Timer Control Register 0 (TMC0) Format ...........................................................................
Prescaler Mode Register 0 (PRM0) Format .......................................................................
Capture/Compare Control Register 0 (CRC0) Format .......................................................
Timer Output Control Register (TOC) Format ....................................................................
One-Shot Pulse Output Control Register (OSPC) Format.................................................
Basic Operation of Timer Register 0 (TM0)........................................................................
TM0 Clearance by Match with Compare Register (CR01) ................................................
Clear Operation When CE0 Bit is Cleared (0)....................................................................
Timer/Counter 0 External Event Count Timing...................................................................
Example of the Case Where the External Event Counter Does Not
Distinguish Between One Valid Edge Input and No Valid Edge Input..............................
Methods of Enabling the External Event Counter to Distinguish No Valid Edge Input ....
Compare Operation..............................................................................................................
TM0 Clearance After Match Detection................................................................................
Capture Operation................................................................................................................
Toggle Output Operation .....................................................................................................
PWM Pulse Output...............................................................................................................
Example of PWM Output Using TM0 ..................................................................................
Example of PWM Output When CR00 = FFFFH................................................................
Example of Compare Register (CR00) Rewrite..................................................................
Example of 100% Duty With PWM Output .........................................................................
When Timer/Counter 0 is Stopped During PWM Signal Output........................................
Example of PPG Output Using TM0 ...................................................................................
Example of PPG Output When CR00 = CR01 ...................................................................
Example of Compare Register (CR00) Rewrite ................................................................
181
184
185
186
187
188
190
191
192
193
195
196
197
198
199
202
204
205
206
207
208
209
210
211
212
8-12
8-13
8-14
8-15
8-16
8-17
8-18
8-19
8-20
8-21
8-22
8-23
8-24
8-25
LIST OF FIGURES (3/11)
Figure No.
Title
Page