전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

ST52T400 데이터시트(PDF) 38 Page - STMicroelectronics

부품명 ST52T400
상세설명  8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST52T400 데이터시트(HTML) 38 Page - STMicroelectronics

Back Button ST52T400 Datasheet HTML 34Page - STMicroelectronics ST52T400 Datasheet HTML 35Page - STMicroelectronics ST52T400 Datasheet HTML 36Page - STMicroelectronics ST52T400 Datasheet HTML 37Page - STMicroelectronics ST52T400 Datasheet HTML 38Page - STMicroelectronics ST52T400 Datasheet HTML 39Page - STMicroelectronics ST52T400 Datasheet HTML 40Page - STMicroelectronics ST52T400 Datasheet HTML 41Page - STMicroelectronics ST52T400 Datasheet HTML 42Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 94 page
background image
ST52T400/T440/E440/T441
38/94
4.2 Global Interrupt Request Enabling
When an Interrupt occurs, it generates a Global
Interrupt Pending (GIP), which can be masked by
software. After a GIP, a Global Interrupt Request
(GIR) will be generated and an Interrupt Service
Routine associated to the interrupt with higher pri-
ority will start. In order to avoid possible conflicts
between interrupt masking set in the main pro-
gram, or inside macros, the GIP is masked
through the User Global Interrupt Mask or the
Macro Global Interrupt Mask (see Figure 4.3).
UEGI/UDGI instruction switches the User Global
Interrupt Mask on/off, enabling/disabling the GIR
for the main program.
MEGI/MDGI instructions switches the Macro Glo-
bal Interrupt Mask on/off in order to ensure that
the macro will not be broken.
4.3 Interrupt Sources
ST52x400/440/441
manages
interrupt
signals
generated by the internal peripherals (PWM/
TIMER, TRIAC Driver and Analog Comparator) or
deriving from the External Interrupt on pin PA7.
The External Interrupt can be programmed to be
active on the rising or falling edge of INT/PA7 sig-
nal by setting the PEXTINT bit of the Configura-
tion Register to 0.
WARNING:
Changing the interrupt priority an
interrupt request is generated.
Each peripheral can be programmed in order to
generate the associated interrupt; further details
are described in the related chapter.Configuration
Register 0 is also used to enable/disable the
Brown-Out (see the related chapter).
4.4 Interrupt Maskability
The interrupts can be masked by configuring the
Configuration Register 0 by means of an LDCR or
an LDCE instruction. The interrupt is enabled
when the bit associated to the mask interrupt is
“1". Viceversa, when the bit is ”0", the interrupt is
masked and is kept pending.
For example:
LDRC
10,6
(loads the constant 6 in the RAM
Register 10)
LDCR
0,10
(sets REG_CONF0 with the value
stored in RAM Register 10)
the result is REG_CONF0=00000110, enabling
the interrupts coming from the Analog Comparator
(INT_AC) and from the PWM/TIMER (INT_PWM/
TIMER).
Reset Configuration ‘00000000’
Table 4.1 Configuration Register 0
Description
Bit
Name
Value
Description
0
MSKE
0
External Interrupt
Masked
1
External Interrupt
Not Masked
1
MSKAC(*)
0
Analog
Comparator
Interrupt
Masked
1
Analog
Comparator
Interrupt Not
Masked
2
MSKTM
0
PWM/TIMER
Interrupt
Masked
1
PWM/TIMER
Interrupt
Not Masked
3
MSKTRF
0
TRIAC Falling
Edge Interrupt
1
TRIAC Falling
Edge Interrupt
Not Masked
4
MSKTRR
0
TRIAC Rising
Edge Interrupt
Masked
1
TRIAC Rising
Edge Interrupt
Not Masked
5
MSKTRP
0
TRIAC Pulse
Interrupt Masked
1
TRIAC Pulse
Interrupt Not
Masked
6
PEXTINT
0
External
Interrupt active
on Rising Edge
1
External
Interrupt active
on Falling Edge
7
MSKBR
0
Brown-Out
Disabled
1
Brown-Out
Enabled
(*) Not Used in ST52x400 devices



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


데이터시트 다운로드

Go To PDF Page


링크 URL



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