| поискавой системы для электроныых деталей |
|
PIC16C925-S/CL датащи(PDF) 96 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C925-S/CL датащи(HTML) 96 Page - Microchip Technology |
|
96 / 182 page ![]() PIC16C925/926 DS39544A-page 94 Preliminary 2001 Microchip Technology Inc. 11.4.1 SEGMENT ENABLES The LCDSE register is used to select the pin function for groups of pins. The selection allows each group of pins to operate as either LCD drivers or digital only pins. To configure the pins as a digital port, the corre- sponding bits in the LCDSE register must be cleared. If the pin is a digital I/O the corresponding TRIS bit con- trols the data direction. Any bit set in the LCDSE regis- ter overrides any bit settings in the corresponding TRIS register. EXAMPLE 11-1: STATIC MUX WITH 32 SEGMENTS EXAMPLE 11-2: ONE-THIRD DUTY CYCLE WITH 13 SEGMENTS REGISTER 11-4: LCDSE REGISTER (ADDRESS 10Dh) Note 1: On a Power-on Reset, these pins are configured as LCD drivers. 2: The LMUX1:LMUX0 takes precedence over the LCDSE bit settings for pins RD7, RD6 and RD5. BCF STATUS,RP0 ;Select Bank 2 BSF STATUS,RP1 ; BCF LCDCON,LMUX1 ;Select Static MUX BCF LCDCON,LMUX0 ; MOVLW 0xFF ;Make PortD,E,F,G MOVWF LCDSE ;LCD pins . . . ;configure rest of LCD BCF STATUS,RP0 ;Select Bank 2 BSF STATUS,RP1 ; BSF LCDCON,LMUX1 ;Select 1/3 MUX BCF LCDCON,LMUX0 ; MOVLW 0x87 ;Make PORTD<7:0> & MOVWF LCDSE ;PORTE<6:0> LCD pins . . . ;configure rest of LCD R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 SE29 SE27 SE20 SE16 SE12 SE9 SE5 SE0 bit 7 bit 0 bit 7 SE29: Pin Function Select RD7/COM1/SEG31 - RD5/COM3/SEG29 1 = Pins have LCD drive function 0 = Pins have digital Input function bit 6 SE27: Pin Function Select RG7/SEG28 and RE7/SEG27 1 = Pins have LCD drive function 0 = Pins have LCD drive function bit 5 SE20: Pin Function Select RG6/SEG26 - RG0/SEG20 1 = Pins have LCD drive function 0 = Pins have digital Input function bit 4 SE16: Pin Function Select RF7/SEG19 - RF4/SEG16 1 = Pins have LCD drive function 0 = Pins have digital Input function bit 3 SE12: Pin Function Select RF3/SEG15 - RF0/SEG12 1 = Pins have LCD drive function 0 = Pins have digital Input function bit 2 SE9: Pin Function Select RE6/SEG11 - RE4/SEG09 1 = Pins have LCD drive function 0 = Pins have digital Input function bit 1 SE5: Pin Function Select RE3/SEG08 - RE0/SEG05 1 = Pins have LCD drive function 0 = Pins have digital Input function bit 0 SE0: Pin Function Select RD4/SEG04 - RD0/SEG00 1 = Pins have LCD drive function 0 = Pins have digital Input function Legend: R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ - n = Value at POR ’1’ = Bit is set ’0’ = Bit is cleared x = Bit is unknown |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |