| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AT90LS2323-4SC bảng dữ liệu(PDF) 36 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT90LS2323-4SC bảng dữ liệu(HTML) 36 Page - ATMEL Corporation |
|
36 / 64 page ![]() 36 AT90S/LS2323/2343 1004D–09/01 Port B Input Pins Address – PINB The Port B Input Pins address (PINB) is not a register and 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. Port B as General Digital I/O All pins in port B have equal functionality when used as digital I/O pins. PBn, general I/O pin: The DDBn bit in the DDRB register selects the direction of this pin, if DDBn is set (one), PBn is configured as an output pin. If DDBn is cleared (zero), PBn is configured as an input pin. If PORTBn is set (one) when the pin is configured as an input pin, the MOS pull-up resistor is activated. To switch the pull-up resistor off, the PORTBn has to be cleared (zero) or the pin has to be configured as an output pin. The port pins are tri-stated when a reset condition becomes active, even if the clock is not running. Alternate Functions of Port B The alternate pin functions of Port B are as follows: • CLOCK – Port B, Bit 3 Clock input: AT90S/LS2343 only. When the RCEN fuse is programmed and the device runs from the internal RC oscillator, this pin is a general I/O pin. When the RCEN fuse is unprogrammed, an external clock source must be connected to CLOCK. • SCK/T0 – Port B, Bit 2 In Serial Programming mode, this bit serves as the serial clock input, SCK. During normal operation, this pin can serve as the external counter clock input. See the timer/counter description for further details. If external timer/counter clocking is selected, activity on this pin will clock the counter even if it is configured as an output. • MISO/INT0 – Port B, Bit 1 In Serial Programming mode, this bit serves as the serial data output, MISO. During normal operation, this pin can serve as the external interrupt0 input. See the interrupt description for details on how to enable this interrupt. Note that activity on this pin will trigger the interrupt even if the pin is configured as an output. • MOSI – Port B, Bit 0 In Serial Programming mode, this pin serves as the serial data input, MOSI. Bit 7 65 43 21 0 $16 ($36) –– – PINB4 PINB3 PINB2 PINB1 PINB0 PINB Read/Write RR RR RR RR Initial Value 0 0 0 N/A N/A N/A N/A N/A Table 13. DDBn Effects on Port B Pins DDBn PORTBn I/O Pull-up Comment 0 0 Input No Tri-state (high-Z) 0 1 Input Yes PBn will source current if ext. pulled low 1 0 Output No Push-pull Zero Output 1 1 Output No Push-pull One Output |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |