| 数据搜索系统,热门电子元器件搜索 |
|
ATtiny5 数据表(PDF) 48 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATtiny5 数据表(HTML) 48 Page - ATMEL Corporation |
|
48 / 168 page ![]() 48 8127C–AVR–10/09 ATtiny4/5/9/10 10.3.1 Alternate Functions of Port B The Port B pins with alternate function are shown in Table 10-3 on page 48. • Port B, Bit 0 – ADC0/AIN0/OC0A/PCINT0/TPIDATA • ADC0: Analog to Digital Converter, Channel 0 (ATtiny5/10, only) • AIN0: Analog Comparator Positive Input. Configure the port pin as input with the internal pull- up switched off to avoid the digital port function from interfering with the function of the Analog Comparator. • OC0A, Output Compare Match output: The PB0 pin can serve as an external output for the Timer/Counter0 Compare Match A. The pin has to be configured as an output (DDB0 set (one)) to serve this function. This is also the output pin for the PWM mode timer function. • PCINT0: Pin Change Interrupt source 0. The PB0 pin can serve as an external interrupt source for pin change interrupt 0. • TPIDATA: Serial Programming Data. • Port B, Bit 1 – ADC1/AIN1/CLKI/ICP0/OC0B/PCINT1/TPICLK • ADC1: Analog to Digital Converter, Channel 1 (ATtiny5/10, only) • AIN1: Analog Comparator Negative Input. Configure the port pin as input with the internal pull-up switched off to avoid the digital port function from interfering with the function of the Analog Comparator. • CLKI: External Clock. • ICP0: Input Capture Pin. The PB1 pin can act as an Input Capture pin for Timer/Counter0. Table 10-3. Port B Pins Alternate Functions Port Pin Alternate Function PB0 ADC0: ADC Input Channel 0 AIN0: Analog Comparator, Positive Input OC0A: Timer/Counter0 Compare Match A Output PCINT0: Pin Change Interrupt 0, Source 0 TPIDATA:Serial Programming Data PB1 ADC1: ADC Input Channel 1 AIN1: Analog Comparator, Negative Input CLKI: External Clock ICP0: Timer/Counter0 Input Capture Input OC0B: Timer/Counter0 Compare Match B Output PCINT1:Pin Change Interrupt 0, Source 1 TPICLK: Serial Programming Clock PB2 ADC2: ADC Input Channel 2 CLKO: System Clock Output INT0: External Interrupt 0 Source PCINT2: Pin Change Interrupt 0, Source 2 T0: Timer/Counter0 Clock Source PB3 ADC3: ADC Input Channel 3 PCINT3: Pin Change Interrupt 0, Source 3 RESET: Reset Pin |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |