Type Alias rp2040_pac::usbctrl_regs::int_ep_ctrl::W

source ·
pub type W = W<INT_EP_CTRL_SPEC>;
Expand description

Register INT_EP_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn int_ep_active(&mut self) -> INT_EP_ACTIVE_W<'_, INT_EP_CTRL_SPEC>

Bits 1:15 - Host: Enable interrupt endpoint 1 -> 15

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