[][src]Type Definition rp2040::usbctrl_regs::main_ctrl::R

type R = R<u32, MAIN_CTRL>;

Reader of register MAIN_CTRL

Implementations

impl R[src]

pub fn sim_timing(&self) -> SIM_TIMING_R[src]

Bit 31 - Reduced timings for simulation

pub fn host_ndevice(&self) -> HOST_NDEVICE_R[src]

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

pub fn controller_en(&self) -> CONTROLLER_EN_R[src]

Bit 0 - Enable controller