Rainbow-electronics ATmega128RFA1 Manual de usuario Pagina 193

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 524
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 192
193
8266A-MCU Wireless-12/09
ATmega128RFA1
Table 14-3. Port B Pins Alternate Functions
Port Pin Alternate Functions
PB7 OC0A/OC1C/PCINT7 (Output Compare and PWM Output A for
Timer/Counter0, Output Compare and PWM Output C for Timer/Counter1 or
Pin Change Interrupt 7)
PB6 OC1B/PCINT6 (Output Compare and PWM Output B for Timer/Counter1 or
Pin Change Interrupt 6)
PB5 OC1A/PCINT5 (Output Compare and PWM Output A for Timer/Counter1 or
Pin Change Interrupt 5)
PB4 OC2A/PCINT4 (Output Compare and PWM Output A for Timer/Counter2 or
Pin Change Interrupt 4)
PB3 MISO/PDO/PCINT3 (SPI Bus Master Input/Slave Output, Programming Data
Output or Pin Change Interrupt 3)
PB2 MOSI/PDI/PCINT2 (SPI Bus Master Output/Slave Input , Programming Data
Input or Pin Change Interrupt 2)
PB1 SCK/PCINT1 (SPI Bus Serial Clock or Pin Change Interrupt 1)
PB0 SS¯ ¯ /PCINT0 (SPI Slave Select input or Pin Change Interrupt 0)
The alternate pin configuration is as follows:
OC0A/OC1C/PCINT7, Bit 7
OC0A, Output Compare Match A output: The PB7 pin can serve as an external output
for the Timer/Counter0 Output Compare. The pin has to be configured as an output
(DDB7 set “one”) to serve this function. The OC0A pin is also the output pin for the
PWM mode timer function.
OC1C, Output Compare Match C output: The PB7 pin can serve as an external output
for the Timer/Counter1 Output Compare C. The pin has to be configured as an output
(DDB7 set (one)) to serve this function. The OC1C pin is also the output pin for the
PWM mode timer function.
PCINT7, Pin Change Interrupt source 7: The PB7 pin can serve as an external interrupt
source.
OC1B/PCINT6, Bit 6
OC1B, Output Compare Match B output: The PB6 pin can serve as an external output
for the Timer/Counter1 Output Compare B. The pin has to be configured as an output
(DDB6 set (one)) to serve this function. The OC1B pin is also the output pin for the
PWM mode timer function.
PCINT6, Pin Change Interrupt source 6: The PB6 pin can serve as an external interrupt
sourceOC1A, Output Compare Match A output: The PB5 pin can serve as an external
output for the Timer/Counter1 Output Compare A. The pin has to be configured as an
output (DDB5 set (one)) to serve this function. The OC1A pin is also the output pin for
the PWM mode timer function.
PCINT5, Pin Change Interrupt source 5: The PB5 pin can serve as an external interrupt
source.
OC2A/PCINT4, Bit 4
OC2A, Output Compare Match output: The PB4 pin can serve as an external output for
the Timer/Counter2 Output Compare. The pin has to be configured as an output (DDB4
set (one)) to serve this function. The OC2A pin is also the output pin for the PWM mode
timer function.
Vista de pagina 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 523 524

Comentarios a estos manuales

Sin comentarios