But you could also add a method that sets bit 8 in the CHIP_ANA_ADC_CTRL register ;o)
What should that function be named and how should it be documented?
Maybe just make these public:
Code:unsigned int read(unsigned int reg); bool write(unsigned int reg, unsigned int val);