NEC PD17062 Instrukcja Użytkownika Strona 217

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 296
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 216
217
µ
PD17062
Peripheral equipment Peripheral address Corresponding pin
PWM0 05H PWM0
PWM1 06H PWM1
PWM2 07H PWM2
PWM3 08H PWM3
17. D/A CONVERTER
17.1 PWM PINS
The
µ
PD17062 has 4 output pins for 6-bit PWM, which enables varying the duty cycle of the 15.625 kHz pulse
signal in 64 steps. With this capability, attaching an external lowpass filter to the
µ
PD17062 makes it function
as a D/A converter. The PWM pins can also be used as 1-bit output ports.
When used as a D/A converter, the
µ
PD17062 sets the D/A outputs in the output data latches, PWMRs. These
latches, PWMR0, PWMR1, PWMR2, and PWMR3, are mapped at addresses 05H, 06H, 07H, and 08H, respec-
tively. They can be read- and write-accessed via the DBF. Table 17-1 lists the correspondence between the
PWMR addresses and the PWM pins.
Table 17-1 PWMR Addresses and the Corresponding Pins
Each PWMR consists of 7 bits. Fig. 17-1 shows the configuration of the PWMR and its correspondence with
the DBF. The highest bit of the PWMR specifies whether the PWM pin is to be used as a PWM output pin or
an output port. The other six bits specify the output values of the PWM signal.
Fig. 17-2 shows the waveform output from the PWMR pin.
Przeglądanie stron 216
1 2 ... 212 213 214 215 216 217 218 219 220 221 222 ... 295 296

Komentarze do niniejszej Instrukcji

Brak uwag