Type Alias d1_pac::pwm::cisr::CRIS_R

source ·
pub type CRIS_R = BitReader<CRIS_A>;
Expand description

Field cris[0-7] reader - 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_R { /* private fields */ }

Implementations§

source§

impl CRIS_R

source

pub fn variant(&self) -> CRIS_A

Get enumerated values variant

source

pub fn is_not_pending(&self) -> bool

Checks if the value of the field is NOT_PENDING

source

pub fn is_pending(&self) -> bool

Checks if the value of the field is PENDING