Struct lpc845_pac::capt::ctrl::POLLMODE_W [−][src]
pub struct POLLMODE_W<'a> { /* fields omitted */ }
Expand description
Field POLLMODE
writer - Mode of operation. May only change from 0 to another value. So, if 2 or 3, must be changed to 0 1st. Any attempt to go from non-0 to non-0 will result in 0 anyway.
Implementations
Writes variant
to the field
None, inactive. Poll and time counters are turned off. Writing this will reset state and stop any collection in progress. Note: this has no effect on STATUS - those must be cleared manually.
Poll now - forces a manual poll to be started immediately, using XPINSEL X pin(s) to activate in the integration loop (all pins set together). Self clears - clear is not indication it is done (see STATUS).
Normal polling using poll delay from POLL_TCNT register. This will start with the poll delay (which can be 0).
The CAPT block will operate in low-power mode. This means it will use GPIO as input, use combination touch measurements, and assume it is to wake the system. This will use the POLL_TCNT poll delay, and start with the delay.