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

Function rdSAMPLE_COUNT

interface/sensor/python/vsi_sensor.py:423–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

421## Read SAMPLE_COUNT register (user register)
422# @return SAMPLE_COUNT number of samples stored in FIFO (32-bit)
423def rdSAMPLE_COUNT():
424 global SAMPLE_COUNT
425
426 logger.debug(f"Fifo Count: {FIFO.count}")
427 SAMPLE_COUNT = FIFO.count // SAMPLE_SIZE
428
429 return SAMPLE_COUNT
430
431
432## Read SAMPLE_PORT register (user register)

Callers 1

rdRegsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected