Type Alias rp2040_pac::usbctrl_regs::main_ctrl::R

source ·
pub type R = R<MAIN_CTRL_SPEC>;
Expand description

Register MAIN_CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn controller_en(&self) -> CONTROLLER_EN_R

Bit 0 - Enable controller

source

pub fn host_ndevice(&self) -> HOST_NDEVICE_R

Bit 1 - Device mode = 0, Host mode = 1

source

pub fn sim_timing(&self) -> SIM_TIMING_R

Bit 31 - Reduced timings for simulation