Rainbow-electronics ATmega161L Manuale Utente Pagina 91

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 159
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 90
91
ATmega161(L)
1228CAVR08/02
Port B Port B is an 8-bit bi-directional I/O port.
Three I/O memory address locations are allocated for the 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 20 mA and thus drive LED displays directly. When pins PB0 to PB7 are used as
inputs and are externally pulled low, they will source current if the internal pull-up resis-
tors are activated.
The Port B pins with alternate functions are shown in Table 30.
Note: 1. When the pins are used for the alternate function, the DDRB and PORTB Registers
have to be set according to the alternate function description.
Port B Data Register PORTB
Port B Data Direction Register
DDRB
Port B Input Pins Address
PINB
The Port B Input Pins address (PINB) is not a register; this address enables access to
the physical value on each Port B pin. When reading PORTB, the Port B Data Latch is
read and when reading PINB, the logical values present on the pins are read.
Table 30. Port B Pin Alternate Functions
(1)
Port Pin Alternate Functions
PB0
OC0 (Timer/Counter0 Compare Match Output)/T0 (Timer/Counter0 External
Counter Input)
PB1
OC2 (Timer/Counter2 Compare Match Output)/T1 (Timer/Counter1 External
Counter Input)
PB2 RXD1 (UART1 Input Line)/AIN0 (Analog Comparator Positive Input)
PB3 TXD1 (UART1 Output Line)/AIN1 (Analog Comparator Negative Input)
PB4 SS
(SPI Slave Select Input)
PB5 MOSI (SPI Bus Master Output/Slave Input)
PB6 MISO (SPI Bus Master Input/Slave Output)
PB7 SCK (SPI Bus Serial Clock)
Bit 76543210
$18 ($38)
PORTB7 PORTB6 PORTB5 PORTB4 PORTB3 PORTB2 PORTB1 PORTB0 PORTB
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
InitialValue00000000
Bit 76543210
$17 ($37) DDB7 DDB6 DDB5 DDB4 DDB3 DDB2 DDB1 DDB0 DDRB
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
InitialValue00000000
Bit 76543210
$16 ($36) PINB7 PINB6 PINB5 PINB4 PINB3 PINB2 PINB1 PINB0 PINB
Read/Write R R R R R R R R
Initial Value N/A N/A N/A N/A N/A N/A N/A N/A
Vedere la pagina 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 158 159

Commenti su questo manuale

Nessun commento

Electrolux ESL66075R Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Nein Electrolux ESL66075R.
Wir stellen 1 PDF-Handbücher Electrolux ESL66075R zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Nein Electrolux

Modelle Dokumententyp
EW1232I Bedienungsanleitung   Electrolux EW1232I Manuali i perdoruesit, 25 Seiten
LAP16 Infoblatt   Electrolux LAP16 Information Sheet [fr] , 2 Seiten
ERB4045 Bedienungsanleitung Electrolux ERB4045 User Manual, 16 Seiten
EOB8851AAX Bedienungsanleitung   Electrolux EOB8851AAX Manual de utilizare, 28 Seiten
ESF6280 Bedienungsanleitung   Electrolux ESF6280 User Manual, 20 Seiten
WA3210 Bedienungsanleitung   ELECTROLUX LOISIRS WA3210 Manuel utilisateur, 9 Seiten
EWF8040W Bedienungsanleitung   Electrolux EWF8040W Ръководство за употреба, 23 Seiten
ESF45011 Bedienungsanleitung   Electrolux ESF45011 Руководство пользователя [sv] , 44 Seiten
EDC77570W Bedienungsanleitung   Electrolux EDC77570W Kullanım kılavuzu, 32 Seiten
EDC77550W Bedienungsanleitung   Electrolux EDC77550W Ohjekirja, 57 Seiten
WD42A96160 Bedienungsanleitung Electrolux WD42A96160 Brugermanual, 64 Seiten
EKK6050AOW Bedienungsanleitung Electrolux EKK6050AOW User Manual, 36 Seiten
ESI66010K Bedienungsanleitung   Electrolux ESI66010K Használati utasítás, 24 Seiten
EW1075F Bedienungsanleitung   Electrolux EW1075F Lietotāja rokasgrāmata [fr] , 21 Seiten
LAI1470E Bedienungsanleitung   Electrolux LAI1470E Manuale utente, 40 Seiten
EFT600/2 Bedienungsanleitung     Electrolux EFT600/2 User Manual [de] [en] [et] [fr] [nl] , 36 Seiten
EKC5611X Bedienungsanleitung    Electrolux EKC5611X User Manual [de] , 22 Seiten
EBSL7EEV Bedienungsanleitung   Electrolux EBSL7EEV Manuel utilisateur [ro] , 32 Seiten
RH430LD Bedienungsanleitung   Electrolux RH430LD Benutzerhandbuch, 16 Seiten
ESF6250X Bedienungsanleitung    Electrolux ESF6250X Ohjekirja [en] , 44 Seiten