Rainbow-electronics AT89C5122 Manuel d'utilisateur Page 60

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 213
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 59
60
AT8xC5122/23
4202E–SCR–06/06
Figure 29. LED Source Current
Notes: 1. When switching a low level, LEDCTRL device has a permanent current of about
N mA/15 (N is 2, 4 or 8).
2. The port must be configured as standard C51 port by means of PMOD0 and PMOD1
registers and the level of current must be programmed by means of LEDCON0 and
LEDCON1 registers before switching the led on.
Table 35. LED Source Current
LEDx.1 LEDx.0 Port Latch Data NMOS PIN Comments
00 0 10
LED control disabled
00 1 01
01 0 00
LED mode 2 mA
01 1 01
10 0 00
LED mode 4 mA
10 1 01
11 0 00
LED mode 10 mA
11 1 01
Pin
Port Latch
Data
LEDx.0
LEDx.1
NMOS
N
N
LEDCTRL
Vue de la page 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 212 213

Commentaires sur ces manuels

Pas de commentaire