Rainbow-electronics Atmega169L Instrukcja Użytkownika Strona 58

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 317
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 57
58
ATmega169V/L
2514AAVR08/02
Alternate Functions of Port B The Port B pins with alternate functions are shown in Table 29.
The alternate pin configuration is as follows:
OC2A/PCINT15, Bit 7
OC2, Output Compare Match A output: The PB7 pin can serve as an external output for
the Timer/Counter2 Output Compare A. The pin has to be configured as an output
(DDB7 set (one)) to serve this function. The OC2A pin is also the output pin for the PWM
mode timer function.
PCINT15, Pin Change Interrupt source 15: The PB7 pin can serve as an external inter-
rupt source.
Table 28. Overriding Signals for Alternate Functions in PA3..PA0
Signal Name PA3/COM3 PA2/COM2 PA1/COM1 PA0/COM0
PUOE LCDEN
(LCDMUX>2)
LCDEN
(LCDMUX>1)
LCDEN
(LCDMUX>0)
LCDEN
PUOV0000
DDOE LCDEN
(LCDMUX>2)
LCDEN
(LCDMUX>1)
LCDEN
(LCDMUX>0)
LCDEN
DDOV0000
PVOE0000
PVOV0000
PTOE ––––
DIEOE LCDEN
(LCDMUX>2)
LCDEN
(LCDMUX>1)
LCDEN
(LCDMUX>0)
LCDEN
DIEOV0000
DI ––––
AIO COM3 COM2 COM1 COM0
Table 29. Port B Pins Alternate Functions
Port Pin Alternate Functions
PB7
OC2A/PCINT15 (Output Compare and PWM Output A for Timer/Counter2 or Pin
Change Interrupt15).
PB6
OC1B/PCINT14 (Output Compare and PWM Output B for Timer/Counter1 or Pin
Change Interrupt14).
PB5
OC1A/PCINT13 (Output Compare and PWM Output A for Timer/Counter1 or Pin
Change Interrupt13).
PB4
OC0A/PCINT12 (Output Compare and PWM Output A for Timer/Counter0 or Pin
Change Interrupt12).
PB3 MISO/PCINT11 (SPI Bus Master Input/Slave Output or Pin Change Interrupt11).
PB2 MOSI/PCINT10 (SPI Bus Master Output/Slave Input or Pin Change Interrupt10).
PB1 SCK/PCINT9 (SPI Bus Serial Clock or Pin Change Interrupt9).
PB0 SS
/PCINT8 (SPI Slave Select input or Pin Change Interrupt8).
Przeglądanie stron 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 316 317

Komentarze do niniejszej Instrukcji

Brak uwag