4 #define GET_REG00(SETTING) DRVSTATUS(); return READ_RDSEL00_register.SETTING
5 #define GET_REG01(SETTING) DRVSTATUS(); return READ_RDSEL01_register.SETTING
6 #define GET_REG10(SETTING) DRVSTATUS(); return READ_RDSEL10_register.SETTING
9 uint32_t response =
read()&0xFFCFF;
10 READ_RDSEL00_register.sr = response & 0xFF;
11 READ_RDSEL01_register.sr = response & 0xFF;
12 READ_RDSEL10_register.sr = response & 0xFF;
14 case 0b00: READ_RDSEL00_register.sr |= response & 0xFFC00;
break;
15 case 0b01: READ_RDSEL01_register.sr |= response & 0xFFC00;
break;
16 case 0b10: READ_RDSEL10_register.sr |= response & 0xFFC00;
break;
38 case 0b01: out = READ_RDSEL01_register.sg_result;
break;
39 case 0b10: out = READ_RDSEL10_register.sg_result;
break;