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

Function rdSTATUS

interface/vstream/python/vsi_audio.py:393–408  ·  view source on GitHub ↗

Read the STATUS register (user register). Returns: status: Current STATUS register value (32-bit)

()

Source from the content-addressed store, hash-verified

391
392
393def rdSTATUS():
394 """
395 Read the STATUS register (user register).
396
397 Returns:
398 status: Current STATUS register value (32-bit)
399 """
400 global STATUS
401 logger.info(f"rdSTATUS: read STATUS: 0x{STATUS:08X}")
402 value = STATUS
403
404 # Clear DATA bit on read of STATUS register
405 STATUS &= ~STATUS_DATA_Msk
406 logger.debug("rdSTATUS: STATUS register updated: DATA bit cleared")
407
408 return value
409
410
411def wrDEVICE(value):

Callers 1

rdRegsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected