Type Alias d1_pac::pwm::cisr::CRIS_W

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

Field cris[0-7] writer - Status of the capture channel rising lock interrupt

When the capture channel captures rising edge, if the rise lock interrupt ( CRIE ) is enabled, this bit is set 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 CRIS_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

0

source

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

1