Module lpc845_pac::capt::touch [−][src]
Expand description
Last touch event (touch or no-touch) in context.
Structs
Field CHANGE
reader - If 1, the rest of the register is 0 because the data is changing. This will only happen for 1 cycle and would never happen if using interrupts to read, unless took so long as to overrun.
Field COUNT
reader - Count value reached at trigger. If timeout, will be (1 bigger than TOUT)-1; e.g. if TOUT=12, then 0xFFF.
Field ISTOUCH
reader - 1 if is Touch (by count) or 0 if is no-touch.
Field ISTO
reader - 1 if is Timeout.
Register TOUCH
reader
Field SEQ
reader - Sequence number - rolling counter of polls. Changes after all selected Xs per poll (so, 0 for 1st set of Xs, then 1 for next set, etc).
Last touch event (touch or no-touch) in context.
Register TOUCH
writer
Field XVAL
reader - Is the X that triggered this, or lowest X if more than one.