Electronic Components Datasheet Search
  English  ▼

Delete All
ON OFF
ALLDATASHEET.COM

X  

Preview PDF HTML

PIC18LF26J53 Datasheet(PDF) 61 Page - Microchip Technology

Part No. PIC18LF26J53
Description  28/44-Pin, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Download  586 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Maker  MICROCHIP [Microchip Technology]
Homepage  http://www.microchip.com
Logo 

PIC18LF26J53 Datasheet(HTML) 61 Page - Microchip Technology

Zoom Inzoom in Zoom Outzoom out
 61 / 586 page
background image
 2010 Microchip Technology Inc.
Preliminary
DS39964B-page 61
PIC18F47J53 FAMILY
4.7
Ultra Low-Power Wake-up
The Ultra Low-Power Wake-up (ULPWU) on RA0 allows
a slow falling voltage to generate an interrupt-on-change
without excess current consumption.
Follow these steps to use this feature:
1.
Configure a remappable output pin to output the
ULPOUT signal.
2.
Map an INTx interrupt-on-change input function to
the same pin as used for the ULPOUT output func-
tion. Alternatively, in step 1, configure ULPOUT to
output onto a PORTB interrupt-on-change pin.
3.
Charge the capacitor on RA0 by configuring the
RA0 pin to an output and setting it to ‘1’.
4.
Enable interrupt-on-change (PIE bit) for the
corresponding pin selected in step 2.
5.
Stop charging the capacitor by configuring RA0
as an input.
6.
Discharge the capacitor by setting the ULPEN
and ULPSINK bits in the WDTCON register.
7.
Configure Sleep mode.
8.
Enter Sleep mode.
When the voltage on RA0 drops below VIL, an interrupt
will be generated, which will cause the device to
wake-up and execute the next instruction.
This feature provides a low-power technique for
periodically waking up the device from Sleep mode.
The time-out is dependent on the discharge time of the
RC circuit on RA0.
When the ULPWU module causes the device to
wake-up from Sleep mode, the ULPLVL (WDTCON<5>)
bit is set. When the ULPWU module causes the device
to
wake-up
from
Deep
Sleep,
the
DSULP
(DSWAKEL<5>) bit is set. Software can check these bits
upon wake-up to determine the wake-up source. Also in
Sleep mode, only the remappable output function,
ULPWU, will output this bit value to an RPn pin for
externally detecting wake-up events.
See Example 4-1 for initializing the ULPWU module.
Note:
For module related bit definitions, see the
WDTCON
register
in
Section 28.2
“Watchdog Timer (WDT)” and the
DSWAKEL register (Register 4-6).


Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99  100   ...More


Datasheet Download




Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Alldatasheet API   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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