| Electronic Components Datasheet Search |
|
PIC16F1933-E/P Datasheet(PDF) 273 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F1933-E/P Datasheet(HTML) 273 Page - Microchip Technology |
|
273 / 418 page ![]() © 2008 Microchip Technology Inc. Preliminary DS41364A-page 271 PIC16F193X/LF193X 21.12 Configuring the LCD Module The following is the sequence of steps to configure the LCD module. 1. Select the frame clock prescale using bits LP<3:0> of the LCDPS register. 2. Configure the appropriate pins to function as segment drivers using the LCDSEn registers. 3. Configure the LCD module for the following using the LCDCON register: - Multiplex and Bias mode, bits LMUX<1:0> - Timing source, bits CS<1:0> - Sleep mode, bit SLPEN 4. Write initial values to pixel data registers, LCDDATA0 through LCDDATA11 (LCDDATA23 on PIC16F1938). 5. Clear LCD Interrupt Flag, LCDIF bit of the PIR2 register and if desired, enable the interrupt by setting bit LCDIE of the PIE2 register. 6. Configure bias voltages by setting the LCDRL, LCDREF and the associated ANSELx registers as needed. 7. Enable the LCD module by setting bit LCDEN of the LCDCON register. 21.13 Disabling the LCD Module To disable the LCD module, write all ‘0’s to the LCDCON register. 21.14 LCD Current Consumption When using the LCD module the current consumption consists of the following three factors: • Oscillator Selection • LCD Bias Source • Capacitance of the LCD segments The current consumption of just the LCD module can be considered negligible compared to these other factors. 21.14.1 OSCILLATOR SELECTION The current consumed by the clock source selected must be considered when using the LCD module. See Section 28.0 “Electrical Specifications” for oscillator current consumption information. 21.14.2 LCD BIAS SOURCE The LCD bias source, internal or external, can contrib- ute significantly to the current consumption. Use the highest possible resistor values while maintaining contrast to minimize current. 21.14.3 CAPACITANCE OF THE LCD SEGMENTS The LCD segments which can be modeled as capaci- tors which must be both charged and discharged every frame. The size of the LCD segment and its technology determines the segment’s capacitance. |
|
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 |