| Electronic Components Datasheet Search |
|
PIC16C781 Datasheet(PDF) 67 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C781 Datasheet(HTML) 67 Page - Microchip Technology |
|
67 / 186 page ![]() 2001 Microchip Technology Inc. Preliminary DS41171A-page 65 PIC16C781/782 If another module has enabled the bandgap, then the reference will be stable when the PLVD module is enabled and the BGST flag can be ignored. However, if the bandgap has not been previously enabled, the LVDIF bit will not be valid until the BGST bit is set (see Figure 8-3). Systems using the PLVD interrupt should not enable the interrupt until after the reference is sta- ble to prevent spurious interrupts. 8.2.1 SETTING UP THE PLVD MODULE The following steps are needed to set up the PLVD Module: 1. Write the value to the LV3:LV0 bits (LVDCON register), which selects the desired PLVD Trip Point. 2. Ensure that PLVD interrupts are disabled (the LVDIE bit is cleared, or the GIE bit is cleared). 3. Enable the PLVD module (set the LVDEN bit in the LVDCON register). 4. Wait for the PLVD module to stabilize (the BGST bit to become set). 5. Clear the PLVD interrupt flag, which may have falsely become set until the PLVD module has stabilized (clear the LVDIF bit). 6. Enable the PLVD interrupt (set the LVDIE and the GIE bits). FIGURE 8-3: LOW VOLTAGE DETECT WAVEFORMS . VLVD VDD LVDIF VLVD VDD Enable LVD Internally Generated LVDIF may not be set Enable LVD LVDIF LVDIF cleared in software LVDIF cleared in software CASE 1: CASE 2: Reference Stable Internally Generated Reference Stable Attempt to clear LVDIF in software but remains set as LVD condition still exists |
|
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 |