跳至主要內容
Knowledgebase
Home
Renesas Electronics Taiwan - Knowledgebase

How many interrupt levels does H8S/21xx Interrupt Controller have?

Latest Updated:03/23/2009

Question:

How many interrupt priority levels does the H8S/21xx Interrupt Controller have?

Answer:

The H8S/21xx interrupt controller can be operated in one of two modes. In mode 0 all interrupts have the same priority, except for vector address priority. If an interrupt is enabled, it will be excepted if the I bit in the CCR is cleared to 0. If the Ibit is set to 1, all interrupts will be held pending until the I bit is cleared to 0. If more than 1 interrupt has been held pending, the interrupts are serviced in the order set by their respective vector address. Interrupts with a lower vector addresshave higher priority. In mode 1, interrupts can have a priority of either 1 or 0 associated to them. This priority level is set in the Interrupt Control Registers A to C. If both the I & UI bits are cleared to 0, then all interrupts are serviced.If the I bit in the CCR is set to 1, then interrupts with a priority of 0 will be held pending. Interrupts with a priority of 1 will be serviced. If both the I & UI bits in the CCR are set to 1, then all interrupts are held pending.
Suitable Products
H8S/2668
H8S/2655
H8S/2643
H8S/2633
H8S/2628
H8S/2615
H8S/2612
H8S/2437
H8S/2368
H8S/2398, 2357
H8S/2355
H8S/2350
H8S/2345
H8S/2282, 2280
H8S/2276
H8S/2258, 2239, 2238, 2237, 2227
H8S/2245
H8S/2215
H8S/2214
H8S/2199R
H8S/2194
H8S/2172
H8S/2168
H8S/2158
H8S/2140B
H8S/2114R
H8S/2111B
H8S/2110B