| Electronic Components Datasheet Search |
|
PIC16F946-E/MLQTP Datasheet(PDF) 151 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F946-E/MLQTP Datasheet(HTML) 151 Page - Microchip Technology |
|
151 / 330 page ![]() © 2007 Microchip Technology Inc. DS41250F-page 149 PIC16F913/914/916/917/946 10.4 LCD Multiplex Types The LCD driver module can be configured into one of four multiplex types: • Static (only COM0 is used) • 1/2 multiplex (COM<1:0> are used) • 1/3 multiplex (COM<2:0> are used) • 1/4 multiplex (COM<3:0> are used) The LMUX<1:0> bit setting of the LCDCON register decides the function of RB5, RA2 or either RA3 or RD0 pins (see Table 10-2 for details). If the pin is a digital I/O, the corresponding TRIS bit controls the data direction. If the pin is a COM drive, then the TRIS setting of that pin is overridden. TABLE 10-2: RA3/RD0, RA2, RB5 FUNCTION 10.5 Segment Enables The LCDSEn registers are used to select the pin function for each segment pin. The selection allows each pin to operate as either an LCD segment driver or as one of the pin’s alternate functions. To configure the pin as a segment pin, the corresponding bits in the LCDSEn registers must be set to ‘1’. If the pin is a digital I/O, the corresponding TRIS bit controls the data direction. Any bit set in the LCDSEn registers overrides any bit settings in the corresponding TRIS register. 10.6 Pixel Control The LCDDATAx registers contain bits which define the state of each pixel. Each bit defines one unique pixel. Register 10-4 shows the correlation of each bit in the LCDDATAx registers to the respective common and segment signals. Any LCD pixel location not being used for display can be used as general purpose RAM. 10.7 LCD Frame Frequency The rate at which the COM and SEG outputs change is called the LCD frame frequency. TABLE 10-3: FRAME FREQUENCY FORMULAS TABLE 10-4: APPROXIMATE FRAME FREQUENCY (IN Hz) USING FOSC @ 8 MHz, TIMER1 @ 32.768 kHz OR LFINTOSC Note: On a Power-on Reset, the LMUX<1:0> bits of the LCDCON register are ‘11’. Multiplex LMUX <1:0> RA3/RD0(1) RA2 RB5 Static 00 Digital I/O Digital I/O Digital I/O 1/2 01 Digital I/O Digital I/O COM1 Driver 1/3 10 Digital I/O COM2 Driver COM1 Driver 1/4 11 COM3 Driver COM2 Driver COM1 Driver Note 1: RA3 for PIC16F913/916, RD0 for PIC16F914/917 and PIC16F946 Note: On a Power-on Reset, these pins are configured as digital I/O. Multiplex Frame Frequency = Static Clock source/(4 x 1 x (LP<3:0> + 1)) 1/2 Clock source/(2 x 2 x (LP<3:0> + 1)) 1/3 Clock source/(1 x 3 x (LP<3:0> + 1)) 1/4 Clock source/(1 x 4 x (LP<3:0> + 1)) Note: Clock source is FOSC/8192, T1OSC/32 or LFINTOSC/32. LP<3:0> Static 1/2 1/3 1/4 285 85 114 85 364 64 85 64 451 51 68 51 543 43 57 43 637 37 49 37 732 32 43 32 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |