libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
void _usbd_control_in | ( | usbd_device * | usbd_dev, |
uint8_t | ea | ||
) |
Definition at line 286 of file usb_control.c.
References usb_setup_data::bmRequestType, usb_setup_data::bRequest, stall_transaction(), usb_control_send_chunk(), USB_REQ_SET_ADDRESS, usbd_dev, usbd_ep_nak_set(), and usb_setup_data::wValue.
Referenced by usbd_init().
void _usbd_control_out | ( | usbd_device * | usbd_dev, |
uint8_t | ea | ||
) |
Definition at line 240 of file usb_control.c.
References stall_transaction(), usb_control_recv_chunk(), usb_control_request_dispatch(), usbd_dev, usbd_ep_read_packet(), and usbd_ep_write_packet().
Referenced by usbd_init().
void _usbd_control_setup | ( | usbd_device * | usbd_dev, |
uint8_t | ea | ||
) |
Definition at line 222 of file usb_control.c.
References usb_setup_data::bmRequestType, usb_control_setup_read(), usb_control_setup_write(), usbd_dev, usbd_ep_nak_set(), and usb_setup_data::wLength.
Referenced by usbd_init().