8.8
Port 7..................................................................................................................................
8.8.1 Overview...............................................................................................................
8.8.2 Register Configuration .........................................................................................
8.8.3 Pin Functions ........................................................................................................
8.9 Port 8..................................................................................................................................
8.9.1 Overview...............................................................................................................
8.9.2 Register Configuration .........................................................................................
8.9.3 Pin Functions ........................................................................................................
8.10 Port 9..................................................................................................................................
8.10.1 Overview...............................................................................................................
8.10.2 Register Configuration .........................................................................................
8.10.3 Pin Functions ........................................................................................................
219
219
219
220
220
220
221
222
225
225
226
227
Section 9
9.1
8-Bit PWM Timers [H8S/2138 Series]
.................................................... 231
231
231
232
233
233
234
234
236
236
237
238
238
239
239
239
240
241
241
9.2
9.3
Overview............................................................................................................................
9.1.1 Features.................................................................................................................
9.1.2 Block Diagram......................................................................................................
9.1.3 Pin Configuration .................................................................................................
9.1.4 Register Configuration .........................................................................................
Register Descriptions.........................................................................................................
9.2.1 PWM Register Select (PWSL) .............................................................................
9.2.2 PWM Data Registers (PWDR0 to PWDR15) ......................................................
9.2.3 PWM Data Polarity Registers A and B (PWDPRA and PWDPRB)....................
9.2.4 PWM Output Enable Registers A and B (PWOERA and PWOERB) .................
9.2.5 Peripheral Clock Select Register (PCSR).............................................................
9.2.6 Port 1 Data Direction Register (P1DDR) .............................................................
9.2.7 Port 2 Data Direction Register (P2DDR) .............................................................
9.2.8 Port 1 Data Register (P1DR) ................................................................................
9.2.9 Port 2 Data Register (P2DR) ................................................................................
9.2.10 Module Stop Control Register (MSTPCR)...........................................................
Operation ...........................................................................................................................
9.3.1 Correspondence between PWM Data Register Contents
and Output Waveform ..........................................................................................
Section 10 14-Bit PWM D/A
............................................................................................ 243
10.1 Overview............................................................................................................................
10.1.1 Features.................................................................................................................
10.1.2 Block Diagram......................................................................................................
10.1.3 Pin Configuration .................................................................................................
10.1.4 Register Configuration .........................................................................................
10.2 Register Descriptions.........................................................................................................
10.2.1 PWM D/A Counter (DACNT) .............................................................................
10.2.2 D/A Data Registers A and B (DADRA and DADRB).........................................
vi
243
243
244
244
245
245
245
246