//KM 2018 03 23: getting lots of form spam; screen out dates before 2000 (book publication date) How do I re-read the Capture registers into ERT1/2? How do I read the Match registers into ERT1/2? | Byte Craft Limited

How do I re-read the Capture registers into ERT1/2? How do I read the Match registers into ERT1/2?

eTPU_C

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();