#include <dwc_otg_regs.h>
Data Fields | |
| uint32_t | d32 |
| struct { | |
| unsigned pmuintsel:1 | |
| PMU Interrupt Select. | |
| unsigned pmuactv:1 | |
| PMU Active. | |
| unsigned restore:1 | |
| Restore. | |
| unsigned pwrdnclmp:1 | |
| Power Down Clamp. | |
| unsigned pwrdnrstn:1 | |
| Power Down Reset. | |
| unsigned pwrdnswtch:1 | |
| Power Down Switch. | |
| unsigned dis_vbus:1 | |
| Disable VBUS. | |
| unsigned lnstschng:1 | |
| Line State Change. | |
| unsigned lnstchng_msk:1 | |
| Line state change mask. | |
| unsigned rst_det:1 | |
| Reset Detected. | |
| unsigned rst_det_msk:1 | |
| Reset Detect mask. | |
| unsigned disconn_det:1 | |
| Disconnect Detected. | |
| unsigned disconn_det_msk:1 | |
| Disconnect Detect mask. | |
| unsigned connect_det:1 | |
| Connect Detected. | |
| unsigned connect_det_msk:1 | |
| Connect Detected Mask. | |
| unsigned srp_det:1 | |
| SRP Detected. | |
| unsigned srp_det_msk:1 | |
| SRP Detect mask. | |
| unsigned sts_chngint:1 | |
| Status Change Interrupt. | |
| unsigned sts_chngint_msk:1 | |
| Status Change Interrupt Mask. | |
| unsigned linestate:2 | |
| Line State. | |
| unsigned idsts:1 | |
| Indicates current mode(status of IDDIG signal). | |
| unsigned bsessvld:1 | |
| B Session Valid signal status. | |
| unsigned adp_int:1 | |
| ADP Event Detected. | |
| unsigned mult_val_id_bc:5 | |
| Multi Valued ID pin. | |
| unsigned reserved29_31:3 | |
| Reserved 24_31. | |
| } | b |
| register bits | |
Read the register into the d32 member then set/clear the bits using the bit elements.
Definition at line 2486 of file dwc_otg_regs.h.
1.3.9.1