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
impl R
sourcepub fn controller_en(&self) -> CONTROLLER_EN_R
pub fn controller_en(&self) -> CONTROLLER_EN_R
Bit 0 - Enable controller
sourcepub fn host_ndevice(&self) -> HOST_NDEVICE_R
pub fn host_ndevice(&self) -> HOST_NDEVICE_R
Bit 1 - Device mode = 0, Host mode = 1
sourcepub fn sim_timing(&self) -> SIM_TIMING_R
pub fn sim_timing(&self) -> SIM_TIMING_R
Bit 31 - Reduced timings for simulation