Other Parts Discussed in Thread: ADS1015
- At init we enable alert/ready interrupt by setting Hi_thresh register MSB to 1 and Lo_thresh register MSB to 0.
- We write the config for HV_Pos and wait for alert/rdy interrupt
- In the alert/rdy interrupt we request the data by writing Convert Pointer(0x00)
- Wait for the write command to be done(wait until I2C send_end interrupt is triggered) and then read the data
- Store the read data and write the config for the next channel(HV_Neg)