Home
last modified time | relevance | path

Searched refs:event_bit (Results 1 - 4 of 4) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dapp_demo_i2s.c128 hi_u32 event_bit = 0; in record_n_play_task() local
135 hi_event_wait(g_audio_event, AUDIO_RECORD_FINISH_BIT | ALL_AUDIO_RECORD_FINISH_BIT, &event_bit, in record_n_play_task()
137 if (event_bit & ALL_AUDIO_RECORD_FINISH_BIT) { in record_n_play_task()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dhi_at.c187 hi_u32 event_bit = 0; in at_notify() local
191 ret = hi_event_wait(g_at_event, 0x1000, &event_bit, HI_SYS_WAIT_FOREVER, in at_notify()
488 hi_u32 event_bit; in at_proc_task_body() local
494 event_bit = 0; in at_proc_task_body()
495 ret = hi_event_wait(g_at_event, 0xFFF, &event_bit, HI_SYS_WAIT_FOREVER, in at_proc_task_body()
501 if (event_bit == 0x111) { in at_proc_task_body()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/
H A Dhi_spi.c60 hi_u32 event_bit; in spi_write_data() local
63 event_bit = 0; in spi_write_data()
64 ret = hi_event_wait(g_spi_ctrl[id]->event_id, HI_EVENT_BIT_TX_DATA, &event_bit, timeout_ms, in spi_write_data()
76 hi_u32 event_bit = 0; in spi_read_data() local
89 &event_bit, timeout_ms, HI_EVENT_WAITMODE_OR | HI_EVENT_WAITMODE_CLR); in spi_read_data()
H A Dspi.c347 hi_u32 event_bit = 0; in spi_hd_dma_read_fifo() local
369 ret = hi_event_wait(spi_dev_ctrl->event_id, HI_EVENT_BIT_DMA_RX_DATA, &event_bit, timeout_ms, in spi_hd_dma_read_fifo()
371 if (event_bit & HI_EVENT_BIT_DMA_RX_ERR_DATA) { in spi_hd_dma_read_fifo()
393 hi_u32 event_bit = 0; in spi_hd_dma_write_fifo() local
415 ret = hi_event_wait(spi_dev_ctrl->event_id, HI_EVENT_BIT_DMA_TX_DATA | HI_EVENT_BIT_DMA_TX_ERR_DATA, &event_bit, in spi_hd_dma_write_fifo()
417 if (event_bit & HI_EVENT_BIT_DMA_TX_ERR_DATA) { in spi_hd_dma_write_fifo()

Completed in 6 milliseconds