Type Alias d1_pac::pwm::pisr::PIS_R

source ·
pub type PIS_R = BitReader<PIS_A>;
Expand description

Field pis[0-7] reader - PWM Channel Interrupt Status

When the PWM channel counter reaches the Entire Cycle Value, this bit is set 1 by hardware. Writing 1 to clear this bit.

Reads 0: PWM channel 0 interrupt is not pending.

Reads 1: PWM channel 0 interrupt is pending.

Writes 0: No effect.

Writes 1: Clear PWM channel 0 interrupt status.

Aliased Type§

struct PIS_R { /* private fields */ }

Implementations§

source§

impl PIS_R

source

pub fn variant(&self) -> PIS_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