Perform the following procedure to read a group of counters:
- Read the SCTM_CTGNBL0 register and save.
- Clear the corresponding enable bit of each counter in the group to 0.
- Write back the SCTM_CTGNBL0 register content.
- For each counter in the group:
- Read the value of the counter through the SCTM_CTCNTR_k register.
- Read the corresponding SCTM_CTCR_WOT_j[6] OVRFLW bit to determine if the counter has wrapped since the last read of the SCTM_CTCR_WOT_j register.
- (Optional) Resume the group count by writing back the saved value of the SCTM_CTGNBL0 register.