Skip to content

Refactoring read-write functions

Hello @mamirono,

I made the following changes (mostly just-refactoring):

  • refactoring readNamedRegister to return both the value and status

  • removing the now-redundant function readNamedRegisterBack which only returns status; this also gets rid of the extra unnecessary read-register call

  • renaming readRegisterBack to a more descriptive readAndReturnRegister

I tested this on our RD53B chip in Oklahoma. It seems to be running fine. It would be probably good to test this on an ItkPixV2 chip, too.

Tagging @epianori @emily @theim

Merge request reports

Loading