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

type W = W<u8, OUT_CTRL>;

Writer for register OUT_CTRL

Methods

impl W[src]

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

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

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

Bit 4 - Write a 1 here to enable receiving data

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

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

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

Bit 6 - Write a 1 here to stall an endpoint