| 数据搜索系统,热门电子元器件搜索 |
|
PIC16C925/CL 数据表(PDF) 40 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C925/CL 数据表(HTML) 40 Page - Microchip Technology |
|
40 / 182 page ![]() PIC16C925/926 DS39544A-page 38 Preliminary 2001 Microchip Technology Inc. 4.7 PORTG and TRISG Register PORTG is a digital input only port. Each pin is multi- plexed with an LCD segment driver. These pins have Schmitt Trigger input buffers. EXAMPLE 4-7: INITIALIZING PORTG FIGURE 4-9: PORTG BLOCK DIAGRAM TABLE 4-13: PORTG FUNCTIONS TABLE 4-14: SUMMARY OF REGISTERS ASSOCIATED WITH PORTG 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, SE27 ;Make all PORTG BCF LCDSE, SE20 ;and PORTE<7> ;digital inputs 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 Name Bit# Buffer Type Function RG0/SEG20 bit0 ST Digital input or Segment Driver20. RG1/SEG21 bit1 ST Digital input or Segment Driver21. RG2/SEG22 bit2 ST Digital input or Segment Driver22. RG3/SEG23 bit3 ST Digital input or Segment Driver23. RG4/SEG24 bit4 ST Digital input or Segment Driver24. RG5/SEG25 bit5 ST Digital input or Segment Driver25. RG6/SEG26 bit6 ST Digital input or Segment Driver26. RG7/SEG28 bit7 ST Digital input or Segment Driver28 (not available on 64-pin devices). Legend: ST = Schmitt Trigger input Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Value on Power-on Reset Value on all other RESETS 108h PORTG RG7 RG6 RG5 RG4 RG3 RG2 RG1 RG0 0000 0000 0000 0000 188h TRISG PORTG Data Direction Control Register 1111 1111 1111 1111 10Dh LCDSE SE29 SE27 SE20 SE16 SE12 SE9 SE5 SE0 1111 1111 1111 1111 Legend: Shaded cells are not used by PORTG. |
|
链接网址 |
| 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 |