Type Alias d1_pac::pwm::cisr::CFIS_W

source ·
pub type CFIS_W<'a, const O: u8> = BitWriter1C<'a, u32, CISR_SPEC, CFIS_A, O>;
Expand description

Field cfis[0-7] writer - Status of the capture channel falling lock interrupt

When the capture channel captures falling edge, if the fall lock interrupt ( CFIE ) is enabled, this bit is set to 1 by hardware. Writing 1 to clear this bit.

Reads 0: The capture channel interrupt is not pending.

Reads 1: The capture channel interrupt is pending.

Writes 0: no effect.

Writes 1: Clear the status of the capture channel interrupt.

Aliased Type§

struct CFIS_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> CFIS_W<'a, O>

source

pub fn not_pending(self) -> &'a mut W

0

source

pub fn pending(self) -> &'a mut W

1