Lines Matching refs:interrupt

6interrupt is a signal to the processor emitted by hardware or software indicating an event that ne…
8 By using the interrupt mechanism, the CPU responds to the interrupt request (IRQ) from a peripheral…
14 …tifies an IRQ signal. The computer locates the device that sends the IRQ based on the interrupt ID.
20 …Prioritizes the sources that trigger interrupts based on the importance and urgency of interrupt e…
23 …d to the IRQ from a peripheral. Each device that triggers an interrupt has its own interrupt handl…
26interrupt source sends an interrupt signal to the interrupt controller. The interrupt controller a…
29 Entry address of an interrupt handler.
32 …An area for storing interrupt vectors. It stores the mapping between interrupt vectors and interru…
37 The following table describes APIs available for the OpenHarmony LiteOS-M interrupt module. For mor…
39 **Table 1** APIs for creating and deleting an interrupt
43 …ates an interrupt and registers the interrupt ID, triggering mode, priority, and interrupt handler…
44 | LOS_HwiDelete | Deletes an interrupt based on the specified interrupt ID.|
52 | LOS_IntRestore | Restores the interrupt status before the **LOS_IntLock** and **LOS_IntUnLock** o…
54 **Table 3** APIs for other interrupt operations
58 | LOS_HwiTrigger | Triggers an interrupt. |
61 | LOS_HwiClear | Clears an interrupt manually. |
62 | LOS_HwiSetPriority | Sets the interrupt priority.|
63 | LOS_HwiCurIrqNum | Obtains the current interrupt ID.|
68 1. Call **LOS_HwiCreate** to create an interrupt.
70 …to trigger an interrupt (write the related register of the interrupt controller to simulate an ext…
72 3. Call **LOS_HwiDelete()** to delete an interrupt. Use this API based on actual requirements.
76 > - Set the maximum number of interrupts supported and the number of configurable interrupt priorit…
77 > - Avoid long interrupt disabling time or interrupt handler processing time. Otherwise, the CPU ca…
78 …ll the API that causes scheduling, such as **LOS_Schedule**, during the interrupt response process.
79 …ck()**, that is, the current program status register (CPSR) value before the interrupt is disabled.
87 1. Create an interrupt.
89 2. Trigger an interrupt.
91 3. Delete an interrupt.
93 … demonstrates how to create an interrupt, trigger the interrupt to invoke the interrupt handler, a…
111 /* Register a thread callback to trigger the interrupt */
124 /* Create an interrupt. */
136 /* Create a thread with a low priority to verify interrupt triggering.*/
150 /* Delete the registered interrupt. */