pub type W = W<PWM2_INTR_MAP_SPEC>;
Expand description

Register PWM2_INTR_MAP writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pwm2_intr_map(&mut self) -> PWM2_INTR_MAP_W<'_, PWM2_INTR_MAP_SPEC, 0>

Bits 0:4 - this register used to map pwm2 interrupt to one of core0’s external interrupt

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual