refactor dcd layer
This commit is contained in:
		| @@ -79,6 +79,7 @@ void hal_dcd_set_config  (uint8_t port, uint8_t config_num); | ||||
| /*------------- Event function -------------*/ | ||||
| void hal_dcd_bus_event(uint8_t port, usbd_bus_event_type_t bus_event); | ||||
| void hal_dcd_setup_received(uint8_t port, uint8_t const* p_request); | ||||
| void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes); | ||||
|  | ||||
| //------------- PIPE API -------------// | ||||
| bool hal_dcd_control_xfer(uint8_t port, tusb_direction_t dir, uint8_t * p_buffer, uint16_t length, bool int_on_complete); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach