Type Alias rp2040_pac::usbctrl_dpram::setup_packet_low::W

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

Register SETUP_PACKET_LOW writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn bmrequesttype(&mut self) -> BMREQUESTTYPE_W<'_, SETUP_PACKET_LOW_SPEC>

Bits 0:7

source

pub fn brequest(&mut self) -> BREQUEST_W<'_, SETUP_PACKET_LOW_SPEC>

Bits 8:15

source

pub fn wvalue(&mut self) -> WVALUE_W<'_, SETUP_PACKET_LOW_SPEC>

Bits 16:31

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