Electronic Components Datasheet Search
  English  ▼

X  

MEC1632 Datasheet(PDF) 134 Page - Microchip Technology

Part # MEC1632
Description  Low Power 32-Bit Mobile Embedded Controller
PDF  636 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MEC1632 Datasheet(HTML) 134 Page - Microchip Technology

Back Button MEC1632 Datasheet HTML 130Page - Microchip Technology MEC1632 Datasheet HTML 131Page - Microchip Technology MEC1632 Datasheet HTML 132Page - Microchip Technology MEC1632 Datasheet HTML 133Page - Microchip Technology MEC1632 Datasheet HTML 134Page - Microchip Technology MEC1632 Datasheet HTML 135Page - Microchip Technology MEC1632 Datasheet HTML 136Page - Microchip Technology MEC1632 Datasheet HTML 137Page - Microchip Technology MEC1632 Datasheet HTML 138Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 134 / 636 page
background image
MEC1632
DS00001592B-page 134
 2012-2018 Microchip Technology Inc.
7.8.3
CLOCK CONTROL REGISTER
SLEEP_FLAG
The SLEEP_FLAG affects the system power state as described in Section 7.4.10.2, "EC Controlled Dynamic Power
States," on page 112. The SLEEP_FLAG is R/W. EC firmware asserts SLEEP_FLAG (‘1’), which is then typically de-
asserted (‘0’) by hardware as described in Section 7.4.10.6, "Wake Interface," on page 118.
APPLICATION NOTE:
Asserting the SLEEP_FLAG allows the device to be put into lower power states as described
in Section 7.4.10.2, "EC Controlled Dynamic Power States," on page 112
. If the main
oscillator is shut down as a result of asserting the SLEEP_FLAG, then only the enabled wake
capable interrupts can restart the oscillator and bring the part out of its sleep state. When
the main oscillator is shut down, non-wake capable interrupts cannot occur. As part of the
wake process, the SLEEP_FLAG is cleared by hardware, re-enabling all blocks by de-
asserting all the block SLEEP_ENABLE signals as described in Section 7.4.10.5.4, "Block
Sleep Enables".
The typical sequence to go to sleep is this:
disable_interrupts();
assert_all_sleep_enables();
CLOCK_CONTROL_REGISTER->SLEEP_FLAG = 1;
_SLEEP();
where the macro _SLEEP() both enables interrupts and issues the ARC sleep instruction.
However, if any interrupt, including non-Wake interrupts, occurs just before the
SLEEP_FLAG is asserted, it will remain pending and will fire as soon as the ARC issues the
sleep instruction. The SLEEP_FLAG will remain asserted, and therefore all blocks are kept
in the low power state by their respective SLEEP_ENABLE signals. As a result, an interrupt
service routine may not proceed properly because blocks that it must manipulate remain in
their idle state.
If a system uses the sleep interface then every Interrupt Service Routine must manually clear
the SLEEP_FLAG. This ensures that all blocks that are supposed to be active when the ISR
is in process will be active.
TABLE 7-40:
Clock Control Register
HOST ADDRESS
N/A
N/A HOST SIZE
EC OFFSET
0Ch
32-bit EC SIZE
POWER
VTR
04h nSYS_RST DEFAULT
BUS
EC SPB
BIT
D31
D30
D29
---
D10
D9
D8
HOST TYPE
––
–
–
–
–
–
–
EC TYPE
RRR
R
R
R
RR
BIT NAME
Reserved
BIT
D7D6D5
D4
D3
D2
D1
D0
HOST TYPE
––
–
–
–
–
–
–
EC TYPE
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
BIT NAME
SLEEP CONFIG
WAIT
FOR
LOCK
32KHz
OUTPUT
MCHP
Reserved
SLEEP_F
LAG
Reserved



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

Go To PDF Page


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


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
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com