[][src]Type Definition fomu_pac::usb::out_ctrl::R

type R = R<u8, OUT_CTRL>;

Reader of register OUT_CTRL

Methods

impl R[src]

pub fn epno(&self) -> EPNO_R[src]

Bits 0:3 - The endpoint number to update the enable and status bits for.

pub fn enable(&self) -> ENABLE_R[src]

Bit 4 - Write a 1 here to enable receiving data

pub fn reset(&self) -> RESET_R[src]

Bit 5 - Write a 1 here to reset the OUT handler

pub fn stall(&self) -> STALL_R[src]

Bit 6 - Write a 1 here to stall an endpoint