Go to the source code of this file.
Data Structures | |
| struct | dwc_otg_adp |
Defines | |
| #define | DWC_OTG_ADP_UNATTACHED 0 |
| #define | DWC_OTG_ADP_ATTACHED 1 |
| #define | DWC_OTG_ADP_UNKOWN 2 |
Typedefs | |
| typedef dwc_otg_adp | dwc_otg_adp_t |
Functions | |
| void | dwc_otg_adp_write_reg (dwc_otg_core_if_t *core_if, uint32_t value) |
| Attach Detect Protocol functions. | |
| uint32_t | dwc_otg_adp_read_reg (dwc_otg_core_if_t *core_if) |
| Function is called to read ADP registers. | |
| uint32_t | dwc_otg_adp_probe_start (dwc_otg_core_if_t *core_if) |
| Starts the ADP Probing. | |
| uint32_t | dwc_otg_adp_sense_start (dwc_otg_core_if_t *core_if) |
| Starts the ADP Sense. | |
| uint32_t | dwc_otg_adp_probe_stop (dwc_otg_core_if_t *core_if) |
| Stops the ADP Probing. | |
| uint32_t | dwc_otg_adp_sense_stop (dwc_otg_core_if_t *core_if) |
| Stops the ADP Sensing. | |
| void | dwc_otg_adp_start (dwc_otg_core_if_t *core_if, uint8_t is_host) |
| Called right after driver is loaded to perform initial actions for ADP. | |
| void | dwc_otg_adp_init (dwc_otg_core_if_t *core_if) |
| void | dwc_otg_adp_remove (dwc_otg_core_if_t *core_if) |
| int32_t | dwc_otg_adp_handle_intr (dwc_otg_core_if_t *core_if) |
| ADP Interrupt handler. | |
| int32_t | dwc_otg_adp_handle_srp_intr (dwc_otg_core_if_t *core_if) |
Definition in file dwc_otg_adp.h.
|
|
Starts the ADP Probing.
Definition at line 296 of file dwc_otg_adp.c. |
|
|
Starts the ADP Sense.
Definition at line 357 of file dwc_otg_adp.c. |
|
|
Stops the ADP Probing.
Definition at line 393 of file dwc_otg_adp.c. |
|
|
Stops the ADP Sensing.
Definition at line 416 of file dwc_otg_adp.c. |
|
||||||||||||
|
Called right after driver is loaded to perform initial actions for ADP.
Definition at line 458 of file dwc_otg_adp.c. |
|
|
Definition at line 792 of file dwc_otg_adp.c. |
1.3.9.1