数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STR720 数据表(PDF) 79 Page - STMicroelectronics

部件名 STR720
功能描述  ARM720T 16/32-BIT MCU WITH 16K RAM, USB, CAN, 3 TIMERS, ADC, 6 COMMUNICATIONS INTERFACES
PDF  401 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STR720 数据表(HTML) 79 Page - STMicroelectronics

Back Button STR720 Datasheet HTML 75Page - STMicroelectronics STR720 Datasheet HTML 76Page - STMicroelectronics STR720 Datasheet HTML 77Page - STMicroelectronics STR720 Datasheet HTML 78Page - STMicroelectronics STR720 Datasheet HTML 79Page - STMicroelectronics STR720 Datasheet HTML 80Page - STMicroelectronics STR720 Datasheet HTML 81Page - STMicroelectronics STR720 Datasheet HTML 82Page - STMicroelectronics STR720 Datasheet HTML 83Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 401 page
background image
STR720 - WAKE-UP INTERRUPT UNIT (WIU)
79/401
8.6 Programming considerations
The following paragraphs give some guidelines for the design of the application program.
8.6.1
Procedure for Entering/Exiting STOP mode
1
Program the polarity of the trigger event of external wake-up lines by writing register
WUTR.
2
Check that at least one mask bit (register WUMR) is equal to 1 (at least one external
wake-up line is not masked).
3
Reset at least the unmasked pending bits: this allows to generate a rising edge on the
Interrupt channel WUI_INT when the trigger event occurs (an interrupt is recognized
when a rising edge occurs).
4
Select the interrupt source of the channel (see description of INT_EN bit in the WUCTRL
register) and set the WKUP-INT bit.
Note
If clock line is chosen as wake-up event, it should be considered that as long as
clock source is active the corresponding pending bit will be seen at ‘1’.
Note
The change of PLL lock condition cannot be used as wake-up event. Selecting this
input as the only wake-up source will stuck the system so as only a reset event can
restore normal operations.
5
To generate an interrupt on the associated channel, set the related enable, mask and
priority bits in the interrupt controller.
6
Reset the STOP bit in register WUCTRL.
7
To enter STOP mode, write the sequence 1, 0, 1 on the STOP bit in the WUCTRL register
with three write operations. To reset the sequence it is sufficient to write twice a logic ‘0’ to
the STOP bit of WUCTRL register (corresponding anyway to a bad sequence). If the
sequence is not completed within 64 clock periods (system clock), a TIMEOUT expires
and reset the sequence. In this case the software shall re-enter the sequence (1, 0,1).
8
The code to be executed just after the STOP sequence must check the STOP bit status to
determine if the device entered STOP mode or not (See “Wake-up Mode Selection” on
page 72. for details). If the device did not enter in STOP mode it is necessary to re-loop
the procedure from the beginning, otherwise the procedure continues from next point (see
also section 25.4 on page 368).
9
Poll the wake-up pending bits to determine which wake-up line caused the exit from STOP
mode.
10 Clear the wake-up pending bit that was set.
1



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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