+ # Bits[3:2]: SHC[1:0]
+ shc = (((b >> 3) & 1) << 1) | ((b >> 2) & 1)
+ ann += 'SHC[1:0] = %s: Set shake count to %s readings\n' \
+ % (bin(shc)[2:], status['shc'][shc])
+
+ # Bits[1:0]: ORC[1:0]
+ orc = (((b >> 1) & 1) << 1) | ((b >> 0) & 1)
+ ann += 'ORC[1:0] = %s: Set orientation count to %s readings\n' \
+ % (bin(orc)[2:], status['orc'][orc])
+
+ self.putx([0, [ann]])