2.7.4Using software trigger and polling transfer
If the user needs to control the A/D converter without the
1.send 0x01 to the A/D mode control register (software trigger + polling transfer)
(refer to Sec. 2.4.8)
2.send channel number to the multiplexer control register (refer to Sec. 2.4.7)
3.send the gain control code value to the gain control register (refer to Sec 2.4.6)
4.delay the settling time (refer to Sec. 2.4.6 and Sec. 2.4.7)
5.send any value to the software trigger control register to generate a software trigger signal
(refer to Sec. 2.4.9)
6.scan the READY bit of the A/D high byte data until READY=0 (refer to Sec. 2.4.2)
7.read the 12 bit A/D data (refer to Sec. 2.4.2)
8.convert the 12 bit binary data to a floating point value