| 전자부품 데이터시트 검색엔진 |
|
STR720RBQ6 데이터시트(PDF) 73 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STR720RBQ6 데이터시트(HTML) 73 Page - STMicroelectronics |
|
73 / 401 page ![]() STR720 - WAKE-UP INTERRUPT UNIT (WIU) 73/401 8.3.3 STOP Mode Entering Conditions Assuming the device is in Run mode, during the STOP bit setting sequence the following case may occur: Case 1: A wake-up event on the external wake-up lines occurs during the STOP bit setting sequence There are two possible cases: 1 Interrupt requests to the CPU are disabled: in this case the device will not enter STOP mode, no interrupt service routine will be executed and the program execution continues from the instruction following the STOP bit setting sequence. The status of STOP bit will be again: STOP = 0 The application can determine why the device did not enter STOP mode by polling the pending bits of the external lines (at least one must be at 1). 2 Interrupt requests to CPU are enabled: in this case the device will not enter STOP mode and the interrupt service routine will be executed. The status of STOP bit will be again: STOP = 0 The interrupt service routine can determine why the device did not enter STOP mode by polling the pending bits of external lines (at least one must be at 1). Case 2: wrong STOP bit setting sequence This can happen if an Interrupt request is acknowledged during the STOP bit setting sequence. In this case polling on STOP bit (WUCTRL register) will give: STOP = 0 This means that device did not enter STOP mode due to a bad STOP bit setting sequence: the user shall retry the entire sequence. Case 3: correct STOP bit setting sequence In this case the device enters STOP mode. The WKUP-INT bit can be used by an interrupt routine to detect and to distinguish events coming from Interrupt Mode or from Wake-up Mode, allowing the code to execute different procedures. To exit STOP mode, it is sufficient that one of the 16 wake-up lines (not masked) generates an event: the clock restarts after the delay needed for the oscillator to restart. Note: After exiting from STOP Mode, the software can successfully reset the pending bits (edge sensitive), even though the corresponding wake-up line is still active (high or low, depending on the Trigger Event register programming); the user must poll the external pin status to detect and distinguish a short event from a long one (for example a different key pushing time). 1 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |