| 전자부품 데이터시트 검색엔진 |
|
PIC16C925-S/CL 데이터시트(PDF) 36 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C925-S/CL 데이터시트(HTML) 36 Page - Microchip Technology |
|
36 / 182 page ![]() PIC16C925/926 DS39544A-page 34 Preliminary 2001 Microchip Technology Inc. 4.4 PORTD and TRISD Registers PORTD is an 8-bit port with Schmitt Trigger input buff- ers. The first five pins are configurable as general pur- pose I/O pins or LCD segment drivers. Pins RD5, RD6 and RD7 can be digital inputs, or LCD segment, or common drivers. TRISD controls the direction of pins RD0 through RD4 when PORTD is configured as a digital port. EXAMPLE 4-4: INITIALIZING PORTD FIGURE 4-6: PORTD <4:0> BLOCK DIAGRAM FIGURE 4-7: PORTD<7:5> BLOCK DIAGRAM Note 1: On a Power-on Reset, these pins are configured as LCD segment drivers. 2: To configure the pins as a digital port, the corresponding bits in the LCDSE register must be cleared. Any bit set in the LCDSE register overrides any bit settings in the corresponding TRIS register. BCF STATUS,RP0 ;Select Bank2 BSF STATUS,RP1 ; BCF LCDSE, SE29 ;Make RD<7:5> digital BCF LCDSE, SE0 ;Make RD<4:0> digital BSF STATUS,RP0 ;Select Bank1 BCF STATUS,RP1 ; MOVLW 0xE0 ;Make RD<4:0> outputs MOVWF TRISD ;Make RD<7:5> inputs Data WR WR RD Data Latch TRIS Latch Schmitt Trigger Input Buffer Q D CK Q D CK EN Q D EN I/O pin RD LCD LCD LCD Segment Segment Data Output Enable Port TRIS Port TRIS SE<n> Bus RD Port Schmitt Trigger Input Buffer EN QD EN Digital Input/ LCDSE<n> LCD LCD Segment LCD Output pin LCD LCD Common Data Bus RD TRIS VDD Segment Data Output Enable Common Data Output Enable |
|
링크 URL |
| 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 |