Rainbow-electronics ATmega103L Manuel d'utilisateur Page 76

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 126
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 75
ATmega603/103
76
Figure 53. Port A Schematic Diagrams (Pins PA0 - PA7)
Port B
Port B is an 8-bit bi-directional I/O port with internal pull-ups.
Three I/O memory address locations are allocated for Port B, one each for the Data Register - PORTB, $18($38), Data
Direction Register - DDRB, $17($37) and the Port B Input Pins - PINB, $16($36). The Port B Input Pins address is read
only, while the Data Register and the Data Direction Register are read/write.
All port pins have individually selectable pull-up resistors. The Port B output buffers can sink 20mA and thus drive LED dis-
plays directly. When pins PB0 to PB7 are used as inputs and are externally pulled low, they will source current if the
internal pull-up resistors are activated.
DATA BUS
D
D
Q
Q
RESET
RESET
C
C
WD
WP
RD
RP
MOS
PULL-
UP
PAn
R
R
WP:
WD:
RL:
RP:
RD:
SRE:
A:
D:
W:
R:
n:
WRITE PORTA
WRITE DDRA
READ PORTA LATCH
READ PORTA PIN
READ DDRA
EXT. SRAM ENABLE
ADDRESS
DATA
WRITE
READ
0-7
DDAn
PORTAn
SRE
SRE
R
R
Dn
Dn
W
W
An
An
RL
Vue de la page 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 125 126

Commentaires sur ces manuels

Pas de commentaire