How do I re-read the Capture registers into ERT1/2? How do I read the Match registers into ERT1/2?
To refresh ERT1/2 with the value of the Capture registers, re-assign the chan register:
chan = chan;
To load ERT1/2 with the value of the Match registers, use the read_match() intrinsic.
read_match();

eTPU_C:
C6808: