[][src]Type Definition k22f::usb0::endpt::W

type W = W<u8, ENDPT>;

Writer for register ENDPT%s

Methods

impl W[src]

pub fn ephshk(&mut self) -> EPHSHK_W[src]

Bit 0 - When set this bit enables an endpoint to perform handshaking during a transaction to this endpoint

pub fn epstall(&mut self) -> EPSTALL_W[src]

Bit 1 - When set this bit indicates that the endpoint is called

pub fn eptxen(&mut self) -> EPTXEN_W[src]

Bit 2 - This bit, when set, enables the endpoint for TX transfers.

pub fn eprxen(&mut self) -> EPRXEN_W[src]

Bit 3 - This bit, when set, enables the endpoint for RX transfers.

pub fn epctldis(&mut self) -> EPCTLDIS_W[src]

Bit 4 - This bit, when set, disables control (SETUP) transfers

pub fn retrydis(&mut self) -> RETRYDIS_W[src]

Bit 6 - This is a Host mode only bit and is present in the control register for endpoint 0 (ENDPT0) only

pub fn hostwohub(&mut self) -> HOSTWOHUB_W[src]

Bit 7 - This is a Host mode only field and is present in the control register for endpoint 0 (ENDPT0) only