Home
last modified time | relevance | path

Searched refs:interrupt (Results 1 – 25 of 126) sorted by relevance

123456

/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-basic-interrupt.md6interrupt is a signal to the processor emitted by hardware or software indicating an event that ne…
26interrupt source sends an interrupt signal to the interrupt controller. The interrupt controller a…
32 …An area for storing interrupt vectors. It stores the mapping between interrupt vectors and interru…
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.|
70 …to trigger an interrupt (write the related register of the interrupt controller to simulate an ext…
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…
[all …]
H A Dkernel-small-basic-interrupt.md10 + Initializing an interrupt.
11 + Creating an interrupt.
14 + Deleting an interrupt.
23interrupt controller receives the input from the interrupt pins of other peripherals and sends int…
25 After receiving an interrupt signal sent by the interrupt controller, the CPU interrupts the curren…
33 ![](figures/interrupt-vector-table.png "interrupt-vector-table")
47 …tes an interrupt and registers the interrupt ID, triggering mode, priority, and interrupt handler.…
79 1. Create an interrupt.
81 2. Delete an interrupt.
103 /* Create an interrupt. */
[all …]
H A Dkernel-small-debug-shell-cmd-hwi.md21 - Run **hwi** to display the interrupt IDs, count of interrupts, and registered interrupt names of …
23 …OSCFG_CPUP_INCLUDE_IRQ** is enabled, the interrupt handling time (ATime), CPU usage, and type of e…
60 87: 0: AIO interrupt
98 87: 0 0 0.0 0.0 0.0 shared AIO interrupt
115 | Name | Registered interrupt name.|
120 …e any of the following:<br>- **normal**: non-shared interrupt.<br>- **shared**: shared interrupt
H A Dkernel-small-debug-process-cpu.md6interrupt CPUP. With the system CPUP, you can determine whether the current system load exceeds th…
18interrupt. It reflects the interrupt status, busy or idle, in a period of time. The valid range of…
23interrupt. When a process or task is switched, the start time of the process or task is recorded. …
43 Interrupt CPUP = Total running time of the interrupt/Total running time of the system
70 …f the process has been created, disable interrupt, obtain the CPUP in different modes, and then en…
74 …- If the CPUP is initialized, disable interrupt, obtain the CPUP in different modes, and then enab…
78 …- If the task has been created, disable interrupt, obtain the CPUP in different modes, and then en…
82 … the CPUP has been initialized, disable interrupt, obtain the CPUP in different modes, and then en…
H A Dkernel-mini-extend-cpup.md22 In addition, you can enable the interrupt usage statistics function after the CPUP function is enab…
24 …single interrupt out of the total interrupt duration. The interrupt CPUP ranges from 0 to 100. The…
38 In addition, the system provides the capability of querying the interrupt CPUP (the CPUP and timer …
46 Interrupt CPUP = Running time of a single interrupt/Total running time of all interrupts
58 | Obtaining the interrupt CPUP| **LOS_GetAllIrqCpuUsage**: obtains the CPUP of all interrupts.|
64 Choose **Enable Cpup include irq** to enable interrupt CPUP.
73 - If the task has been created, disable interrupt, obtain the CPUP, and then enable interrupt.
77 …- If the task has been created, disable interrupt, obtain the CPUP in different modes, and then en…
81 …- If CPUP has been initialized, disable interrupt, obtain the CPUP in different modes, and then en…
H A Dkernel-mini-memory-trace.md35 …ng events of specified interrupt IDs| **LOS_TraceHwiFilterHookReg**: registers a hook to filter ou…
100interrupt events by interrupt ID to prevent other events from being overwritten due to frequent tr…
114 The interrupt events with interrupt ID of **TIMER_INT** or **DMA_INT** are not traced.
H A Dkernel-small-debug-trace.md38 …ng events of specified interrupt IDs| **LOS_TraceHwiFilterHookReg**: registers a hook to filter ou…
101interrupt events by interrupt ID to prevent other events from being overwritten due to frequent tr…
115 The interrupt events with interrupt ID of **TIMER_INT** or **DMA_INT** are not traced.
159 …ORE_MSG | Enable Record more extended content -> Record cpuid, hardware interrupt status, task loc…
H A Dkernel-mini-memory-exception.md185 interrupt enable register, base address: 0xe000e100, size: 0x20
187 interrupt pending register, base address: 0xe000e200, size: 0x20
189 interrupt active register, base address: 0xe000e300, size: 0x20
191 interrupt priority register, base address: 0xe000e400, size: 0xf0
196 interrupt exception register, base address: 0xe000ed18, size: 0xc
198 interrupt shcsr register, base address: 0xe000ed24, size: 0x4
200 interrupt control register, base address: 0xe000ed04, size: 0x4
H A Dkernel-small-basic-trans-user-signal.md6 …s communication mechanism between processes. It uses software-simulated interrupt signals. When a …
20 … | Called by a system call or an interrupt. Before the swit…
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_interrupt_info.h191 res = res && parcel.WriteBool(interrupt.audioFocusType.isPlay); in Marshalling()
192 res = res && parcel.WriteUint32(interrupt.sessionId); in Marshalling()
193 res = res && parcel.WriteBool(interrupt.pauseWhenDucked); in Marshalling()
194 res = res && parcel.WriteInt32(interrupt.pid); in Marshalling()
196 res = res && parcel.WriteBool(interrupt.parallelPlayFlag); in Marshalling()
197 size_t vct = interrupt.currencySources.sourcesTypes.size(); in Marshalling()
211 interrupt.audioFocusType.isPlay = parcel.ReadBool(); in Unmarshalling()
212 interrupt.sessionId = parcel.ReadUint32(); in Unmarshalling()
213 interrupt.pauseWhenDucked = parcel.ReadBool(); in Unmarshalling()
214 interrupt.pid = parcel.ReadInt32(); in Unmarshalling()
[all …]
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-mini-memory-exception.md187 interrupt enable register, base address: 0xe000e100, size: 0x20
189 interrupt pending register, base address: 0xe000e200, size: 0x20
191 interrupt active register, base address: 0xe000e300, size: 0x20
193 interrupt priority register, base address: 0xe000e400, size: 0xf0
198 interrupt exception register, base address: 0xe000ed18, size: 0xc
200 interrupt shcsr register, base address: 0xe000ed24, size: 0x4
202 interrupt control register, base address: 0xe000ed04, size: 0x4
H A Dkernel-small-debug-shell-cmd-hwi.md60 87: 0: AIO interrupt
98 87: 0 0 0.0 0.0 0.0 shared AIO interrupt
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-minichip-kernel.md37 │ ├── los_interrupt.h # Definition of the interrupt- and exception-related functions to be …
135 | LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT | Whether to use the default interrupt of the OS.| NO |
137 1. Change the kernel interrupt.
141 - Use the default interrupt of the vendor.
145 …- **PendSV_Handler**: interrupt entry point function provided by the vendor SDK. Replace it with t…
146 …- **SysTick_Handler**: clock interrupt entry point function provided by the vendor SDK. Replace it…
148 - Implement redirection interrupt during system initialization.
154interrupt vector table **g_hwiForm** after redirection needs to be byte-aligned according to the r…
H A Dporting-cst85f01-combo-demo.md274 1. Use `OsVectorInit();` to initialize the interrupt vector and initialize the interrupt processing…
295interrupt service threads must be redirected to the ISRs specified by LiteOS-M: HalPendSV and OsTi…
299 * Configuration item for using system defined vector base address and interrupt handlers.
303 * these interrupt handlers to run normally. What's more, LOS_HwiCreate will not register handler.
317 … the original ISRs of the SoC to the new interrupt vector table **g_hwiForm** during startup, and …
319interrupt vector table of the SoC is used. For CST85F01, the interrupt vector table is **__vectors…
321 …xample, LiteOS is not allowed to take over interrupt processing. Therefore, you need to redirect t…
333 As described in the documents related to Cortex-M, the minimum address of the interrupt vector tabl…
336 In CST85F01 adaptation, the maximum number of interrupt vectors is 128 (defined in **target_config.…
341 Therefore, the interrupt alignment needs to be overridden to 0x200.
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Dmod.rs161 pub const fn interrupt() -> SignalKind { in interrupt() method
429 assert_eq!(SignalKind::from_raw(2), SignalKind::interrupt()); in ut_signal_from_and_into_c_int()
430 assert_eq!(SignalKind::interrupt().as_raw(), 2); in ut_signal_from_and_into_c_int()
518 let mut signal = signal(SignalKind::interrupt()).unwrap(); in ut_signal_interrupt()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.5/
H A Dchangelogs-multimedia.md133 ## c1.multimedia.4 ohos.multimedia.audio AudioManager订阅事件interrupt接口废弃
156 on(type: 'interrupt', interrupt: AudioInterrupt, callback: Callback&lt;InterruptAction&gt;): void;
158 off(type: 'interrupt', interrupt: AudioInterrupt, callback?: Callback&lt;InterruptAction&gt;): void;
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dsignal.rs37 assert_eq!(SignalKind::from_raw(2), SignalKind::interrupt()); in sdv_signal_from_and_into_c_int()
38 assert_eq!(SignalKind::interrupt().as_raw(), 2); in sdv_signal_from_and_into_c_int()
182 let mut signal = signal(SignalKind::interrupt()).unwrap(); in sdv_signal_interrupt()
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-touch-des.md63interrupt pin, which must be set to the input pull-up state during driver initialization. After de…
119 …device and the driver and complete the device initialization, including interrupt registration and…
130 … the platform interface layer to configure the corresponding reset pin, interrupt pin, and power o…
211 intRegCfg = [0x112f0098, 0x400]; // Register of the interrupt pin.
238interrupt on the rising edge, 2 means to trigger an interrupt on the falling edge, 4 means to trig…
244 …s for null; 1 for VCC power (1.8 V); 2 for VCI power (3.3 V); 3 for reset pin; 4 for interrupt pin.
H A Ddriver-platform-gpio-des.md13 - Setting an interrupt service routine (ISR) function and interrupt trigger mode for a pin
274 | arg | Pointer to the GPIO interrupt parameters. |
321 HDF_LOGI("%s: gpio:%u interrupt service in data\n", __func__, gpio);
326 /* Set the ISR function to MyCallBackFunc, with input parameter of NULL and the interrupt trigger m…
357 The following example shows how to trigger an interrupt for a GPIO pin. The procedure is as follows…
360 2. Set an ISR function for the pin, with the interrupt trigger mode of rising edge and falling edge.
377 …g_irqCnt++; /* If the ISR function is triggered, the global interrupt counter is incremented by 1.…
421 g_irqCnt = 0; /* Reset the global interrupt counter. */
H A Ddriver-platform-i3c-develop.md11 The IBIs over the serial bus eliminates the need for an extra interrupt line to complete interrupts…
17 …signal, which initiates an IBI request. If multiple target devices send interrupt requests at the …
48 …es of adding, deleting, and obtaining the devices connected to the I3C bus and interrupt callbacks.
119 4. Register an interrupt handler.
121 …Registers an interrupt handler for the controller to implement the device hot-join and IBI feature…
320 …SAL_IRQF_TRIGGER_NONE, I3cIbiHandle, "I3C", virtual); // (Mandatory) Register an interrupt handler.
465 4. Register an interrupt handler.
467 …The interrupt handler performs an IBI or hot-join based on the address where the interrupt is gene…
508 …/* (Mandatory) Obtain the address where the interrupt is generated. Use the CHECK_RESERVED_ADDR ma…
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.3/
H A Dchangelogs-multimedia.md144 ## cl.multimedia.audio.007 AudioRenderer中interrupt监听注册名称变更
146 AudioRenderer中on()函数的interrupt监听注册名称变更。
157 on(type: 'interrupt', callback: Callback<InterruptEvent>): void;
/ohos5.0/base/web/webview/test/unittest/audio_adapter_impl_test/
H A Daudio_adapter_impl_test.cpp564 …std::shared_ptr<AudioInterruptAdapterMock> interrupt = std::make_shared<AudioInterruptAdapterMock>… variable
565 EXPECT_NE(interrupt, nullptr);
566 interrupt->streamUsage = AudioAdapterStreamUsage::STREAM_USAGE_MEDIA;
567 interrupt->contentType = AudioAdapterContentType::CONTENT_TYPE_MUSIC;
568 interrupt->streamType = AudioAdapterStreamType::STREAM_DEFAULT;
570 int32_t ret = AudioSystemManagerAdapterImpl::GetInstance().RequestAudioFocus(interrupt);
572 ret = AudioSystemManagerAdapterImpl::GetInstance().AbandonAudioFocus(interrupt);
575 interrupt->streamType = AudioAdapterStreamType::STREAM_MUSIC;
576 ret = AudioSystemManagerAdapterImpl::GetInstance().RequestAudioFocus(interrupt);
579 ret = AudioSystemManagerAdapterImpl::GetInstance().AbandonAudioFocus(interrupt);
/ohos5.0/docs/en/device-dev/guide/
H A Ddevice-outerdriver-demo.md135 intGpio = 4; // Set the interrupt pin.
137 … intRegCfg = [0x112f0098, 0x400]; // Configure the interrupt pin information.
166 …2 indicate that the interrupt is triggered on the rising and falling edges, respectively. Values 4…
172 … VCI (3.3 V) power, respectively. Values 3 and 4 indicate the reset and interrupt pins, respective…
177 …nSeq = [4, 0, 1, 0, // Set the output direction for the interrupt pin and pull dow…
180 … 4, 2, 0, 0]; // Set the input direction for the interrupt pin.
426 …input common driver and initializes hardware information \(for example, interrupt registration\). …
436 …/* Implement the interrupt registration and interrupt handling functions. The interrupt handling f…
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/audio/
H A DKconfig49 support hook interrupt mode.
65 support hook interrupt mode.
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_smartalbum_map_operations.h49 static void SetInterrupt(bool interrupt);

123456