Add flops to store current analog gain setting