SLUAAL4 August 2022 BQ21040
Figure 4-1 outlines the basic logical procedure that needs to be implemented on the MCU to properly detect adapter insertion and removal.