MCPcopy Create free account
hub / github.com/ARM-software/AVH / timerEvent

Function timerEvent

interface/video/python/vsi_video.py:219–235  ·  view source on GitHub ↗
(IRQ_Status)

Source from the content-addressed store, hash-verified

217# @param IRQ_Status IRQ status register to update
218# @return IRQ_Status return updated register
219def timerEvent(IRQ_Status):
220
221 IRQ_Status |= IRQ_Status_FRAME_Msk
222
223 if (STATUS & STATUS_OVERFLOW_Msk) != 0:
224 IRQ_Status |= IRQ_Status_OVERFLOW_Msk
225
226 if (STATUS & STATUS_UNDERFLOW_Msk) != 0:
227 IRQ_Status |= IRQ_Status_UNDERFLOW_Msk
228
229 if (STATUS & STATUS_EOS_Msk) != 0:
230 IRQ_Status |= IRQ_Status_EOS_Msk
231
232 if (CONTROL & CONTROL_CONTINUOS_Msk) == 0:
233 wrCONTROL(CONTROL & ~(CONTROL_ENABLE_Msk | CONTROL_CONTINUOS_Msk))
234
235 return IRQ_Status
236
237
238## Read data from peripheral for DMA P2M transfer (VSI DMA)

Callers

nothing calls this directly

Calls 1

wrCONTROLFunction · 0.70

Tested by

no test coverage detected