//KM 2018 03 23: getting lots of form spam; screen out dates before 2000 (book publication date) How do I cause a global exception? | Byte Craft Limited

How do I cause a global exception?

eTPU_C

The eTPU requires a value of 0x02 in the CIRC instruction field.

In C, CIRC is part of the channel structure:

channel.CIRC = 0x02

Alternatively, use a macro from eTPUC_common.h.

#define SetGlobalException()        (channel.CIRC = 2)