| Electronic Components Datasheet Search |
|
PIC16F946-E/MLQTP Datasheet(PDF) 167 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F946-E/MLQTP Datasheet(HTML) 167 Page - Microchip Technology |
|
167 / 330 page ![]() © 2007 Microchip Technology Inc. DS41250F-page 165 PIC16F913/914/916/917/946 10.10 Operation During Sleep The LCD module can operate during Sleep. The selection is controlled by bit SLPEN of the LCDCON register. Setting the SLPEN bit allows the LCD module to go to Sleep. Clearing the SLPEN bit allows the module to continue to operate during Sleep. If a SLEEP instruction is executed and SLPEN = 1, the LCD module will cease all functions and go into a very low-current Consumption mode. The module will stop operation immediately and drive the minimum LCD voltage on both segment and common lines. Figure 10-18 shows this operation. To ensure that no DC component is introduced on the panel, the SLEEP instruction should be executed immediately after a LCD frame boundary. For Type-B multiplex (non-static), the LCD interrupt can be used to determine the frame boundary. See Section 10.9 “LCD Interrupts” for the formulas to calculate the delay. In all other modes, the LCDA bit can be used to determine when the display is active. To use this method, the following sequence should be used when wanting to enter into Sleep mode: • Clear LCDEN • Wait for LCDA to clear • Drive all LCD pins to inactive state using PORT and TRIS registers • Execute SLEEP instruction If a SLEEP instruction is executed and SLPEN = 0, the module will continue to display the current contents of the LCDDATA registers. To allow the module to continue operation while in Sleep, the clock source must be either the LFINTOSC or T1OSC external oscillator. While in Sleep, the LCD data cannot be changed. The LCD module current consumption will not decrease in this mode; however, the overall consumption of the device will be lower due to shut down of the core and other peripheral functions. Table 10-5 shows the status of the LCD module during a Sleep while using each of the three available clock sources: TABLE 10-5: LCD MODULE STATUS DURING SLEEP If LCD interrupts are being generated (Type-B wave- form with a multiplex mode not static) and LCDIE = 1, the device will awaken from Sleep on the next frame boundary. Note: When the LCDEN bit is cleared, the LCD module will be disabled at the completion of frame. At this time, the PORT pins will revert to digital functionality. To minimize power consumption due to floating digital inputs, the LCD pins should be driven low using the PORT and TRIS registers. Clock Source SLPEN Operation During Sleep? T1OSC 0 Yes 1 No LFINTOSC 0 Yes 1 No FOSC/4 0 No 1 No Note: The LFINTOSC or external T1OSC oscillator must be used to operate the LCD module during Sleep. |
|
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 |