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

X  

ST52T400 数据表(PDF) 40 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
标志 STMICROELECTRONICS - STMicroelectronics

ST52T400 数据表(HTML) 40 Page - STMicroelectronics

Back Button 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 ST52T400 Datasheet HTML 43Page - STMicroelectronics ST52T400 Datasheet HTML 44Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 94 page
background image
ST52T400/T440/E440/T441
40/94
4.5 Interrupt Priority
Seven priority levels are available: level 6 has the
lowest priority, level 0 has the highest priority.
Level 6 is associated to the Main Program, levels
5 to 1 are programmable by means of the priority
registers
called
REG_CONF17
and
REG_CONF18; whereas the higher level is
related to the External Interrupt (INT_EXT).
PWM/Timer, TRIAC/PWM and Analog Block are
identified by a three-bit Peripheral Code (see
Table 4.2); in order to set the
i-th priority level the
user must write the peripheral label
i in the related
INT
i priority level.
For instance:
LDRC 10,193
(loads the value 193=’11000001’
in the RAM Register 10)
LDRC 11,168
(loads the value 168=’10101000’
in the RAM Register 11)
LDCR 17,10
(REG_CONF17= ‘11000001’)
LDCR 18,11
(REG_CONF18= ‘10101000’)
thus defining the following priority levels:
s
Level 1: INT_PWM/TIMER (PWM/TIMER Code:
001)
s
Level 2: INT_ADC (ADC Code: 000)
s
Level 3: INT_TRIAC/PWM_R (TRIAC/PWM
Code: 011)
s
Level 4: INT_TRIAC/Ph (TRIAC/Ph Code: 100)
s
Level 5: INT_TRIAC/PWM_F (TRIAC/PWM_F
Code: 010)
REMARK:
The Interrupt priority must be set at the
beginning of the main program, because at the
RESET REG_CONF1=’00000000’, this condition
could
generate
wrong
operations.
Further,
changing the priority levels must be avoided in
interrupt service routines.
When a source provides an Interrupt request, and
the request processing is also enabled, the CU
changes the normal sequential flow of a program
by transferring program control to a selected ser-
vice routine.
When an interrupt occurs the CU executes a
JUMP instruction to the address loaded in the
related location of the Interrupt Vector and the
flags are saved.
When the execution returns to the original pro-
Figure 4.5 Interrupt Configuration Registers 17 and 18
D0
D1
D2
D3
D4
D5
D6
D7
INT 1
Not Used
INT 2
REG_CONF17
Interrupts Priority
D8
D9
D10
D11
D12
D13
D14
D15
REG_CONF18
INT 3
INT 5
INT 4
Table 4.3 Conf. Registers 17-18 Description
Bit
Name
Value
Level
0, 1, 2
INT1
Peripheral
High
3, 4, 5
INT2
Peripheral
MediumHigh
6, 7, 8
INT4
Peripheral
MediumLow
9, 10, 11
INT5
Peripheral
Low
12, 13,
INT6
Peripheral
Very Low



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


链接网址



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