| Electronic Components Datasheet Search |
|
ST52X420 Datasheet(PDF) 31 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52X420 Datasheet(HTML) 31 Page - STMicroelectronics |
|
31 / 84 page ![]() ST52T410/ST52T420/E420 31/84 Figure 4.5 Interrupt Configuration Register 1 4.5 Interrupt Priority Six priority levels are available: level 5 has the lowest priority, level 0 has the highest priority. Level 5 is associated to the Main Program, levels 4 to 1 are programmable by means of the priority registers called REG_CONF1 (see Figure 4.5 and Table 4.3); whereas the higher level is related to the external interrupt (INT_EXT). PWM/Timers and ADC are identified by a two-bit Peripheral Codes (see Table 4.2); in order to set the i-th priority level the user must write the peripheral label i in the related INTi priority level. i.e. LDRC 10, 201 //(load the value 201=’11001001’ in the RAM Register 10) LDCR 1, 10 // set the REG_CONF1= ‘11001001’ The following priority levels are defined: I Level 1: INT_PWM/TIMER0 (PWM/TIMER 0 Code: 01) I Level 2: INT_PWM/TIMER0 (PWM/TIMER 1 Code: 10) I Level 3: INT_ADC (ADC Code: 00) (ST52x420 only) I Level 4: INT_PWM/TIMER0 (PWM/TIMER 2 Code: 11) Table 4.3 Conf. Register 1 Bit Name Value Level 0, 1 INT1 Peripheral Code High 2,3 INT2 Peripheral Code Medium-High 4,5 INT3 Peripheral Code Medium-Low 7 0 REG_CONF 1 PRIORITY HIGH PRIORITY MED. HIGH PRIORITY MED. LOW PRIORITY LOW LOW LOW MEDL MEDL MEDH HIGH HIGH MEDH |
|
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 |
| 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 |