| поискавой системы для электроныых деталей |
|
ST52F510 датащи(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52F510 датащи(HTML) 43 Page - STMicroelectronics |
|
43 / 106 page ![]() ST52F510/F513/F514 43/106 Low Priority Register (INT_PRL_L) Configuration Register 4 (04h) Read/Write Reset Value: 1000 1000 (088h) These three register are used to configure the priority level of each interrupt source. The 24 bits of these registers (PRL24-PRL0) are divided into 8 groups of three bits: each group is associated with a priority level (from level 1, the highest, to level 8, the lowest: level 0 is fixed for the NMI that can be interrupted only by the TRAP) . The three bits of each group are written with the code number associated with the interrupt source (see Table 5.1). PRL2-PRL1: Interrupt priority level 1 (highest) PRL5-PRL3: Interrupt priority level 2 PRL8-PRL6: Interrupt priority level 3 PRL11-PRL9:Interrupt priority level 4 PRL14-PRL12: Interrupt priority level 5 PRL17-PRL15: Interrupt priority level 6 PRL20-PRL18: Interrupt prioritylevel 7 PRL23-PRL21: Interrupt priority level 8 (lowest) Example: writing the code 110 into PRL8-PRL6 bits the priority level 3 is assigned to the Port A Interrupt. Warning: the Priority Level configuration registers must be always configured. 70 PRL7 PRL6 PRL5 PRL4 PRL3 PRL2 PRL1 PRL0 Table 5.1 Interrupt sources paramethers Interrupt Source Priority type PRL code RINT code Maskable Vector Addresses A/D Converter Programmable 000 0 Yes 3-5 (03h-05h) PWM/Timer 0 Programmable 001 1 Yes 6-8 (06h-08h) PWM/Timer 1 Programmable 010 2 Yes 9-11 (09h-0Bh) SCI Programmable 011 3 Yes 12-14 (0Ch-0Eh) SPI Programmable 100 4 Yes 15-17 (0Fh-011h) I2C Interface Programmable 101 5 Yes 18-20 (012h-014h) Port A Programmable 110 6 Yes 21-23 (015h-017h) Port B Programmable 111 7 Yes 24-26 (018h-01Ah) NMI Fixed - 8 No 27-29 (01Bh-01Dh) TRAP Fixed to highest - - No 30-32 (01Eh-020h) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |