| usb_address_t device_keeper_get_free_address | ( | usb_device_keeper_t * | instance, | |
| usb_speed_t | speed | |||
| ) |
Get a free USB address.
| [in] | instance | Device keeper structure to use. |
| [in] | speed | Speed of the device requiring address. |
Definition at line 69 of file device_keeper.c.
| void usb_device_keeper_bind | ( | usb_device_keeper_t * | instance, | |
| usb_address_t | address, | |||
| devman_handle_t | handle | |||
| ) |
Bind USB address to devman handle.
| [in] | instance | Device keeper structure to use. |
| [in] | address | Device address |
| [in] | handle | Devman handle of the device. |
Definition at line 103 of file device_keeper.c.
| usb_address_t usb_device_keeper_find | ( | usb_device_keeper_t * | instance, | |
| devman_handle_t | handle | |||
| ) |
Find USB address associated with the device.
| [in] | instance | Device keeper structure to use. |
| [in] | handle | Devman handle of the device seeking its address. |
Definition at line 142 of file device_keeper.c.
| bool usb_device_keeper_find_by_address | ( | usb_device_keeper_t * | instance, | |
| usb_address_t | address, | |||
| devman_handle_t * | handle | |||
| ) |
Find devman handle assigned to USB address.
Intentionally refuse to find handle of default address.
| [in] | instance | Device keeper structure to use. |
| [in] | address | Address the caller wants to find. |
| [out] | handle | Where to store found handle. |
Definition at line 168 of file device_keeper.c.
| usb_speed_t usb_device_keeper_get_speed | ( | usb_device_keeper_t * | instance, | |
| usb_address_t | address | |||
| ) |
Get speed associated with the address.
| [in] | instance | Device keeper structure to use. |
| [in] | address | Address of the device. |
Definition at line 197 of file device_keeper.c.
| void usb_device_keeper_init | ( | usb_device_keeper_t * | instance | ) |
Initialize device keeper structure.
| [in] | instance | Memory place to initialize. |
Definition at line 47 of file device_keeper.c.
| void usb_device_keeper_release | ( | usb_device_keeper_t * | instance, | |
| usb_address_t | address | |||
| ) |
Release used USB address.
| [in] | instance | Device keeper structure to use. |
| [in] | address | Device address |
Definition at line 122 of file device_keeper.c.
| void usb_endpoint_manager_reset_if_need | ( | usb_endpoint_manager_t * | instance, | |
| usb_target_t | target, | |||
| const uint8_t * | data | |||
| ) |
Check setup packet data for signs of toggle reset.
| [in] | instance | Device keeper structure to use. |
| [in] | target | Device to receive setup packet. |
| [in] | data | Setup packet data. |
Definition at line 253 of file usb_endpoint_manager.c.
| void usb_transfer_batch_call_in | ( | usb_transfer_batch_t * | instance | ) |
| void usb_transfer_batch_call_in_and_dispose | ( | usb_transfer_batch_t * | instance | ) |
| void usb_transfer_batch_call_out | ( | usb_transfer_batch_t * | instance | ) |
| void usb_transfer_batch_call_out_and_dispose | ( | usb_transfer_batch_t * | instance | ) |
| void usb_transfer_batch_dispose | ( | usb_transfer_batch_t * | instance | ) |
| void usb_transfer_batch_finish | ( | usb_transfer_batch_t * | instance | ) |
1.4.7