Constant imxrt_ral::pwm::sm::SMCAPTCTRLX::ONESHOTX::RW::ONESHOTX_1

source ยท
pub const ONESHOTX_1: u16 = 0x01;
Expand description

One shot mode is selected. If both capture circuits are enabled, then capture circuit 0 is armed first after the ARMX bit is set. Once a capture occurs, capture circuit 0 is disarmed and capture circuit 1 is armed. After capture circuit 1 performs a capture, it is disarmed and the ARMX bit is cleared. No further captures will be performed until the ARMX bit is set again.If only one of the capture circuits is enabled, then a single capture will occur on the enabled capture circuit and the ARMX bit is then cleared.