SLUSEG2C September 2022 – February 2024 BQ25620 , BQ25622
PRODUCTION DATA
The device incorporates an interrupt pin (INT) to inform a host microcontroller of status changes without requiring microcontroller polling. Each reported event has a status field, a flag bit and a mask bit. The status field reports the status at the time that it is read. The flag bit is latched and, once set to 1, will remain at 1 until the host reads the bit, which will clear it to 0. The mask bit determines whether or not an interrupt pulse will be generated when the flag bit is set.
The flag bit is set upon certain transitions of the status field. These transitions also generate an INT pulse if the associated mask bit is set to 0. Because the INT is generated from the status field transition and not the flag bit, an INT pulse is sent to the host even if the associated flag is already set to 1 when the status transition occurs. Details of this behavior are shown in Figure 8-6.
The default behavior is to generate a 256-μs INT pulse when any flag bit is set to 1. These pulses may be masked out on a flag-by-flag basis by setting a flag's mask bit to 1. Setting the mask bit does not affect the transition of the flag bit from 0 to 1, only the generation of the 256-μs INT pulse.