Structures and functions required by UDC.
Functions | |
void | udi_dfu_atmel_disable (void) |
bool | udi_dfu_atmel_enable (void) |
uint8_t | udi_dfu_atmel_getsetting (void) |
bool | udi_dfu_atmel_setup (void) |
Variables | |
UDC_DESC_STORAGE udi_api_t | udi_api_dfu_atmel |
Global structure which contains standard UDI API for UDC. More... | |
UDC_DESC_STORAGE udi_api_t | udi_api_dfu_atmel |
Global structure which contains standard UDI interface for UDC. More... | |
void udi_dfu_atmel_disable | ( | void | ) |
Referenced by udc_iface_disable().
bool udi_dfu_atmel_enable | ( | void | ) |
References isp_init(), isp_is_security(), udi_dfu_atmel_reset, udi_dfu_atmel_reset_protocol(), and udi_dfu_atmel_security.
Referenced by udc_iface_enable().
uint8_t udi_dfu_atmel_getsetting | ( | void | ) |
bool udi_dfu_atmel_setup | ( | void | ) |
References Assert, usb_setup_req_t::bRequest, dfu_status_t::bState, dfu_status_t::bStatus, udd_ctrl_request_t::callback, DFU_STATE_DFUERROR, DFU_STATUS_ERRSTALLEDPK, isp_force_boot_isp(), isp_start_appli(), NULL, udd_ctrl_request_t::over_under_run, udd_ctrl_request_t::req, udd_g_ctrlreq, udd_set_setup_payload(), Udd_setup_is_in, Udd_setup_is_out, Udd_setup_type, udi_dfu_atmel_erase_chip(), udi_dfu_atmel_reset, udi_dfu_atmel_reset_protocol(), udi_dfu_atmel_upload_callback, udi_dfu_flip_msg, udi_dfu_flip_msg_decode(), USB_REQ_DFU_CLRSTATUS, USB_REQ_DFU_DNLOAD, USB_REQ_DFU_GETSTATUS, USB_REQ_DFU_UPLOAD, USB_REQ_TYPE_CLASS, usb_setup_req_t::wLength, and usb_setup_req_t::wValue.
Referenced by udc_req_iface().
UDC_DESC_STORAGE udi_api_t udi_api_dfu_atmel |
Global structure which contains standard UDI API for UDC.
Global structure which contains standard UDI API for UDC.
UDC_DESC_STORAGE udi_api_t udi_api_dfu_atmel |
Global structure which contains standard UDI interface for UDC.
Global structure which contains standard UDI API for UDC.