| Electronic Components Datasheet Search |
|
VS1010D Datasheet(PDF) 39 Page - VLSI Solution Oy |
|
|
|||||||||||||||||||||||||||||
VS1010D Datasheet(HTML) 39 Page - VLSI Solution Oy |
|
39 / 98 page ![]() VS1010d Datasheet 11 VS1010D PERIPHERALS AND REGISTERS 11.4.1 Interrupt Controller Registers The interrupt controller has three type of registers: • Enable registers, which contain enable/disable bits for each interrupt source. Bit pairs configure the interrupt priority and disable. • Origin registers, which contain the source flags for each interrupt. A request from an interrupt source sets the corresponding bit. A bit is automatically reset when a request for the source is generated. • Enable counter register, which contains the value of the General Interrupt Enable counter, and two registers for increasing and decreasing the value. Interrupt Controller Registers Address Type Reset Abbrev Description 0xFC02 r/w 0 INT_ENABLE0_HP Interrupt enable high priority for ints. 0..15 0xFC00 r/w 0 INT_ENABLE0_LP Interrupt enable low priority for ints 0..15 0xFC03 r/w 0 INT_ENABLE1_HP Interrupt enable high priority for ints 16..27 0xFC01 r/w 0 INT_ENABLE1_LP Interrupt enable low priority for ints 16..27 0xFC04 r/w 0 INT_ORIGIN0 Interrupt origin for interrupts 0..15 0xFC05 r/w 0 INT_ORIGIN1 Interrupt origin for interrupts 16..27 0xFC06 r 0 INT_VECTOR[4:0] Interrupt vector 0xFC07 r/w 0 INT_ENCOUNT[2:0] Interrupt enable counter 0xFC08 w 0 INT_GLOB_DIS[-] Interrupt global disable 0xFC09 w 0 INT_GLOB_ENA[-] Interrupt global enable 11.4.2 Interrupt Enable INT_ENABLE[0/1]_[H/L]P Interrupt enable registers selectively masks interrupt sources. Enable registers 0 contain sources 0..15 and enable registers 1 contain sources 16..27. Each source has two enable bits: one in the enable high priority (_HP) and one in the enable low priority (_LP) register. If both bits are zero, the corresponding interrupt source is not enabled, otherwise the bits select the interrupt priority. _HP _LP Priority 0 0 Source disabled 0 1 Priority 1 (low) 1 0 Priority 2 (medium) 1 1 Priority 3 (high) Priorities only matter when the interrupt controller decides which interrupt to generate for the core next. This happens whenever two interrupt sources request interrupts at the same time, or when interrupts become enabled after an interrupt handler routine or a part of code where the interrupts have been disabled. 11.4.3 Interrupt Origin INT_ORIGIN[0/1] If an interrupt source requests an interrupt, the corresponding bit in the interrupt origin regis- ter (INT_ORIGIN0 or INT_ORIGIN1) will be set to ’1’. If an interrupt source is enabled (using Version: 0.41, 2022-10-05 39 |
|
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 |