Using {isac,hscx}_{read,write} instead of the low-level readreg/writereg simplifies the code a bit.
Attach a file by drag & drop or click to upload