Macros | |
| #define | USB_ENDPT_COUNT |
| #define | USB_ENDPTCTRL_COUNT |
DEVCMDSTAT - USB Device Command/Status | |
| #define | USB_DEVCMDSTAT_DEV_ADDR_MASK |
| #define | USB_DEVCMDSTAT_DEV_ADDR_SHIFT |
| #define | USB_DEVCMDSTAT_DEV_ADDR(x) |
| #define | USB_DEVCMDSTAT_DEV_EN_MASK |
| #define | USB_DEVCMDSTAT_DEV_EN_SHIFT |
| #define | USB_DEVCMDSTAT_DEV_EN(x) |
| #define | USB_DEVCMDSTAT_SETUP_MASK |
| #define | USB_DEVCMDSTAT_SETUP_SHIFT |
| #define | USB_DEVCMDSTAT_SETUP(x) |
| #define | USB_DEVCMDSTAT_FORCE_NEEDCLK_MASK |
| #define | USB_DEVCMDSTAT_FORCE_NEEDCLK_SHIFT |
| #define | USB_DEVCMDSTAT_FORCE_NEEDCLK(x) |
| #define | USB_DEVCMDSTAT_LPM_SUP_MASK |
| #define | USB_DEVCMDSTAT_LPM_SUP_SHIFT |
| #define | USB_DEVCMDSTAT_LPM_SUP(x) |
| #define | USB_DEVCMDSTAT_INTONNAK_AO_MASK |
| #define | USB_DEVCMDSTAT_INTONNAK_AO_SHIFT |
| #define | USB_DEVCMDSTAT_INTONNAK_AO(x) |
| #define | USB_DEVCMDSTAT_INTONNAK_AI_MASK |
| #define | USB_DEVCMDSTAT_INTONNAK_AI_SHIFT |
| #define | USB_DEVCMDSTAT_INTONNAK_AI(x) |
| #define | USB_DEVCMDSTAT_INTONNAK_CO_MASK |
| #define | USB_DEVCMDSTAT_INTONNAK_CO_SHIFT |
| #define | USB_DEVCMDSTAT_INTONNAK_CO(x) |
| #define | USB_DEVCMDSTAT_INTONNAK_CI_MASK |
| #define | USB_DEVCMDSTAT_INTONNAK_CI_SHIFT |
| #define | USB_DEVCMDSTAT_INTONNAK_CI(x) |
| #define | USB_DEVCMDSTAT_DCON_MASK |
| #define | USB_DEVCMDSTAT_DCON_SHIFT |
| #define | USB_DEVCMDSTAT_DCON(x) |
| #define | USB_DEVCMDSTAT_DSUS_MASK |
| #define | USB_DEVCMDSTAT_DSUS_SHIFT |
| #define | USB_DEVCMDSTAT_DSUS(x) |
| #define | USB_DEVCMDSTAT_LPM_SUS_MASK |
| #define | USB_DEVCMDSTAT_LPM_SUS_SHIFT |
| #define | USB_DEVCMDSTAT_LPM_SUS(x) |
| #define | USB_DEVCMDSTAT_LPM_REWP_MASK |
| #define | USB_DEVCMDSTAT_LPM_REWP_SHIFT |
| #define | USB_DEVCMDSTAT_LPM_REWP(x) |
| #define | USB_DEVCMDSTAT_DCON_C_MASK |
| #define | USB_DEVCMDSTAT_DCON_C_SHIFT |
| #define | USB_DEVCMDSTAT_DCON_C(x) |
| #define | USB_DEVCMDSTAT_DSUS_C_MASK |
| #define | USB_DEVCMDSTAT_DSUS_C_SHIFT |
| #define | USB_DEVCMDSTAT_DSUS_C(x) |
| #define | USB_DEVCMDSTAT_DRES_C_MASK |
| #define | USB_DEVCMDSTAT_DRES_C_SHIFT |
| #define | USB_DEVCMDSTAT_DRES_C(x) |
| #define | USB_DEVCMDSTAT_VBUSDEBOUNCED_MASK |
| #define | USB_DEVCMDSTAT_VBUSDEBOUNCED_SHIFT |
| #define | USB_DEVCMDSTAT_VBUSDEBOUNCED(x) |
INFO - USB Info | |
| #define | USB_INFO_FRAME_NR_MASK |
| #define | USB_INFO_FRAME_NR_SHIFT |
| #define | USB_INFO_FRAME_NR(x) |
| #define | USB_INFO_ERR_CODE_MASK |
| #define | USB_INFO_ERR_CODE_SHIFT |
| #define | USB_INFO_ERR_CODE(x) |
| #define | USB_INFO_MINREV_MASK |
| #define | USB_INFO_MINREV_SHIFT |
| #define | USB_INFO_MINREV(x) |
| #define | USB_INFO_MAJREV_MASK |
| #define | USB_INFO_MAJREV_SHIFT |
| #define | USB_INFO_MAJREV(x) |
EPLISTSTART - USB EP Command/Status List start address | |
| #define | USB_EPLISTSTART_EP_LIST_MASK |
| #define | USB_EPLISTSTART_EP_LIST_SHIFT |
| #define | USB_EPLISTSTART_EP_LIST(x) |
DATABUFSTART - USB Data buffer start address | |
| #define | USB_DATABUFSTART_DA_BUF_MASK |
| #define | USB_DATABUFSTART_DA_BUF_SHIFT |
| #define | USB_DATABUFSTART_DA_BUF(x) |
LPM - USB Link Power Management | |
| #define | USB_LPM_HIRD_HW_MASK |
| #define | USB_LPM_HIRD_HW_SHIFT |
| #define | USB_LPM_HIRD_HW(x) |
| #define | USB_LPM_HIRD_SW_MASK |
| #define | USB_LPM_HIRD_SW_SHIFT |
| #define | USB_LPM_HIRD_SW(x) |
| #define | USB_LPM_DATA_PENDING_MASK |
| #define | USB_LPM_DATA_PENDING_SHIFT |
| #define | USB_LPM_DATA_PENDING(x) |
EPSKIP - USB Endpoint skip | |
| #define | USB_EPSKIP_SKIP_MASK |
| #define | USB_EPSKIP_SKIP_SHIFT |
| #define | USB_EPSKIP_SKIP(x) |
EPINUSE - USB Endpoint Buffer in use | |
| #define | USB_EPINUSE_BUF_MASK |
| #define | USB_EPINUSE_BUF_SHIFT |
| #define | USB_EPINUSE_BUF(x) |
EPBUFCFG - USB Endpoint Buffer Configuration | |
| #define | USB_EPBUFCFG_BUF_SB_MASK |
| #define | USB_EPBUFCFG_BUF_SB_SHIFT |
| #define | USB_EPBUFCFG_BUF_SB(x) |
INTSTAT - USB interrupt status | |
| #define | USB_INTSTAT_EP0OUT_MASK |
| #define | USB_INTSTAT_EP0OUT_SHIFT |
| #define | USB_INTSTAT_EP0OUT(x) |
| #define | USB_INTSTAT_EP0IN_MASK |
| #define | USB_INTSTAT_EP0IN_SHIFT |
| #define | USB_INTSTAT_EP0IN(x) |
| #define | USB_INTSTAT_EP1OUT_MASK |
| #define | USB_INTSTAT_EP1OUT_SHIFT |
| #define | USB_INTSTAT_EP1OUT(x) |
| #define | USB_INTSTAT_EP1IN_MASK |
| #define | USB_INTSTAT_EP1IN_SHIFT |
| #define | USB_INTSTAT_EP1IN(x) |
| #define | USB_INTSTAT_EP2OUT_MASK |
| #define | USB_INTSTAT_EP2OUT_SHIFT |
| #define | USB_INTSTAT_EP2OUT(x) |
| #define | USB_INTSTAT_EP2IN_MASK |
| #define | USB_INTSTAT_EP2IN_SHIFT |
| #define | USB_INTSTAT_EP2IN(x) |
| #define | USB_INTSTAT_EP3OUT_MASK |
| #define | USB_INTSTAT_EP3OUT_SHIFT |
| #define | USB_INTSTAT_EP3OUT(x) |
| #define | USB_INTSTAT_EP3IN_MASK |
| #define | USB_INTSTAT_EP3IN_SHIFT |
| #define | USB_INTSTAT_EP3IN(x) |
| #define | USB_INTSTAT_EP4OUT_MASK |
| #define | USB_INTSTAT_EP4OUT_SHIFT |
| #define | USB_INTSTAT_EP4OUT(x) |
| #define | USB_INTSTAT_EP4IN_MASK |
| #define | USB_INTSTAT_EP4IN_SHIFT |
| #define | USB_INTSTAT_EP4IN(x) |
| #define | USB_INTSTAT_FRAME_INT_MASK |
| #define | USB_INTSTAT_FRAME_INT_SHIFT |
| #define | USB_INTSTAT_FRAME_INT(x) |
| #define | USB_INTSTAT_DEV_INT_MASK |
| #define | USB_INTSTAT_DEV_INT_SHIFT |
| #define | USB_INTSTAT_DEV_INT(x) |
INTEN - USB interrupt enable | |
| #define | USB_INTEN_EP_INT_EN_MASK |
| #define | USB_INTEN_EP_INT_EN_SHIFT |
| #define | USB_INTEN_EP_INT_EN(x) |
| #define | USB_INTEN_FRAME_INT_EN_MASK |
| #define | USB_INTEN_FRAME_INT_EN_SHIFT |
| #define | USB_INTEN_FRAME_INT_EN(x) |
| #define | USB_INTEN_DEV_INT_EN_MASK |
| #define | USB_INTEN_DEV_INT_EN_SHIFT |
| #define | USB_INTEN_DEV_INT_EN(x) |
INTSETSTAT - USB set interrupt status | |
| #define | USB_INTSETSTAT_EP_SET_INT_MASK |
| #define | USB_INTSETSTAT_EP_SET_INT_SHIFT |
| #define | USB_INTSETSTAT_EP_SET_INT(x) |
| #define | USB_INTSETSTAT_FRAME_SET_INT_MASK |
| #define | USB_INTSETSTAT_FRAME_SET_INT_SHIFT |
| #define | USB_INTSETSTAT_FRAME_SET_INT(x) |
| #define | USB_INTSETSTAT_DEV_SET_INT_MASK |
| #define | USB_INTSETSTAT_DEV_SET_INT_SHIFT |
| #define | USB_INTSETSTAT_DEV_SET_INT(x) |
EPTOGGLE - USB Endpoint toggle | |
| #define | USB_EPTOGGLE_TOGGLE_MASK |
| #define | USB_EPTOGGLE_TOGGLE_SHIFT |
| #define | USB_EPTOGGLE_TOGGLE(x) |
PERID - Peripheral ID | |
| #define | USB_PERID_ID_MASK |
| #define | USB_PERID_ID_SHIFT |
| #define | USB_PERID_ID(x) |
IDCOMP - Peripheral ID Complement | |
| #define | USB_IDCOMP_NID_MASK |
| #define | USB_IDCOMP_NID_SHIFT |
| #define | USB_IDCOMP_NID(x) |
REV - Peripheral Revision | |
| #define | USB_REV_REV_MASK |
| #define | USB_REV_REV_SHIFT |
| #define | USB_REV_REV(x) |
ADDINFO - Peripheral Additional Information | |
| #define | USB_ADDINFO_IEHOST_MASK |
| #define | USB_ADDINFO_IEHOST_SHIFT |
| #define | USB_ADDINFO_IEHOST(x) |
OTGISTAT - OTG Interrupt Status | |
| #define | USB_OTGISTAT_LINE_STATE_CHG_MASK |
| #define | USB_OTGISTAT_LINE_STATE_CHG_SHIFT |
| #define | USB_OTGISTAT_LINE_STATE_CHG(x) |
| #define | USB_OTGISTAT_ONEMSEC_MASK |
| #define | USB_OTGISTAT_ONEMSEC_SHIFT |
| #define | USB_OTGISTAT_ONEMSEC(x) |
OTGICR - OTG Interrupt Control | |
| #define | USB_OTGICR_LINESTATEEN_MASK |
| #define | USB_OTGICR_LINESTATEEN_SHIFT |
| #define | USB_OTGICR_LINESTATEEN(x) |
| #define | USB_OTGICR_ONEMSECEN_MASK |
| #define | USB_OTGICR_ONEMSECEN_SHIFT |
| #define | USB_OTGICR_ONEMSECEN(x) |
OTGSTAT - OTG Status | |
| #define | USB_OTGSTAT_LINESTATESTABLE_MASK |
| #define | USB_OTGSTAT_LINESTATESTABLE_SHIFT |
| #define | USB_OTGSTAT_LINESTATESTABLE(x) |
| #define | USB_OTGSTAT_ONEMSEC_MASK |
| #define | USB_OTGSTAT_ONEMSEC_SHIFT |
| #define | USB_OTGSTAT_ONEMSEC(x) |
OTGCTL - OTG Control | |
| #define | USB_OTGCTL_OTGEN_MASK |
| #define | USB_OTGCTL_OTGEN_SHIFT |
| #define | USB_OTGCTL_OTGEN(x) |
| #define | USB_OTGCTL_DMLOW_MASK |
| #define | USB_OTGCTL_DMLOW_SHIFT |
| #define | USB_OTGCTL_DMLOW(x) |
| #define | USB_OTGCTL_DPLOW_MASK |
| #define | USB_OTGCTL_DPLOW_SHIFT |
| #define | USB_OTGCTL_DPLOW(x) |
| #define | USB_OTGCTL_DPHIGH_MASK |
| #define | USB_OTGCTL_DPHIGH_SHIFT |
| #define | USB_OTGCTL_DPHIGH(x) |
ISTAT - Interrupt Status | |
| #define | USB_ISTAT_USBRST_MASK |
| #define | USB_ISTAT_USBRST_SHIFT |
| #define | USB_ISTAT_USBRST(x) |
| #define | USB_ISTAT_ERROR_MASK |
| #define | USB_ISTAT_ERROR_SHIFT |
| #define | USB_ISTAT_ERROR(x) |
| #define | USB_ISTAT_SOFTOK_MASK |
| #define | USB_ISTAT_SOFTOK_SHIFT |
| #define | USB_ISTAT_SOFTOK(x) |
| #define | USB_ISTAT_TOKDNE_MASK |
| #define | USB_ISTAT_TOKDNE_SHIFT |
| #define | USB_ISTAT_TOKDNE(x) |
| #define | USB_ISTAT_SLEEP_MASK |
| #define | USB_ISTAT_SLEEP_SHIFT |
| #define | USB_ISTAT_SLEEP(x) |
| #define | USB_ISTAT_RESUME_MASK |
| #define | USB_ISTAT_RESUME_SHIFT |
| #define | USB_ISTAT_RESUME(x) |
| #define | USB_ISTAT_ATTACH_MASK |
| #define | USB_ISTAT_ATTACH_SHIFT |
| #define | USB_ISTAT_ATTACH(x) |
| #define | USB_ISTAT_STALL_MASK |
| #define | USB_ISTAT_STALL_SHIFT |
| #define | USB_ISTAT_STALL(x) |
INTEN - Interrupt Enable | |
| #define | USB_INTEN_USBRSTEN_MASK |
| #define | USB_INTEN_USBRSTEN_SHIFT |
| #define | USB_INTEN_USBRSTEN(x) |
| #define | USB_INTEN_ERROREN_MASK |
| #define | USB_INTEN_ERROREN_SHIFT |
| #define | USB_INTEN_ERROREN(x) |
| #define | USB_INTEN_SOFTOKEN_MASK |
| #define | USB_INTEN_SOFTOKEN_SHIFT |
| #define | USB_INTEN_SOFTOKEN(x) |
| #define | USB_INTEN_TOKDNEEN_MASK |
| #define | USB_INTEN_TOKDNEEN_SHIFT |
| #define | USB_INTEN_TOKDNEEN(x) |
| #define | USB_INTEN_SLEEPEN_MASK |
| #define | USB_INTEN_SLEEPEN_SHIFT |
| #define | USB_INTEN_SLEEPEN(x) |
| #define | USB_INTEN_RESUMEEN_MASK |
| #define | USB_INTEN_RESUMEEN_SHIFT |
| #define | USB_INTEN_RESUMEEN(x) |
| #define | USB_INTEN_ATTACHEN_MASK |
| #define | USB_INTEN_ATTACHEN_SHIFT |
| #define | USB_INTEN_ATTACHEN(x) |
| #define | USB_INTEN_STALLEN_MASK |
| #define | USB_INTEN_STALLEN_SHIFT |
| #define | USB_INTEN_STALLEN(x) |
ERRSTAT - Error Interrupt Status | |
| #define | USB_ERRSTAT_PIDERR_MASK |
| #define | USB_ERRSTAT_PIDERR_SHIFT |
| #define | USB_ERRSTAT_PIDERR(x) |
| #define | USB_ERRSTAT_CRC5EOF_MASK |
| #define | USB_ERRSTAT_CRC5EOF_SHIFT |
| #define | USB_ERRSTAT_CRC5EOF(x) |
| #define | USB_ERRSTAT_CRC16_MASK |
| #define | USB_ERRSTAT_CRC16_SHIFT |
| #define | USB_ERRSTAT_CRC16(x) |
| #define | USB_ERRSTAT_DFN8_MASK |
| #define | USB_ERRSTAT_DFN8_SHIFT |
| #define | USB_ERRSTAT_DFN8(x) |
| #define | USB_ERRSTAT_BTOERR_MASK |
| #define | USB_ERRSTAT_BTOERR_SHIFT |
| #define | USB_ERRSTAT_BTOERR(x) |
| #define | USB_ERRSTAT_DMAERR_MASK |
| #define | USB_ERRSTAT_DMAERR_SHIFT |
| #define | USB_ERRSTAT_DMAERR(x) |
| #define | USB_ERRSTAT_OWNERR_MASK |
| #define | USB_ERRSTAT_OWNERR_SHIFT |
| #define | USB_ERRSTAT_OWNERR(x) |
| #define | USB_ERRSTAT_BTSERR_MASK |
| #define | USB_ERRSTAT_BTSERR_SHIFT |
| #define | USB_ERRSTAT_BTSERR(x) |
ERREN - Error Interrupt Enable | |
| #define | USB_ERREN_PIDERREN_MASK |
| #define | USB_ERREN_PIDERREN_SHIFT |
| #define | USB_ERREN_PIDERREN(x) |
| #define | USB_ERREN_CRC5EOFEN_MASK |
| #define | USB_ERREN_CRC5EOFEN_SHIFT |
| #define | USB_ERREN_CRC5EOFEN(x) |
| #define | USB_ERREN_CRC16EN_MASK |
| #define | USB_ERREN_CRC16EN_SHIFT |
| #define | USB_ERREN_CRC16EN(x) |
| #define | USB_ERREN_DFN8EN_MASK |
| #define | USB_ERREN_DFN8EN_SHIFT |
| #define | USB_ERREN_DFN8EN(x) |
| #define | USB_ERREN_BTOERREN_MASK |
| #define | USB_ERREN_BTOERREN_SHIFT |
| #define | USB_ERREN_BTOERREN(x) |
| #define | USB_ERREN_DMAERREN_MASK |
| #define | USB_ERREN_DMAERREN_SHIFT |
| #define | USB_ERREN_DMAERREN(x) |
| #define | USB_ERREN_OWNERREN_MASK |
| #define | USB_ERREN_OWNERREN_SHIFT |
| #define | USB_ERREN_OWNERREN(x) |
| #define | USB_ERREN_BTSERREN_MASK |
| #define | USB_ERREN_BTSERREN_SHIFT |
| #define | USB_ERREN_BTSERREN(x) |
STAT - Status | |
| #define | USB_STAT_ODD_MASK |
| #define | USB_STAT_ODD_SHIFT |
| #define | USB_STAT_ODD(x) |
| #define | USB_STAT_TX_MASK |
| #define | USB_STAT_TX_SHIFT |
| #define | USB_STAT_TX(x) |
| #define | USB_STAT_ENDP_MASK |
| #define | USB_STAT_ENDP_SHIFT |
| #define | USB_STAT_ENDP(x) |
CTL - Control | |
| #define | USB_CTL_USBENSOFEN_MASK |
| #define | USB_CTL_USBENSOFEN_SHIFT |
| #define | USB_CTL_USBENSOFEN(x) |
| #define | USB_CTL_ODDRST_MASK |
| #define | USB_CTL_ODDRST_SHIFT |
| #define | USB_CTL_ODDRST(x) |
| #define | USB_CTL_RESUME_MASK |
| #define | USB_CTL_RESUME_SHIFT |
| #define | USB_CTL_RESUME(x) |
| #define | USB_CTL_HOSTMODEEN_MASK |
| #define | USB_CTL_HOSTMODEEN_SHIFT |
| #define | USB_CTL_HOSTMODEEN(x) |
| #define | USB_CTL_RESET_MASK |
| #define | USB_CTL_RESET_SHIFT |
| #define | USB_CTL_RESET(x) |
| #define | USB_CTL_TXSUSPENDTOKENBUSY_MASK |
| #define | USB_CTL_TXSUSPENDTOKENBUSY_SHIFT |
| #define | USB_CTL_TXSUSPENDTOKENBUSY(x) |
| #define | USB_CTL_SE0_MASK |
| #define | USB_CTL_SE0_SHIFT |
| #define | USB_CTL_SE0(x) |
| #define | USB_CTL_JSTATE_MASK |
| #define | USB_CTL_JSTATE_SHIFT |
| #define | USB_CTL_JSTATE(x) |
ADDR - Address | |
| #define | USB_ADDR_ADDR_MASK |
| #define | USB_ADDR_ADDR_SHIFT |
| #define | USB_ADDR_ADDR(x) |
| #define | USB_ADDR_LSEN_MASK |
| #define | USB_ADDR_LSEN_SHIFT |
| #define | USB_ADDR_LSEN(x) |
BDTPAGE1 - BDT Page 1 | |
| #define | USB_BDTPAGE1_BDTBA_MASK |
| #define | USB_BDTPAGE1_BDTBA_SHIFT |
| #define | USB_BDTPAGE1_BDTBA(x) |
FRMNUML - Frame Number Register Low | |
| #define | USB_FRMNUML_FRM_MASK |
| #define | USB_FRMNUML_FRM_SHIFT |
| #define | USB_FRMNUML_FRM(x) |
FRMNUMH - Frame Number Register High | |
| #define | USB_FRMNUMH_FRM_MASK |
| #define | USB_FRMNUMH_FRM_SHIFT |
| #define | USB_FRMNUMH_FRM(x) |
TOKEN - Token | |
| #define | USB_TOKEN_TOKENENDPT_MASK |
| #define | USB_TOKEN_TOKENENDPT_SHIFT |
| #define | USB_TOKEN_TOKENENDPT(x) |
| #define | USB_TOKEN_TOKENPID_MASK |
| #define | USB_TOKEN_TOKENPID_SHIFT |
| #define | USB_TOKEN_TOKENPID(x) |
SOFTHLD - SOF Threshold | |
| #define | USB_SOFTHLD_CNT_MASK |
| #define | USB_SOFTHLD_CNT_SHIFT |
| #define | USB_SOFTHLD_CNT(x) |
BDTPAGE2 - BDT Page 2 | |
| #define | USB_BDTPAGE2_BDTBA_MASK |
| #define | USB_BDTPAGE2_BDTBA_SHIFT |
| #define | USB_BDTPAGE2_BDTBA(x) |
BDTPAGE3 - BDT Page 3 | |
| #define | USB_BDTPAGE3_BDTBA_MASK |
| #define | USB_BDTPAGE3_BDTBA_SHIFT |
| #define | USB_BDTPAGE3_BDTBA(x) |
ENDPT - Endpoint Control | |
| #define | USB_ENDPT_EPHSHK_MASK |
| #define | USB_ENDPT_EPHSHK_SHIFT |
| #define | USB_ENDPT_EPHSHK(x) |
| #define | USB_ENDPT_EPSTALL_MASK |
| #define | USB_ENDPT_EPSTALL_SHIFT |
| #define | USB_ENDPT_EPSTALL(x) |
| #define | USB_ENDPT_EPTXEN_MASK |
| #define | USB_ENDPT_EPTXEN_SHIFT |
| #define | USB_ENDPT_EPTXEN(x) |
| #define | USB_ENDPT_EPRXEN_MASK |
| #define | USB_ENDPT_EPRXEN_SHIFT |
| #define | USB_ENDPT_EPRXEN(x) |
| #define | USB_ENDPT_EPCTLDIS_MASK |
| #define | USB_ENDPT_EPCTLDIS_SHIFT |
| #define | USB_ENDPT_EPCTLDIS(x) |
| #define | USB_ENDPT_RETRYDIS_MASK |
| #define | USB_ENDPT_RETRYDIS_SHIFT |
| #define | USB_ENDPT_RETRYDIS(x) |
| #define | USB_ENDPT_HOSTWOHUB_MASK |
| #define | USB_ENDPT_HOSTWOHUB_SHIFT |
| #define | USB_ENDPT_HOSTWOHUB(x) |
USBCTRL - USB Control | |
| #define | USB_USBCTRL_DPDM_LANE_REVERSE_MASK |
| #define | USB_USBCTRL_DPDM_LANE_REVERSE_SHIFT |
| #define | USB_USBCTRL_DPDM_LANE_REVERSE(x) |
| #define | USB_USBCTRL_HOST_LS_EOP_MASK |
| #define | USB_USBCTRL_HOST_LS_EOP_SHIFT |
| #define | USB_USBCTRL_HOST_LS_EOP(x) |
| #define | USB_USBCTRL_UARTSEL_MASK |
| #define | USB_USBCTRL_UARTSEL_SHIFT |
| #define | USB_USBCTRL_UARTSEL(x) |
| #define | USB_USBCTRL_UARTCHLS_MASK |
| #define | USB_USBCTRL_UARTCHLS_SHIFT |
| #define | USB_USBCTRL_UARTCHLS(x) |
| #define | USB_USBCTRL_PDE_MASK |
| #define | USB_USBCTRL_PDE_SHIFT |
| #define | USB_USBCTRL_PDE(x) |
| #define | USB_USBCTRL_SUSP_MASK |
| #define | USB_USBCTRL_SUSP_SHIFT |
| #define | USB_USBCTRL_SUSP(x) |
OBSERVE - USB OTG Observe | |
| #define | USB_OBSERVE_DMPD_MASK |
| #define | USB_OBSERVE_DMPD_SHIFT |
| #define | USB_OBSERVE_DMPD(x) |
| #define | USB_OBSERVE_DPPD_MASK |
| #define | USB_OBSERVE_DPPD_SHIFT |
| #define | USB_OBSERVE_DPPD(x) |
| #define | USB_OBSERVE_DPPU_MASK |
| #define | USB_OBSERVE_DPPU_SHIFT |
| #define | USB_OBSERVE_DPPU(x) |
CONTROL - USB OTG Control | |
| #define | USB_CONTROL_VBUS_SOURCE_SEL_MASK |
| #define | USB_CONTROL_VBUS_SOURCE_SEL_SHIFT |
| #define | USB_CONTROL_VBUS_SOURCE_SEL(x) |
| #define | USB_CONTROL_SESS_VLD_MASK |
| #define | USB_CONTROL_SESS_VLD_SHIFT |
| #define | USB_CONTROL_SESS_VLD(x) |
| #define | USB_CONTROL_DPPULLUPNONOTG_MASK |
| #define | USB_CONTROL_DPPULLUPNONOTG_SHIFT |
| #define | USB_CONTROL_DPPULLUPNONOTG(x) |
USBTRC0 - USB Transceiver Control 0 | |
| #define | USB_USBTRC0_USB_RESUME_INT_MASK |
| #define | USB_USBTRC0_USB_RESUME_INT_SHIFT |
| #define | USB_USBTRC0_USB_RESUME_INT(x) |
| #define | USB_USBTRC0_SYNC_DET_MASK |
| #define | USB_USBTRC0_SYNC_DET_SHIFT |
| #define | USB_USBTRC0_SYNC_DET(x) |
| #define | USB_USBTRC0_USB_CLK_RECOVERY_INT_MASK |
| #define | USB_USBTRC0_USB_CLK_RECOVERY_INT_SHIFT |
| #define | USB_USBTRC0_USB_CLK_RECOVERY_INT(x) |
| #define | USB_USBTRC0_VREDG_DET_MASK |
| #define | USB_USBTRC0_VREDG_DET_SHIFT |
| #define | USB_USBTRC0_VREDG_DET(x) |
| #define | USB_USBTRC0_VFEDG_DET_MASK |
| #define | USB_USBTRC0_VFEDG_DET_SHIFT |
| #define | USB_USBTRC0_VFEDG_DET(x) |
| #define | USB_USBTRC0_USBRESMEN_MASK |
| #define | USB_USBTRC0_USBRESMEN_SHIFT |
| #define | USB_USBTRC0_USBRESMEN(x) |
| #define | USB_USBTRC0_VREGIN_STS_MASK |
| #define | USB_USBTRC0_VREGIN_STS_SHIFT |
| #define | USB_USBTRC0_VREGIN_STS(x) |
| #define | USB_USBTRC0_USBRESET_MASK |
| #define | USB_USBTRC0_USBRESET_SHIFT |
| #define | USB_USBTRC0_USBRESET(x) |
USBFRMADJUST - Frame Adjust | |
| #define | USB_USBFRMADJUST_ADJ_MASK |
| #define | USB_USBFRMADJUST_ADJ_SHIFT |
| #define | USB_USBFRMADJUST_ADJ(x) |
KEEP_ALIVE_CTRL - Keep Alive Mode Control | |
| #define | USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_EN_MASK |
| #define | USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_EN_SHIFT |
| #define | USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_EN(x) |
| #define | USB_KEEP_ALIVE_CTRL_OWN_OVERRD_EN_MASK |
| #define | USB_KEEP_ALIVE_CTRL_OWN_OVERRD_EN_SHIFT |
| #define | USB_KEEP_ALIVE_CTRL_OWN_OVERRD_EN(x) |
| #define | USB_KEEP_ALIVE_CTRL_STOP_ACK_DLY_EN_MASK |
| #define | USB_KEEP_ALIVE_CTRL_STOP_ACK_DLY_EN_SHIFT |
| #define | USB_KEEP_ALIVE_CTRL_STOP_ACK_DLY_EN(x) |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_REQ_EN_MASK |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_REQ_EN_SHIFT |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_REQ_EN(x) |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_INT_EN_MASK |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_INT_EN_SHIFT |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_INT_EN(x) |
| #define | USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_STS_MASK |
| #define | USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_STS_SHIFT |
| #define | USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_STS(x) |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_INT_STS_MASK |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_INT_STS_SHIFT |
| #define | USB_KEEP_ALIVE_CTRL_WAKE_INT_STS(x) |
KEEP_ALIVE_WKCTRL - Keep Alive Mode Wakeup Control | |
| #define | USB_KEEP_ALIVE_WKCTRL_WAKE_ON_THIS_MASK |
| #define | USB_KEEP_ALIVE_WKCTRL_WAKE_ON_THIS_SHIFT |
| #define | USB_KEEP_ALIVE_WKCTRL_WAKE_ON_THIS(x) |
| #define | USB_KEEP_ALIVE_WKCTRL_WAKE_ENDPT_MASK |
| #define | USB_KEEP_ALIVE_WKCTRL_WAKE_ENDPT_SHIFT |
| #define | USB_KEEP_ALIVE_WKCTRL_WAKE_ENDPT(x) |
MISCCTRL - Miscellaneous Control | |
| #define | USB_MISCCTRL_SOFDYNTHLD_MASK |
| #define | USB_MISCCTRL_SOFDYNTHLD_SHIFT |
| #define | USB_MISCCTRL_SOFDYNTHLD(x) |
| #define | USB_MISCCTRL_SOFBUSSET_MASK |
| #define | USB_MISCCTRL_SOFBUSSET_SHIFT |
| #define | USB_MISCCTRL_SOFBUSSET(x) |
| #define | USB_MISCCTRL_OWNERRISODIS_MASK |
| #define | USB_MISCCTRL_OWNERRISODIS_SHIFT |
| #define | USB_MISCCTRL_OWNERRISODIS(x) |
| #define | USB_MISCCTRL_VREDG_EN_MASK |
| #define | USB_MISCCTRL_VREDG_EN_SHIFT |
| #define | USB_MISCCTRL_VREDG_EN(x) |
| #define | USB_MISCCTRL_VFEDG_EN_MASK |
| #define | USB_MISCCTRL_VFEDG_EN_SHIFT |
| #define | USB_MISCCTRL_VFEDG_EN(x) |
| #define | USB_MISCCTRL_STL_ADJ_EN_MASK |
| #define | USB_MISCCTRL_STL_ADJ_EN_SHIFT |
| #define | USB_MISCCTRL_STL_ADJ_EN(x) |
STALL_IL_DIS - Peripheral Mode Stall Disable for Endpoints 7 to 0 in IN Direction | |
| #define | USB_STALL_IL_DIS_STALL_I_DIS0_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS0_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS0(x) |
| #define | USB_STALL_IL_DIS_STALL_I_DIS1_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS1_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS1(x) |
| #define | USB_STALL_IL_DIS_STALL_I_DIS2_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS2_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS2(x) |
| #define | USB_STALL_IL_DIS_STALL_I_DIS3_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS3_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS3(x) |
| #define | USB_STALL_IL_DIS_STALL_I_DIS4_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS4_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS4(x) |
| #define | USB_STALL_IL_DIS_STALL_I_DIS5_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS5_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS5(x) |
| #define | USB_STALL_IL_DIS_STALL_I_DIS6_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS6_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS6(x) |
| #define | USB_STALL_IL_DIS_STALL_I_DIS7_MASK |
| #define | USB_STALL_IL_DIS_STALL_I_DIS7_SHIFT |
| #define | USB_STALL_IL_DIS_STALL_I_DIS7(x) |
STALL_IH_DIS - Peripheral Mode Stall Disable for Endpoints 15 to 8 in IN Direction | |
| #define | USB_STALL_IH_DIS_STALL_I_DIS8_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS8_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS8(x) |
| #define | USB_STALL_IH_DIS_STALL_I_DIS9_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS9_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS9(x) |
| #define | USB_STALL_IH_DIS_STALL_I_DIS10_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS10_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS10(x) |
| #define | USB_STALL_IH_DIS_STALL_I_DIS11_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS11_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS11(x) |
| #define | USB_STALL_IH_DIS_STALL_I_DIS12_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS12_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS12(x) |
| #define | USB_STALL_IH_DIS_STALL_I_DIS13_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS13_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS13(x) |
| #define | USB_STALL_IH_DIS_STALL_I_DIS14_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS14_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS14(x) |
| #define | USB_STALL_IH_DIS_STALL_I_DIS15_MASK |
| #define | USB_STALL_IH_DIS_STALL_I_DIS15_SHIFT |
| #define | USB_STALL_IH_DIS_STALL_I_DIS15(x) |
STALL_OL_DIS - Peripheral Mode Stall Disable for Endpoints 7 to 0 in OUT Direction | |
| #define | USB_STALL_OL_DIS_STALL_O_DIS0_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS0_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS0(x) |
| #define | USB_STALL_OL_DIS_STALL_O_DIS1_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS1_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS1(x) |
| #define | USB_STALL_OL_DIS_STALL_O_DIS2_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS2_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS2(x) |
| #define | USB_STALL_OL_DIS_STALL_O_DIS3_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS3_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS3(x) |
| #define | USB_STALL_OL_DIS_STALL_O_DIS4_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS4_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS4(x) |
| #define | USB_STALL_OL_DIS_STALL_O_DIS5_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS5_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS5(x) |
| #define | USB_STALL_OL_DIS_STALL_O_DIS6_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS6_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS6(x) |
| #define | USB_STALL_OL_DIS_STALL_O_DIS7_MASK |
| #define | USB_STALL_OL_DIS_STALL_O_DIS7_SHIFT |
| #define | USB_STALL_OL_DIS_STALL_O_DIS7(x) |
STALL_OH_DIS - Peripheral Mode Stall Disable for Endpoints 15 to 8 in OUT Direction | |
| #define | USB_STALL_OH_DIS_STALL_O_DIS8_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS8_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS8(x) |
| #define | USB_STALL_OH_DIS_STALL_O_DIS9_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS9_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS9(x) |
| #define | USB_STALL_OH_DIS_STALL_O_DIS10_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS10_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS10(x) |
| #define | USB_STALL_OH_DIS_STALL_O_DIS11_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS11_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS11(x) |
| #define | USB_STALL_OH_DIS_STALL_O_DIS12_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS12_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS12(x) |
| #define | USB_STALL_OH_DIS_STALL_O_DIS13_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS13_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS13(x) |
| #define | USB_STALL_OH_DIS_STALL_O_DIS14_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS14_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS14(x) |
| #define | USB_STALL_OH_DIS_STALL_O_DIS15_MASK |
| #define | USB_STALL_OH_DIS_STALL_O_DIS15_SHIFT |
| #define | USB_STALL_OH_DIS_STALL_O_DIS15(x) |
CLK_RECOVER_CTRL - USB Clock Recovery Control | |
| #define | USB_CLK_RECOVER_CTRL_TRIM_INIT_VAL_SEL_MASK |
| #define | USB_CLK_RECOVER_CTRL_TRIM_INIT_VAL_SEL_SHIFT |
| #define | USB_CLK_RECOVER_CTRL_TRIM_INIT_VAL_SEL(x) |
| #define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_MASK |
| #define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_SHIFT |
| #define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN(x) |
| #define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_MASK |
| #define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_SHIFT |
| #define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN(x) |
| #define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_MASK |
| #define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_SHIFT |
| #define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN(x) |
CLK_RECOVER_IRC_EN - FIRC Oscillator Enable | |
| #define | USB_CLK_RECOVER_IRC_EN_IRC_EN_MASK |
| #define | USB_CLK_RECOVER_IRC_EN_IRC_EN_SHIFT |
| #define | USB_CLK_RECOVER_IRC_EN_IRC_EN(x) |
CLK_RECOVER_INT_EN - Clock Recovery Combined Interrupt Enable | |
| #define | USB_CLK_RECOVER_INT_EN_OVF_ERROR_EN_MASK |
| #define | USB_CLK_RECOVER_INT_EN_OVF_ERROR_EN_SHIFT |
| #define | USB_CLK_RECOVER_INT_EN_OVF_ERROR_EN(x) |
CLK_RECOVER_INT_STATUS - Clock Recovery Separated Interrupt Status | |
| #define | USB_CLK_RECOVER_INT_STATUS_OVF_ERROR_MASK |
| #define | USB_CLK_RECOVER_INT_STATUS_OVF_ERROR_SHIFT |
| #define | USB_CLK_RECOVER_INT_STATUS_OVF_ERROR(x) |
ID - Identification | |
| #define | USB_ID_ID_MASK |
| #define | USB_ID_ID_SHIFT |
| #define | USB_ID_ID(x) |
| #define | USB_ID_NID_MASK |
| #define | USB_ID_NID_SHIFT |
| #define | USB_ID_NID(x) |
| #define | USB_ID_REVISION_MASK |
| #define | USB_ID_REVISION_SHIFT |
| #define | USB_ID_REVISION(x) |
HWGENERAL - Hardware General | |
| #define | USB_HWGENERAL_PHYW_MASK |
| #define | USB_HWGENERAL_PHYW_SHIFT |
| #define | USB_HWGENERAL_PHYW(x) |
| #define | USB_HWGENERAL_PHYM_MASK |
| #define | USB_HWGENERAL_PHYM_SHIFT |
| #define | USB_HWGENERAL_PHYM(x) |
| #define | USB_HWGENERAL_SM_MASK |
| #define | USB_HWGENERAL_SM_SHIFT |
| #define | USB_HWGENERAL_SM(x) |
| #define | USB_HWGENERAL_LPM_MASK |
| #define | USB_HWGENERAL_LPM_SHIFT |
| #define | USB_HWGENERAL_LPM(x) |
HWHOST - Host Hardware Parameters | |
| #define | USB_HWHOST_HC_MASK |
| #define | USB_HWHOST_HC_SHIFT |
| #define | USB_HWHOST_HC(x) |
| #define | USB_HWHOST_NPORT_MASK |
| #define | USB_HWHOST_NPORT_SHIFT |
| #define | USB_HWHOST_NPORT(x) |
HWDEVICE - Device Hardware Parameters | |
| #define | USB_HWDEVICE_DC_MASK |
| #define | USB_HWDEVICE_DC_SHIFT |
| #define | USB_HWDEVICE_DC(x) |
| #define | USB_HWDEVICE_DEVEP_MASK |
| #define | USB_HWDEVICE_DEVEP_SHIFT |
| #define | USB_HWDEVICE_DEVEP(x) |
HWTXBUF - TX Buffer Hardware Parameters | |
| #define | USB_HWTXBUF_TXBURST_MASK |
| #define | USB_HWTXBUF_TXBURST_SHIFT |
| #define | USB_HWTXBUF_TXBURST(x) |
| #define | USB_HWTXBUF_TXCHANADD_MASK |
| #define | USB_HWTXBUF_TXCHANADD_SHIFT |
| #define | USB_HWTXBUF_TXCHANADD(x) |
HWRXBUF - RX Buffer Hardware Parameters | |
| #define | USB_HWRXBUF_RXBURST_MASK |
| #define | USB_HWRXBUF_RXBURST_SHIFT |
| #define | USB_HWRXBUF_RXBURST(x) |
| #define | USB_HWRXBUF_RXADD_MASK |
| #define | USB_HWRXBUF_RXADD_SHIFT |
| #define | USB_HWRXBUF_RXADD(x) |
GPTIMER0LD - General Purpose Timer #0 Load | |
| #define | USB_GPTIMER0LD_GPTLD_MASK |
| #define | USB_GPTIMER0LD_GPTLD_SHIFT |
| #define | USB_GPTIMER0LD_GPTLD(x) |
GPTIMER0CTRL - General Purpose Timer #0 Controller | |
| #define | USB_GPTIMER0CTRL_GPTCNT_MASK |
| #define | USB_GPTIMER0CTRL_GPTCNT_SHIFT |
| #define | USB_GPTIMER0CTRL_GPTCNT(x) |
| #define | USB_GPTIMER0CTRL_GPTMODE_MASK |
| #define | USB_GPTIMER0CTRL_GPTMODE_SHIFT |
| #define | USB_GPTIMER0CTRL_GPTMODE(x) |
| #define | USB_GPTIMER0CTRL_GPTRST_MASK |
| #define | USB_GPTIMER0CTRL_GPTRST_SHIFT |
| #define | USB_GPTIMER0CTRL_GPTRST(x) |
| #define | USB_GPTIMER0CTRL_GPTRUN_MASK |
| #define | USB_GPTIMER0CTRL_GPTRUN_SHIFT |
| #define | USB_GPTIMER0CTRL_GPTRUN(x) |
GPTIMER1LD - General Purpose Timer #1 Load | |
| #define | USB_GPTIMER1LD_GPTLD_MASK |
| #define | USB_GPTIMER1LD_GPTLD_SHIFT |
| #define | USB_GPTIMER1LD_GPTLD(x) |
GPTIMER1CTRL - General Purpose Timer #1 Controller | |
| #define | USB_GPTIMER1CTRL_GPTCNT_MASK |
| #define | USB_GPTIMER1CTRL_GPTCNT_SHIFT |
| #define | USB_GPTIMER1CTRL_GPTCNT(x) |
| #define | USB_GPTIMER1CTRL_GPTMODE_MASK |
| #define | USB_GPTIMER1CTRL_GPTMODE_SHIFT |
| #define | USB_GPTIMER1CTRL_GPTMODE(x) |
| #define | USB_GPTIMER1CTRL_GPTRST_MASK |
| #define | USB_GPTIMER1CTRL_GPTRST_SHIFT |
| #define | USB_GPTIMER1CTRL_GPTRST(x) |
| #define | USB_GPTIMER1CTRL_GPTRUN_MASK |
| #define | USB_GPTIMER1CTRL_GPTRUN_SHIFT |
| #define | USB_GPTIMER1CTRL_GPTRUN(x) |
SBUSCFG - System Bus Configuration | |
| #define | USB_SBUSCFG_AHBBRST_MASK |
| #define | USB_SBUSCFG_AHBBRST_SHIFT |
| #define | USB_SBUSCFG_AHBBRST(x) |
CAPLENGTH - Capability Registers Length | |
| #define | USB_CAPLENGTH_CAPLENGTH_MASK |
| #define | USB_CAPLENGTH_CAPLENGTH_SHIFT |
| #define | USB_CAPLENGTH_CAPLENGTH(x) |
HCIVERSION - Host Controller Interface Version | |
| #define | USB_HCIVERSION_HCIVERSION_MASK |
| #define | USB_HCIVERSION_HCIVERSION_SHIFT |
| #define | USB_HCIVERSION_HCIVERSION(x) |
HCSPARAMS - Host Controller Structural Parameters | |
| #define | USB_HCSPARAMS_N_PORTS_MASK |
| #define | USB_HCSPARAMS_N_PORTS_SHIFT |
| #define | USB_HCSPARAMS_N_PORTS(x) |
| #define | USB_HCSPARAMS_PPC_MASK |
| #define | USB_HCSPARAMS_PPC_SHIFT |
| #define | USB_HCSPARAMS_PPC(x) |
| #define | USB_HCSPARAMS_N_PCC_MASK |
| #define | USB_HCSPARAMS_N_PCC_SHIFT |
| #define | USB_HCSPARAMS_N_PCC(x) |
| #define | USB_HCSPARAMS_N_CC_MASK |
| #define | USB_HCSPARAMS_N_CC_SHIFT |
| #define | USB_HCSPARAMS_N_CC(x) |
| #define | USB_HCSPARAMS_PI_MASK |
| #define | USB_HCSPARAMS_PI_SHIFT |
| #define | USB_HCSPARAMS_PI(x) |
| #define | USB_HCSPARAMS_N_PTT_MASK |
| #define | USB_HCSPARAMS_N_PTT_SHIFT |
| #define | USB_HCSPARAMS_N_PTT(x) |
| #define | USB_HCSPARAMS_N_TT_MASK |
| #define | USB_HCSPARAMS_N_TT_SHIFT |
| #define | USB_HCSPARAMS_N_TT(x) |
HCCPARAMS - Host Controller Capability Parameters | |
| #define | USB_HCCPARAMS_ADC_MASK |
| #define | USB_HCCPARAMS_ADC_SHIFT |
| #define | USB_HCCPARAMS_ADC(x) |
| #define | USB_HCCPARAMS_PFL_MASK |
| #define | USB_HCCPARAMS_PFL_SHIFT |
| #define | USB_HCCPARAMS_PFL(x) |
| #define | USB_HCCPARAMS_ASP_MASK |
| #define | USB_HCCPARAMS_ASP_SHIFT |
| #define | USB_HCCPARAMS_ASP(x) |
| #define | USB_HCCPARAMS_IST_MASK |
| #define | USB_HCCPARAMS_IST_SHIFT |
| #define | USB_HCCPARAMS_IST(x) |
| #define | USB_HCCPARAMS_EECP_MASK |
| #define | USB_HCCPARAMS_EECP_SHIFT |
| #define | USB_HCCPARAMS_EECP(x) |
DCIVERSION - Device Controller Interface Version | |
| #define | USB_DCIVERSION_DCIVERSION_MASK |
| #define | USB_DCIVERSION_DCIVERSION_SHIFT |
| #define | USB_DCIVERSION_DCIVERSION(x) |
DCCPARAMS - Device Controller Capability Parameters | |
| #define | USB_DCCPARAMS_DEN_MASK |
| #define | USB_DCCPARAMS_DEN_SHIFT |
| #define | USB_DCCPARAMS_DEN(x) |
| #define | USB_DCCPARAMS_DC_MASK |
| #define | USB_DCCPARAMS_DC_SHIFT |
| #define | USB_DCCPARAMS_DC(x) |
| #define | USB_DCCPARAMS_HC_MASK |
| #define | USB_DCCPARAMS_HC_SHIFT |
| #define | USB_DCCPARAMS_HC(x) |
USBCMD - USB Command | |
| #define | USB_USBCMD_RS_MASK |
| #define | USB_USBCMD_RS_SHIFT |
| #define | USB_USBCMD_RS(x) |
| #define | USB_USBCMD_RST_MASK |
| #define | USB_USBCMD_RST_SHIFT |
| #define | USB_USBCMD_RST(x) |
| #define | USB_USBCMD_FS_1_MASK |
| #define | USB_USBCMD_FS_1_SHIFT |
| #define | USB_USBCMD_FS_1(x) |
| #define | USB_USBCMD_PSE_MASK |
| #define | USB_USBCMD_PSE_SHIFT |
| #define | USB_USBCMD_PSE(x) |
| #define | USB_USBCMD_ASE_MASK |
| #define | USB_USBCMD_ASE_SHIFT |
| #define | USB_USBCMD_ASE(x) |
| #define | USB_USBCMD_IAA_MASK |
| #define | USB_USBCMD_IAA_SHIFT |
| #define | USB_USBCMD_IAA(x) |
| #define | USB_USBCMD_ASP_MASK |
| #define | USB_USBCMD_ASP_SHIFT |
| #define | USB_USBCMD_ASP(x) |
| #define | USB_USBCMD_ASPE_MASK |
| #define | USB_USBCMD_ASPE_SHIFT |
| #define | USB_USBCMD_ASPE(x) |
| #define | USB_USBCMD_SUTW_MASK |
| #define | USB_USBCMD_SUTW_SHIFT |
| #define | USB_USBCMD_SUTW(x) |
| #define | USB_USBCMD_ATDTW_MASK |
| #define | USB_USBCMD_ATDTW_SHIFT |
| #define | USB_USBCMD_ATDTW(x) |
| #define | USB_USBCMD_FS_2_MASK |
| #define | USB_USBCMD_FS_2_SHIFT |
| #define | USB_USBCMD_FS_2(x) |
| #define | USB_USBCMD_ITC_MASK |
| #define | USB_USBCMD_ITC_SHIFT |
| #define | USB_USBCMD_ITC(x) |
USBSTS - USB Status | |
| #define | USB_USBSTS_UI_MASK |
| #define | USB_USBSTS_UI_SHIFT |
| #define | USB_USBSTS_UI(x) |
| #define | USB_USBSTS_UEI_MASK |
| #define | USB_USBSTS_UEI_SHIFT |
| #define | USB_USBSTS_UEI(x) |
| #define | USB_USBSTS_PCI_MASK |
| #define | USB_USBSTS_PCI_SHIFT |
| #define | USB_USBSTS_PCI(x) |
| #define | USB_USBSTS_FRI_MASK |
| #define | USB_USBSTS_FRI_SHIFT |
| #define | USB_USBSTS_FRI(x) |
| #define | USB_USBSTS_SEI_MASK |
| #define | USB_USBSTS_SEI_SHIFT |
| #define | USB_USBSTS_SEI(x) |
| #define | USB_USBSTS_AAI_MASK |
| #define | USB_USBSTS_AAI_SHIFT |
| #define | USB_USBSTS_AAI(x) |
| #define | USB_USBSTS_URI_MASK |
| #define | USB_USBSTS_URI_SHIFT |
| #define | USB_USBSTS_URI(x) |
| #define | USB_USBSTS_SRI_MASK |
| #define | USB_USBSTS_SRI_SHIFT |
| #define | USB_USBSTS_SRI(x) |
| #define | USB_USBSTS_SLI_MASK |
| #define | USB_USBSTS_SLI_SHIFT |
| #define | USB_USBSTS_SLI(x) |
| #define | USB_USBSTS_ULPII_MASK |
| #define | USB_USBSTS_ULPII_SHIFT |
| #define | USB_USBSTS_ULPII(x) |
| #define | USB_USBSTS_HCH_MASK |
| #define | USB_USBSTS_HCH_SHIFT |
| #define | USB_USBSTS_HCH(x) |
| #define | USB_USBSTS_RCL_MASK |
| #define | USB_USBSTS_RCL_SHIFT |
| #define | USB_USBSTS_RCL(x) |
| #define | USB_USBSTS_PS_MASK |
| #define | USB_USBSTS_PS_SHIFT |
| #define | USB_USBSTS_PS(x) |
| #define | USB_USBSTS_AS_MASK |
| #define | USB_USBSTS_AS_SHIFT |
| #define | USB_USBSTS_AS(x) |
| #define | USB_USBSTS_NAKI_MASK |
| #define | USB_USBSTS_NAKI_SHIFT |
| #define | USB_USBSTS_NAKI(x) |
| #define | USB_USBSTS_UAI_MASK |
| #define | USB_USBSTS_UAI_SHIFT |
| #define | USB_USBSTS_UAI(x) |
| #define | USB_USBSTS_UPI_MASK |
| #define | USB_USBSTS_UPI_SHIFT |
| #define | USB_USBSTS_UPI(x) |
| #define | USB_USBSTS_TI0_MASK |
| #define | USB_USBSTS_TI0_SHIFT |
| #define | USB_USBSTS_TI0(x) |
| #define | USB_USBSTS_TI1_MASK |
| #define | USB_USBSTS_TI1_SHIFT |
| #define | USB_USBSTS_TI1(x) |
| #define | USB_USBSTS_LPM_L1_EXITI_MASK |
| #define | USB_USBSTS_LPM_L1_EXITI_SHIFT |
| #define | USB_USBSTS_LPM_L1_EXITI(x) |
| #define | USB_USBSTS_LPM_L1_ENTRYI_MASK |
| #define | USB_USBSTS_LPM_L1_ENTRYI_SHIFT |
| #define | USB_USBSTS_LPM_L1_ENTRYI(x) |
| #define | USB_USBSTS_LPM_DEV_RCVDI_MASK |
| #define | USB_USBSTS_LPM_DEV_RCVDI_SHIFT |
| #define | USB_USBSTS_LPM_DEV_RCVDI(x) |
| #define | USB_USBSTS_LPM_HST_COMPI_MASK |
| #define | USB_USBSTS_LPM_HST_COMPI_SHIFT |
| #define | USB_USBSTS_LPM_HST_COMPI(x) |
USBINTR - Interrupt Enable | |
| #define | USB_USBINTR_UE_MASK |
| #define | USB_USBINTR_UE_SHIFT |
| #define | USB_USBINTR_UE(x) |
| #define | USB_USBINTR_UEE_MASK |
| #define | USB_USBINTR_UEE_SHIFT |
| #define | USB_USBINTR_UEE(x) |
| #define | USB_USBINTR_PCE_MASK |
| #define | USB_USBINTR_PCE_SHIFT |
| #define | USB_USBINTR_PCE(x) |
| #define | USB_USBINTR_FRE_MASK |
| #define | USB_USBINTR_FRE_SHIFT |
| #define | USB_USBINTR_FRE(x) |
| #define | USB_USBINTR_SEE_MASK |
| #define | USB_USBINTR_SEE_SHIFT |
| #define | USB_USBINTR_SEE(x) |
| #define | USB_USBINTR_AAE_MASK |
| #define | USB_USBINTR_AAE_SHIFT |
| #define | USB_USBINTR_AAE(x) |
| #define | USB_USBINTR_URE_MASK |
| #define | USB_USBINTR_URE_SHIFT |
| #define | USB_USBINTR_URE(x) |
| #define | USB_USBINTR_SRE_MASK |
| #define | USB_USBINTR_SRE_SHIFT |
| #define | USB_USBINTR_SRE(x) |
| #define | USB_USBINTR_SLE_MASK |
| #define | USB_USBINTR_SLE_SHIFT |
| #define | USB_USBINTR_SLE(x) |
| #define | USB_USBINTR_NAKE_MASK |
| #define | USB_USBINTR_NAKE_SHIFT |
| #define | USB_USBINTR_NAKE(x) |
| #define | USB_USBINTR_UAIE_MASK |
| #define | USB_USBINTR_UAIE_SHIFT |
| #define | USB_USBINTR_UAIE(x) |
| #define | USB_USBINTR_UPIE_MASK |
| #define | USB_USBINTR_UPIE_SHIFT |
| #define | USB_USBINTR_UPIE(x) |
| #define | USB_USBINTR_TIE0_MASK |
| #define | USB_USBINTR_TIE0_SHIFT |
| #define | USB_USBINTR_TIE0(x) |
| #define | USB_USBINTR_TIE1_MASK |
| #define | USB_USBINTR_TIE1_SHIFT |
| #define | USB_USBINTR_TIE1(x) |
| #define | USB_USBINTR_LPM_L1_EXITIE_MASK |
| #define | USB_USBINTR_LPM_L1_EXITIE_SHIFT |
| #define | USB_USBINTR_LPM_L1_EXITIE(x) |
| #define | USB_USBINTR_LPM_L1_ENTRYIE_MASK |
| #define | USB_USBINTR_LPM_L1_ENTRYIE_SHIFT |
| #define | USB_USBINTR_LPM_L1_ENTRYIE(x) |
| #define | USB_USBINTR_LPM_DEV_RCVDIE_MASK |
| #define | USB_USBINTR_LPM_DEV_RCVDIE_SHIFT |
| #define | USB_USBINTR_LPM_DEV_RCVDIE(x) |
| #define | USB_USBINTR_LPM_HST_COMPIE_MASK |
| #define | USB_USBINTR_LPM_HST_COMPIE_SHIFT |
| #define | USB_USBINTR_LPM_HST_COMPIE(x) |
FRINDEX - USB Frame Index | |
| #define | USB_FRINDEX_FRINDEX_MASK |
| #define | USB_FRINDEX_FRINDEX_SHIFT |
| #define | USB_FRINDEX_FRINDEX(x) |
DEVICEADDR - Device Address | |
| #define | USB_DEVICEADDR_USBADRA_MASK |
| #define | USB_DEVICEADDR_USBADRA_SHIFT |
| #define | USB_DEVICEADDR_USBADRA(x) |
| #define | USB_DEVICEADDR_USBADR_MASK |
| #define | USB_DEVICEADDR_USBADR_SHIFT |
| #define | USB_DEVICEADDR_USBADR(x) |
PERIODICLISTBASE - Frame List Base Address | |
| #define | USB_PERIODICLISTBASE_BASEADR_MASK |
| #define | USB_PERIODICLISTBASE_BASEADR_SHIFT |
| #define | USB_PERIODICLISTBASE_BASEADR(x) |
ASYNCLISTADDR - Next Asynchronous Address | |
| #define | USB_ASYNCLISTADDR_ASYBASE_MASK |
| #define | USB_ASYNCLISTADDR_ASYBASE_SHIFT |
| #define | USB_ASYNCLISTADDR_ASYBASE(x) |
ENDPTLISTADDR - Endpoint List Address | |
| #define | USB_ENDPTLISTADDR_EPBASE_MASK |
| #define | USB_ENDPTLISTADDR_EPBASE_SHIFT |
| #define | USB_ENDPTLISTADDR_EPBASE(x) |
BURSTSIZE - Programmable Burst Size | |
| #define | USB_BURSTSIZE_RXPBURST_MASK |
| #define | USB_BURSTSIZE_RXPBURST_SHIFT |
| #define | USB_BURSTSIZE_RXPBURST(x) |
| #define | USB_BURSTSIZE_TXPBURST_MASK |
| #define | USB_BURSTSIZE_TXPBURST_SHIFT |
| #define | USB_BURSTSIZE_TXPBURST(x) |
TXFILLTUNING - TX FIFO Fill Tuning | |
| #define | USB_TXFILLTUNING_TXSCHOH_MASK |
| #define | USB_TXFILLTUNING_TXSCHOH_SHIFT |
| #define | USB_TXFILLTUNING_TXSCHOH(x) |
| #define | USB_TXFILLTUNING_TXSCHHEALTH_MASK |
| #define | USB_TXFILLTUNING_TXSCHHEALTH_SHIFT |
| #define | USB_TXFILLTUNING_TXSCHHEALTH(x) |
| #define | USB_TXFILLTUNING_TXFIFOTHRES_MASK |
| #define | USB_TXFILLTUNING_TXFIFOTHRES_SHIFT |
| #define | USB_TXFILLTUNING_TXFIFOTHRES(x) |
ENDPTNAK - Endpoint NAK | |
| #define | USB_ENDPTNAK_EPRN_MASK |
| #define | USB_ENDPTNAK_EPRN_SHIFT |
| #define | USB_ENDPTNAK_EPRN(x) |
| #define | USB_ENDPTNAK_EPTN_MASK |
| #define | USB_ENDPTNAK_EPTN_SHIFT |
| #define | USB_ENDPTNAK_EPTN(x) |
ENDPTNAKEN - Endpoint NAK Enable | |
| #define | USB_ENDPTNAKEN_EPRNE_MASK |
| #define | USB_ENDPTNAKEN_EPRNE_SHIFT |
| #define | USB_ENDPTNAKEN_EPRNE(x) |
| #define | USB_ENDPTNAKEN_EPTNE_MASK |
| #define | USB_ENDPTNAKEN_EPTNE_SHIFT |
| #define | USB_ENDPTNAKEN_EPTNE(x) |
CONFIGFLAG - Configure Flag | |
| #define | USB_CONFIGFLAG_CF_MASK |
| #define | USB_CONFIGFLAG_CF_SHIFT |
| #define | USB_CONFIGFLAG_CF(x) |
PORTSC1 - Port Status and Control | |
| #define | USB_PORTSC1_CCS_MASK |
| #define | USB_PORTSC1_CCS_SHIFT |
| #define | USB_PORTSC1_CCS(x) |
| #define | USB_PORTSC1_CSC_MASK |
| #define | USB_PORTSC1_CSC_SHIFT |
| #define | USB_PORTSC1_CSC(x) |
| #define | USB_PORTSC1_PE_MASK |
| #define | USB_PORTSC1_PE_SHIFT |
| #define | USB_PORTSC1_PE(x) |
| #define | USB_PORTSC1_PEC_MASK |
| #define | USB_PORTSC1_PEC_SHIFT |
| #define | USB_PORTSC1_PEC(x) |
| #define | USB_PORTSC1_OCA_MASK |
| #define | USB_PORTSC1_OCA_SHIFT |
| #define | USB_PORTSC1_OCA(x) |
| #define | USB_PORTSC1_OCC_MASK |
| #define | USB_PORTSC1_OCC_SHIFT |
| #define | USB_PORTSC1_OCC(x) |
| #define | USB_PORTSC1_FPR_MASK |
| #define | USB_PORTSC1_FPR_SHIFT |
| #define | USB_PORTSC1_FPR(x) |
| #define | USB_PORTSC1_SUSP_MASK |
| #define | USB_PORTSC1_SUSP_SHIFT |
| #define | USB_PORTSC1_SUSP(x) |
| #define | USB_PORTSC1_PR_MASK |
| #define | USB_PORTSC1_PR_SHIFT |
| #define | USB_PORTSC1_PR(x) |
| #define | USB_PORTSC1_HSP_MASK |
| #define | USB_PORTSC1_HSP_SHIFT |
| #define | USB_PORTSC1_HSP(x) |
| #define | USB_PORTSC1_LS_MASK |
| #define | USB_PORTSC1_LS_SHIFT |
| #define | USB_PORTSC1_LS(x) |
| #define | USB_PORTSC1_PP_MASK |
| #define | USB_PORTSC1_PP_SHIFT |
| #define | USB_PORTSC1_PP(x) |
| #define | USB_PORTSC1_PO_MASK |
| #define | USB_PORTSC1_PO_SHIFT |
| #define | USB_PORTSC1_PO(x) |
| #define | USB_PORTSC1_PIC_MASK |
| #define | USB_PORTSC1_PIC_SHIFT |
| #define | USB_PORTSC1_PIC(x) |
| #define | USB_PORTSC1_PTC_MASK |
| #define | USB_PORTSC1_PTC_SHIFT |
| #define | USB_PORTSC1_PTC(x) |
| #define | USB_PORTSC1_WKCN_MASK |
| #define | USB_PORTSC1_WKCN_SHIFT |
| #define | USB_PORTSC1_WKCN(x) |
| #define | USB_PORTSC1_WKDC_MASK |
| #define | USB_PORTSC1_WKDC_SHIFT |
| #define | USB_PORTSC1_WKDC(x) |
| #define | USB_PORTSC1_WKOC_MASK |
| #define | USB_PORTSC1_WKOC_SHIFT |
| #define | USB_PORTSC1_WKOC(x) |
| #define | USB_PORTSC1_PHCD_MASK |
| #define | USB_PORTSC1_PHCD_SHIFT |
| #define | USB_PORTSC1_PHCD(x) |
| #define | USB_PORTSC1_PFSC_MASK |
| #define | USB_PORTSC1_PFSC_SHIFT |
| #define | USB_PORTSC1_PFSC(x) |
| #define | USB_PORTSC1_PTS_2_MASK |
| #define | USB_PORTSC1_PTS_2_SHIFT |
| #define | USB_PORTSC1_PTS_2(x) |
| #define | USB_PORTSC1_PSPD_MASK |
| #define | USB_PORTSC1_PSPD_SHIFT |
| #define | USB_PORTSC1_PSPD(x) |
| #define | USB_PORTSC1_PTW_MASK |
| #define | USB_PORTSC1_PTW_SHIFT |
| #define | USB_PORTSC1_PTW(x) |
| #define | USB_PORTSC1_STS_MASK |
| #define | USB_PORTSC1_STS_SHIFT |
| #define | USB_PORTSC1_STS(x) |
| #define | USB_PORTSC1_PTS_1_MASK |
| #define | USB_PORTSC1_PTS_1_SHIFT |
| #define | USB_PORTSC1_PTS_1(x) |
OTGSC - On-The-Go Status and Control | |
| #define | USB_OTGSC_VD_MASK |
| #define | USB_OTGSC_VD_SHIFT |
| #define | USB_OTGSC_VD(x) |
| #define | USB_OTGSC_VC_MASK |
| #define | USB_OTGSC_VC_SHIFT |
| #define | USB_OTGSC_VC(x) |
| #define | USB_OTGSC_HAAR_MASK |
| #define | USB_OTGSC_HAAR_SHIFT |
| #define | USB_OTGSC_HAAR(x) |
| #define | USB_OTGSC_OT_MASK |
| #define | USB_OTGSC_OT_SHIFT |
| #define | USB_OTGSC_OT(x) |
| #define | USB_OTGSC_DP_MASK |
| #define | USB_OTGSC_DP_SHIFT |
| #define | USB_OTGSC_DP(x) |
| #define | USB_OTGSC_IDPU_MASK |
| #define | USB_OTGSC_IDPU_SHIFT |
| #define | USB_OTGSC_IDPU(x) |
| #define | USB_OTGSC_HADP_MASK |
| #define | USB_OTGSC_HADP_SHIFT |
| #define | USB_OTGSC_HADP(x) |
| #define | USB_OTGSC_HABA_MASK |
| #define | USB_OTGSC_HABA_SHIFT |
| #define | USB_OTGSC_HABA(x) |
| #define | USB_OTGSC_ID_MASK |
| #define | USB_OTGSC_ID_SHIFT |
| #define | USB_OTGSC_ID(x) |
| #define | USB_OTGSC_AVV_MASK |
| #define | USB_OTGSC_AVV_SHIFT |
| #define | USB_OTGSC_AVV(x) |
| #define | USB_OTGSC_ASV_MASK |
| #define | USB_OTGSC_ASV_SHIFT |
| #define | USB_OTGSC_ASV(x) |
| #define | USB_OTGSC_BSV_MASK |
| #define | USB_OTGSC_BSV_SHIFT |
| #define | USB_OTGSC_BSV(x) |
| #define | USB_OTGSC_BSE_MASK |
| #define | USB_OTGSC_BSE_SHIFT |
| #define | USB_OTGSC_BSE(x) |
| #define | USB_OTGSC_TOG_1MS_MASK |
| #define | USB_OTGSC_TOG_1MS_SHIFT |
| #define | USB_OTGSC_TOG_1MS(x) |
| #define | USB_OTGSC_DPS_MASK |
| #define | USB_OTGSC_DPS_SHIFT |
| #define | USB_OTGSC_DPS(x) |
| #define | USB_OTGSC_IDIS_MASK |
| #define | USB_OTGSC_IDIS_SHIFT |
| #define | USB_OTGSC_IDIS(x) |
| #define | USB_OTGSC_AVVIS_MASK |
| #define | USB_OTGSC_AVVIS_SHIFT |
| #define | USB_OTGSC_AVVIS(x) |
| #define | USB_OTGSC_ASVIS_MASK |
| #define | USB_OTGSC_ASVIS_SHIFT |
| #define | USB_OTGSC_ASVIS(x) |
| #define | USB_OTGSC_BSVIS_MASK |
| #define | USB_OTGSC_BSVIS_SHIFT |
| #define | USB_OTGSC_BSVIS(x) |
| #define | USB_OTGSC_BSEIS_MASK |
| #define | USB_OTGSC_BSEIS_SHIFT |
| #define | USB_OTGSC_BSEIS(x) |
| #define | USB_OTGSC_STATUS_1MS_MASK |
| #define | USB_OTGSC_STATUS_1MS_SHIFT |
| #define | USB_OTGSC_STATUS_1MS(x) |
| #define | USB_OTGSC_DPIS_MASK |
| #define | USB_OTGSC_DPIS_SHIFT |
| #define | USB_OTGSC_DPIS(x) |
| #define | USB_OTGSC_IDIE_MASK |
| #define | USB_OTGSC_IDIE_SHIFT |
| #define | USB_OTGSC_IDIE(x) |
| #define | USB_OTGSC_AVVIE_MASK |
| #define | USB_OTGSC_AVVIE_SHIFT |
| #define | USB_OTGSC_AVVIE(x) |
| #define | USB_OTGSC_ASVIE_MASK |
| #define | USB_OTGSC_ASVIE_SHIFT |
| #define | USB_OTGSC_ASVIE(x) |
| #define | USB_OTGSC_BSVIE_MASK |
| #define | USB_OTGSC_BSVIE_SHIFT |
| #define | USB_OTGSC_BSVIE(x) |
| #define | USB_OTGSC_BSEIE_MASK |
| #define | USB_OTGSC_BSEIE_SHIFT |
| #define | USB_OTGSC_BSEIE(x) |
| #define | USB_OTGSC_EN_1MS_MASK |
| #define | USB_OTGSC_EN_1MS_SHIFT |
| #define | USB_OTGSC_EN_1MS(x) |
| #define | USB_OTGSC_DPIE_MASK |
| #define | USB_OTGSC_DPIE_SHIFT |
| #define | USB_OTGSC_DPIE(x) |
USBMODE - USB Device Mode | |
| #define | USB_USBMODE_CM_MASK |
| #define | USB_USBMODE_CM_SHIFT |
| #define | USB_USBMODE_CM(x) |
| #define | USB_USBMODE_ES_MASK |
| #define | USB_USBMODE_ES_SHIFT |
| #define | USB_USBMODE_ES(x) |
| #define | USB_USBMODE_SLOM_MASK |
| #define | USB_USBMODE_SLOM_SHIFT |
| #define | USB_USBMODE_SLOM(x) |
| #define | USB_USBMODE_SDIS_MASK |
| #define | USB_USBMODE_SDIS_SHIFT |
| #define | USB_USBMODE_SDIS(x) |
ENDPTSETUPSTAT - Endpoint Setup Status | |
| #define | USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_MASK |
| #define | USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT_SHIFT |
| #define | USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT(x) |
ENDPTPRIME - Endpoint Prime | |
| #define | USB_ENDPTPRIME_PERB_MASK |
| #define | USB_ENDPTPRIME_PERB_SHIFT |
| #define | USB_ENDPTPRIME_PERB(x) |
| #define | USB_ENDPTPRIME_PETB_MASK |
| #define | USB_ENDPTPRIME_PETB_SHIFT |
| #define | USB_ENDPTPRIME_PETB(x) |
ENDPTFLUSH - Endpoint Flush | |
| #define | USB_ENDPTFLUSH_FERB_MASK |
| #define | USB_ENDPTFLUSH_FERB_SHIFT |
| #define | USB_ENDPTFLUSH_FERB(x) |
| #define | USB_ENDPTFLUSH_FETB_MASK |
| #define | USB_ENDPTFLUSH_FETB_SHIFT |
| #define | USB_ENDPTFLUSH_FETB(x) |
ENDPTSTAT - Endpoint Status | |
| #define | USB_ENDPTSTAT_ERBR_MASK |
| #define | USB_ENDPTSTAT_ERBR_SHIFT |
| #define | USB_ENDPTSTAT_ERBR(x) |
| #define | USB_ENDPTSTAT_ETBR_MASK |
| #define | USB_ENDPTSTAT_ETBR_SHIFT |
| #define | USB_ENDPTSTAT_ETBR(x) |
ENDPTCOMPLETE - Endpoint Complete | |
| #define | USB_ENDPTCOMPLETE_ERCE_MASK |
| #define | USB_ENDPTCOMPLETE_ERCE_SHIFT |
| #define | USB_ENDPTCOMPLETE_ERCE(x) |
| #define | USB_ENDPTCOMPLETE_ETCE_MASK |
| #define | USB_ENDPTCOMPLETE_ETCE_SHIFT |
| #define | USB_ENDPTCOMPLETE_ETCE(x) |
ENDPTCTRL0 - Endpoint Control 0 | |
| #define | USB_ENDPTCTRL0_RXS_MASK |
| #define | USB_ENDPTCTRL0_RXS_SHIFT |
| #define | USB_ENDPTCTRL0_RXS(x) |
| #define | USB_ENDPTCTRL0_RXT_MASK |
| #define | USB_ENDPTCTRL0_RXT_SHIFT |
| #define | USB_ENDPTCTRL0_RXT(x) |
| #define | USB_ENDPTCTRL0_RXE_MASK |
| #define | USB_ENDPTCTRL0_RXE_SHIFT |
| #define | USB_ENDPTCTRL0_RXE(x) |
| #define | USB_ENDPTCTRL0_TXS_MASK |
| #define | USB_ENDPTCTRL0_TXS_SHIFT |
| #define | USB_ENDPTCTRL0_TXS(x) |
| #define | USB_ENDPTCTRL0_TXT_MASK |
| #define | USB_ENDPTCTRL0_TXT_SHIFT |
| #define | USB_ENDPTCTRL0_TXT(x) |
| #define | USB_ENDPTCTRL0_TXE_MASK |
| #define | USB_ENDPTCTRL0_TXE_SHIFT |
| #define | USB_ENDPTCTRL0_TXE(x) |
ENDPTCTRL - Endpoint Control 1..Endpoint Control 7 | |
| #define | USB_ENDPTCTRL_RXS_MASK |
| #define | USB_ENDPTCTRL_RXS_SHIFT |
| #define | USB_ENDPTCTRL_RXS(x) |
| #define | USB_ENDPTCTRL_RXD_MASK |
| #define | USB_ENDPTCTRL_RXD_SHIFT |
| #define | USB_ENDPTCTRL_RXD(x) |
| #define | USB_ENDPTCTRL_RXT_MASK |
| #define | USB_ENDPTCTRL_RXT_SHIFT |
| #define | USB_ENDPTCTRL_RXT(x) |
| #define | USB_ENDPTCTRL_RXI_MASK |
| #define | USB_ENDPTCTRL_RXI_SHIFT |
| #define | USB_ENDPTCTRL_RXI(x) |
| #define | USB_ENDPTCTRL_RXR_MASK |
| #define | USB_ENDPTCTRL_RXR_SHIFT |
| #define | USB_ENDPTCTRL_RXR(x) |
| #define | USB_ENDPTCTRL_RXE_MASK |
| #define | USB_ENDPTCTRL_RXE_SHIFT |
| #define | USB_ENDPTCTRL_RXE(x) |
| #define | USB_ENDPTCTRL_TXS_MASK |
| #define | USB_ENDPTCTRL_TXS_SHIFT |
| #define | USB_ENDPTCTRL_TXS(x) |
| #define | USB_ENDPTCTRL_TXD_MASK |
| #define | USB_ENDPTCTRL_TXD_SHIFT |
| #define | USB_ENDPTCTRL_TXD(x) |
| #define | USB_ENDPTCTRL_TXT_MASK |
| #define | USB_ENDPTCTRL_TXT_SHIFT |
| #define | USB_ENDPTCTRL_TXT(x) |
| #define | USB_ENDPTCTRL_TXI_MASK |
| #define | USB_ENDPTCTRL_TXI_SHIFT |
| #define | USB_ENDPTCTRL_TXI(x) |
| #define | USB_ENDPTCTRL_TXR_MASK |
| #define | USB_ENDPTCTRL_TXR_SHIFT |
| #define | USB_ENDPTCTRL_TXR(x) |
| #define | USB_ENDPTCTRL_TXE_MASK |
| #define | USB_ENDPTCTRL_TXE_SHIFT |
| #define | USB_ENDPTCTRL_TXE(x) |
| #define USB_DEVCMDSTAT_DEV_ADDR | ( | x | ) |
DEV_ADDR - USB device address
| #define USB_DEVCMDSTAT_DEV_EN | ( | x | ) |
DEV_EN - USB device enable
| #define USB_DEVCMDSTAT_SETUP | ( | x | ) |
SETUP - SETUP token received
| #define USB_DEVCMDSTAT_FORCE_NEEDCLK | ( | x | ) |
FORCE_NEEDCLK - Forces the NEEDCLK output to always be on: 0b0..USB_NEEDCLK has normal function. 0b1..USB_NEEDCLK always 1. Clock will not be stopped in case of suspend.
| #define USB_DEVCMDSTAT_LPM_SUP | ( | x | ) |
LPM_SUP - LPM Support 0b0..LPM not supported. 0b1..LPM supported.
| #define USB_DEVCMDSTAT_INTONNAK_AO | ( | x | ) |
INTONNAK_AO - Interrupt on NAK for interrupt and bulk OUT EP 0b0..Only acknowledged packets generate an interrupt 0b1..Both acknowledged and NAKed packets generate interrupts.
| #define USB_DEVCMDSTAT_INTONNAK_AI | ( | x | ) |
INTONNAK_AI - Interrupt on NAK for interrupt and bulk IN EP 0b0..Only acknowledged packets generate an interrupt 0b1..Both acknowledged and NAKed packets generate interrupts.
| #define USB_DEVCMDSTAT_INTONNAK_CO | ( | x | ) |
INTONNAK_CO - Interrupt on NAK for control OUT EP 0b0..Only acknowledged packets generate an interrupt 0b1..Both acknowledged and NAKed packets generate interrupts.
| #define USB_DEVCMDSTAT_INTONNAK_CI | ( | x | ) |
INTONNAK_CI - Interrupt on NAK for control IN EP 0b0..Only acknowledged packets generate an interrupt 0b1..Both acknowledged and NAKed packets generate interrupts.
| #define USB_DEVCMDSTAT_DCON | ( | x | ) |
DCON - Device status - connect
| #define USB_DEVCMDSTAT_DSUS | ( | x | ) |
DSUS - Device status - suspend
| #define USB_DEVCMDSTAT_LPM_SUS | ( | x | ) |
LPM_SUS - Device status - LPM Suspend
| #define USB_DEVCMDSTAT_LPM_REWP | ( | x | ) |
LPM_REWP - LPM Remote Wake-up Enabled by USB host
| #define USB_DEVCMDSTAT_DCON_C | ( | x | ) |
DCON_C - Device status - connect change
| #define USB_DEVCMDSTAT_DSUS_C | ( | x | ) |
DSUS_C - Device status - suspend change
| #define USB_DEVCMDSTAT_DRES_C | ( | x | ) |
DRES_C - Device status - reset change
| #define USB_INFO_FRAME_NR | ( | x | ) |
FRAME_NR - Frame number
| #define USB_INFO_ERR_CODE | ( | x | ) |
ERR_CODE - The error code which last occurred: 0b0000..No error 0b0001..PID encoding error 0b0010..PID unknown 0b0011..Packet unexpected 0b0100..Token CRC error 0b0101..Data CRC error 0b0110..Time out 0b0111..Babble 0b1000..Truncated EOP 0b1001..Sent/Received NAK 0b1010..Sent Stall 0b1011..Overrun 0b1100..Sent empty packet 0b1101..Bitstuff error 0b1110..Sync error 0b1111..Wrong data toggle
| #define USB_INFO_MINREV | ( | x | ) |
MINREV - Minor Revision.
| #define USB_INFO_MAJREV | ( | x | ) |
MAJREV - Major Revision.
| #define USB_EPLISTSTART_EP_LIST | ( | x | ) |
EP_LIST - Start address of the USB EP Command/Status List.
| #define USB_DATABUFSTART_DA_BUF | ( | x | ) |
DA_BUF - Start address of the buffer pointer page where all endpoint data buffers are located.
| #define USB_LPM_HIRD_HW | ( | x | ) |
HIRD_HW - Host Initiated Resume Duration - hardware
| #define USB_LPM_HIRD_SW | ( | x | ) |
HIRD_SW - Host Initiated Resume Duration - software
| #define USB_LPM_DATA_PENDING | ( | x | ) |
DATA_PENDING - Data pending
| #define USB_EPSKIP_SKIP | ( | x | ) |
SKIP - Endpoint skip
| #define USB_EPINUSE_BUF | ( | x | ) |
BUF - Buffer in use 0b0000000000..Hardware is accessing buffer 0 0b0000000001..Hardware is accessing buffer 1
| #define USB_EPBUFCFG_BUF_SB | ( | x | ) |
BUF_SB - Buffer usage 0b0000000000..Single-buffer 0b0000000001..Double-buffer
| #define USB_INTSTAT_EP0OUT | ( | x | ) |
EP0OUT - Control EP0 OUT direction
| #define USB_INTSTAT_EP0IN | ( | x | ) |
EP0IN - Control EP0 IN direction
| #define USB_INTSTAT_EP1OUT | ( | x | ) |
EP1OUT - EP1 OUT direction
| #define USB_INTSTAT_EP1IN | ( | x | ) |
EP1IN - EP1 IN direction
| #define USB_INTSTAT_EP2OUT | ( | x | ) |
EP2OUT - EP2 OUT direction
| #define USB_INTSTAT_EP2IN | ( | x | ) |
EP2IN - EP2 IN direction
| #define USB_INTSTAT_EP3OUT | ( | x | ) |
EP3OUT - EP3 OUT direction
| #define USB_INTSTAT_EP3IN | ( | x | ) |
EP3IN - EP3 IN direction
| #define USB_INTSTAT_EP4OUT | ( | x | ) |
EP4OUT - EP4 OUT direction
| #define USB_INTSTAT_EP4IN | ( | x | ) |
EP4IN - EP4 IN direction
| #define USB_INTSTAT_FRAME_INT | ( | x | ) |
FRAME_INT - Frame interrupt
| #define USB_INTSTAT_DEV_INT | ( | x | ) |
DEV_INT - Device status interrupt
| #define USB_INTEN_EP_INT_EN | ( | x | ) |
EP_INT_EN - End point interrupt enable
| #define USB_INTEN_FRAME_INT_EN | ( | x | ) |
FRAME_INT_EN - Frame interrupt enable
| #define USB_INTEN_DEV_INT_EN | ( | x | ) |
DEV_INT_EN - Device interrupt enable
| #define USB_INTSETSTAT_EP_SET_INT | ( | x | ) |
EP_SET_INT - End point set interrupt
| #define USB_INTSETSTAT_FRAME_SET_INT | ( | x | ) |
FRAME_SET_INT - Frame set interrupt
| #define USB_INTSETSTAT_DEV_SET_INT | ( | x | ) |
DEV_SET_INT - Device set interrupt
| #define USB_EPTOGGLE_TOGGLE | ( | x | ) |
TOGGLE - Endpoint data toggle
| #define USB_PERID_ID | ( | x | ) |
ID - Peripheral Identification
| #define USB_IDCOMP_NID | ( | x | ) |
NID - Negative Peripheral ID
| #define USB_REV_REV | ( | x | ) |
REV - Revision
| #define USB_ADDINFO_IEHOST | ( | x | ) |
IEHOST - Host Mode Enable 0b0..Disabled 0b1..Enabled
| #define USB_OTGISTAT_LINE_STATE_CHG | ( | x | ) |
LINE_STATE_CHG - Line State Change Interrupt Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_OTGISTAT_ONEMSEC | ( | x | ) |
ONEMSEC - One Millisecond Timer Timeout Flag 0b0..Not timed out 0b1..Timed out 0b0..No effect 0b1..Clear the flag
| #define USB_OTGICR_LINESTATEEN | ( | x | ) |
LINESTATEEN - Line State Change Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_OTGICR_ONEMSECEN | ( | x | ) |
ONEMSECEN - 1-Millisecond Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_OTGSTAT_LINESTATESTABLE | ( | x | ) |
LINESTATESTABLE - Line State Stable 0b0..Unstable 0b1..Stable
| #define USB_OTGSTAT_ONEMSEC | ( | x | ) |
ONEMSEC - Reserved for 1 ms count
| #define USB_OTGCTL_OTGEN | ( | x | ) |
OTGEN - On-The-Go Pullup and Pulldown Resistor Enable 0b0..If USBENSOFEN is 1 and HOSTMODEEN is 0 in the Control Register (CTL), then the D+ Data line pullup resistors are enabled. If HOSTMODEEN is 1, then the D+ and D- Data line pulldown resistors are engaged. 0b1..Uses the pullup and pulldown controls in this register.
| #define USB_OTGCTL_DMLOW | ( | x | ) |
DMLOW - D- Data Line Pulldown Resistor Enable 0b0..Disable 0b1..Enable
| #define USB_OTGCTL_DPLOW | ( | x | ) |
DPLOW - D+ Data Line pulldown Resistor Enable 0b0..Disable 0b1..Enable
| #define USB_OTGCTL_DPHIGH | ( | x | ) |
DPHIGH - D+ Data Line Pullup Resistor Enable 0b0..Disable 0b1..Enable
| #define USB_ISTAT_USBRST | ( | x | ) |
USBRST - USB Reset Flag 0b0..Not detected 0b1..Detected 0b0..No effect 0b1..Clear the flag
| #define USB_ISTAT_ERROR | ( | x | ) |
ERROR - Error Flag 0b0..Error did not occur 0b1..Error occurred 0b0..No effect 0b1..Clear the flag
| #define USB_ISTAT_SOFTOK | ( | x | ) |
SOFTOK - Start Of Frame (SOF) Token Flag 0b0..Did not receive 0b1..Received 0b0..No effect 0b1..Clear the flag
| #define USB_ISTAT_TOKDNE | ( | x | ) |
TOKDNE - Current Token Processing Flag 0b0..Not processed 0b1..Processed 0b0..No effect 0b1..Clear the flag
| #define USB_ISTAT_SLEEP | ( | x | ) |
SLEEP - Sleep Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_ISTAT_RESUME | ( | x | ) |
RESUME - Resume Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_ISTAT_ATTACH | ( | x | ) |
ATTACH - Attach Interrupt Flag 0b0..Not detected 0b1..Detected 0b0..No effect 0b1..Clear the flag
| #define USB_ISTAT_STALL | ( | x | ) |
STALL - Stall Interrupt Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_INTEN_USBRSTEN | ( | x | ) |
USBRSTEN - USBRST Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_INTEN_ERROREN | ( | x | ) |
ERROREN - ERROR Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_INTEN_SOFTOKEN | ( | x | ) |
SOFTOKEN - SOFTOK Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_INTEN_TOKDNEEN | ( | x | ) |
TOKDNEEN - TOKDNE Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_INTEN_SLEEPEN | ( | x | ) |
SLEEPEN - SLEEP Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_INTEN_RESUMEEN | ( | x | ) |
RESUMEEN - RESUME Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_INTEN_ATTACHEN | ( | x | ) |
ATTACHEN - ATTACH Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_INTEN_STALLEN | ( | x | ) |
STALLEN - STALL Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERRSTAT_PIDERR | ( | x | ) |
PIDERR - PID Error Flag 0b0..Did not fail 0b1..Failed 0b0..No effect 0b1..Clear the flag
| #define USB_ERRSTAT_CRC5EOF | ( | x | ) |
CRC5EOF - CRC5 Error or End of Frame Error Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_ERRSTAT_CRC16 | ( | x | ) |
CRC16 - CRC16 Error Flag 0b0..Not rejected 0b1..Rejected 0b0..No effect 0b1..Clear the flag
| #define USB_ERRSTAT_DFN8 | ( | x | ) |
DFN8 - Data Field Not 8 Bits Flag 0b0..Integer number of bytes 0b1..Not an integer number of bytes 0b0..No effect 0b1..Clear the flag
| #define USB_ERRSTAT_BTOERR | ( | x | ) |
BTOERR - Bus Turnaround Timeout Error Flag 0b0..Not timed out 0b1..Timed out 0b0..No effect 0b1..Clear the flag
| #define USB_ERRSTAT_DMAERR | ( | x | ) |
DMAERR - DMA Access Error Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_ERRSTAT_OWNERR | ( | x | ) |
OWNERR - BD Unavailable Error Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_ERRSTAT_BTSERR | ( | x | ) |
BTSERR - Bit Stuff Error Flag 0b0..Packet not rejected due to the error 0b1..Packet rejected due to the error 0b0..No effect 0b1..Clear the flag
| #define USB_ERREN_PIDERREN | ( | x | ) |
PIDERREN - PIDERR Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERREN_CRC5EOFEN | ( | x | ) |
CRC5EOFEN - CRC5/EOF Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERREN_CRC16EN | ( | x | ) |
CRC16EN - CRC16 Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERREN_DFN8EN | ( | x | ) |
DFN8EN - DFN8 (Data Field Not Integer Number of Bytes) Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERREN_BTOERREN | ( | x | ) |
BTOERREN - BTOERR (Bus Timeout Error) Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERREN_DMAERREN | ( | x | ) |
DMAERREN - DMAERR Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERREN_OWNERREN | ( | x | ) |
OWNERREN - OWNERR Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_ERREN_BTSERREN | ( | x | ) |
BTSERREN - BTSERR (Bit Stuff Error) Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_STAT_ODD | ( | x | ) |
ODD - Odd Bank 0b0..Not in the odd bank 0b1..In the odd bank
| #define USB_STAT_TX | ( | x | ) |
TX - Transmit Indicator 0b0..Receive 0b1..Transmit
| #define USB_STAT_ENDP | ( | x | ) |
ENDP - Endpoint address
| #define USB_CTL_USBENSOFEN | ( | x | ) |
USBENSOFEN - USB Enable 0b0..Disable 0b1..Enable
| #define USB_CTL_ODDRST | ( | x | ) |
ODDRST - Odd Reset
| #define USB_CTL_RESUME | ( | x | ) |
RESUME - Resume
| #define USB_CTL_HOSTMODEEN | ( | x | ) |
HOSTMODEEN - Host Mode Enable 0b0..USBFS operates in Device mode. 0b1..USBFS operates in Host mode. In Host mode, USBFS performs USB transactions under the programmed control of the host processor.
| #define USB_CTL_RESET | ( | x | ) |
RESET - Reset Signaling Enable 0b0..Disable 0b1..Enable
| #define USB_CTL_TXSUSPENDTOKENBUSY | ( | x | ) |
TXSUSPENDTOKENBUSY - TXD Suspend And Token Busy
| #define USB_CTL_SE0 | ( | x | ) |
SE0 - Live USB Single-Ended Zero signal
| #define USB_CTL_JSTATE | ( | x | ) |
JSTATE - Live USB Differential Receiver JSTATE Signal
| #define USB_ADDR_ADDR | ( | x | ) |
ADDR - USB Address
| #define USB_ADDR_LSEN | ( | x | ) |
LSEN - Low Speed Enable
| #define USB_BDTPAGE1_BDTBA | ( | x | ) |
BDTBA - BDT Base Address
| #define USB_FRMNUML_FRM | ( | x | ) |
FRM - Frame Number, Bits 0-7
| #define USB_FRMNUMH_FRM | ( | x | ) |
FRM - Frame Number, Bits 8-10
| #define USB_TOKEN_TOKENENDPT | ( | x | ) |
TOKENENDPT - Token Endpoint Address
| #define USB_TOKEN_TOKENPID | ( | x | ) |
TOKENPID - Token Type 0b0001..OUT token. USBFS performs an OUT (TX) transaction. 0b1001..IN token. USBFS performs an IN (RX) transaction. 0b1101..SETUP token. USBFS performs a SETUP (TX) transaction
| #define USB_SOFTHLD_CNT | ( | x | ) |
CNT - SOF Count Threshold
| #define USB_BDTPAGE2_BDTBA | ( | x | ) |
BDTBA - BDT Base Address
| #define USB_BDTPAGE3_BDTBA | ( | x | ) |
BDTBA - BDT Base Address
| #define USB_ENDPT_EPHSHK | ( | x | ) |
EPHSHK - Endpoint Handshaking Enable
| #define USB_ENDPT_EPSTALL | ( | x | ) |
EPSTALL - Endpoint Stalled
| #define USB_ENDPT_EPTXEN | ( | x | ) |
EPTXEN - Endpoint for TX transfers enable
| #define USB_ENDPT_EPRXEN | ( | x | ) |
EPRXEN - Endpoint for RX transfers enable
| #define USB_ENDPT_EPCTLDIS | ( | x | ) |
EPCTLDIS - Control Transfer Disable 0b0..Enable 0b1..Disable
| #define USB_ENDPT_RETRYDIS | ( | x | ) |
RETRYDIS - Retry Disable 0b0..Retried NAK'ed transactions in hardware. 0b1..Do not retry NAK'ed transactions. When a transaction is NAK'ed, the BDT PID field is updated with the NAK PID, and the TOKEN_DNE interrupt becomes 1.
| #define USB_ENDPT_HOSTWOHUB | ( | x | ) |
HOSTWOHUB - Host Without A Hub 0b0..Connected using a hub (USBFS generates PRE_PID as required) 0b1..Connected directly to host without a hub, or was used to attach
| #define USB_USBCTRL_DPDM_LANE_REVERSE | ( | x | ) |
DPDM_LANE_REVERSE - DP and DM Lane Reversal Control 0b0..Standard USB DP and DM package pin assignment 0b1..Reverse roles of USB DP and DM package pins
| #define USB_USBCTRL_HOST_LS_EOP | ( | x | ) |
HOST_LS_EOP - Host-Mode-Only Low-Speed Device EOP Signaling 0b0..Full-speed device or a low-speed device through a hub 0b1..Directly-connected low-speed device
| #define USB_USBCTRL_UARTSEL | ( | x | ) |
UARTSEL - UART Select 0b0..USB DP and DM external package pins are used for USB signaling. 0b1..USB DP and DM external package pins are used for UART signaling.
| #define USB_USBCTRL_UARTCHLS | ( | x | ) |
UARTCHLS - UART Signal Channel Select 0b0..USB DP and DM signals are used as UART TX/RX. 0b1..USB DP and DM signals are used as UART RX/TX.
| #define USB_USBCTRL_PDE | ( | x | ) |
PDE - Pulldown Enable 0b0..Disable on D+ and D- 0b1..Enable on D+ and D-
| #define USB_USBCTRL_SUSP | ( | x | ) |
SUSP - Suspend 0b0..Not in Suspend state 0b1..In Suspend state
| #define USB_OBSERVE_DMPD | ( | x | ) |
DMPD - D- Pulldown 0b0..Disabled 0b1..Enabled
| #define USB_OBSERVE_DPPD | ( | x | ) |
DPPD - D+ Pulldown 0b0..Disabled 0b1..Enabled
| #define USB_OBSERVE_DPPU | ( | x | ) |
DPPU - D+ Pullup 0b0..Disabled 0b1..Enabled
| #define USB_CONTROL_VBUS_SOURCE_SEL | ( | x | ) |
VBUS_SOURCE_SEL - VBUS Monitoring Source Select 0b0..Reserved 0b1..Resistive divider attached to a GPIO pin
| #define USB_CONTROL_SESS_VLD | ( | x | ) |
SESS_VLD - VBUS Session Valid status 0b1..Above 0b0..Below
| #define USB_CONTROL_DPPULLUPNONOTG | ( | x | ) |
DPPULLUPNONOTG - DP Pullup in Non-OTG Device Mode 0b0..Disable 0b1..Enabled
| #define USB_USBTRC0_USB_RESUME_INT | ( | x | ) |
USB_RESUME_INT - USB Asynchronous Interrupt 0b0..Not generated 0b1..Generated because of the USB asynchronous interrupt
| #define USB_USBTRC0_SYNC_DET | ( | x | ) |
SYNC_DET - Synchronous USB Interrupt Detect 0b0..Not detected 0b1..Detected
| #define USB_USBTRC0_USB_CLK_RECOVERY_INT | ( | x | ) |
USB_CLK_RECOVERY_INT - Combined USB Clock Recovery interrupt status
| #define USB_USBTRC0_VREDG_DET | ( | x | ) |
VREDG_DET - VREGIN Rising Edge Interrupt Detect 0b0..Not detected 0b1..Detected
| #define USB_USBTRC0_VFEDG_DET | ( | x | ) |
VFEDG_DET - VREGIN Falling Edge Interrupt Detect 0b0..Not detected 0b1..Detected
| #define USB_USBTRC0_USBRESMEN | ( | x | ) |
USBRESMEN - Asynchronous Resume Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_USBTRC0_VREGIN_STS | ( | x | ) |
VREGIN_STS - VREGIN Status
| #define USB_USBTRC0_USBRESET | ( | x | ) |
USBRESET - USB Reset 0b0..Normal USBFS operation 0b1..Returns USBFS to its reset state
| #define USB_USBFRMADJUST_ADJ | ( | x | ) |
ADJ - Frame Adjustment
| #define USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_EN | ( | x | ) |
KEEP_ALIVE_EN - Keep Alive Mode Enable 0b0..Everything remains same as before. 0b1..USB shall enter USB_KEEP_ALIVE mode after asserting ipg_stop.
| #define USB_KEEP_ALIVE_CTRL_OWN_OVERRD_EN | ( | x | ) |
OWN_OVERRD_EN - OWN Bit Override Enable
| #define USB_KEEP_ALIVE_CTRL_STOP_ACK_DLY_EN | ( | x | ) |
STOP_ACK_DLY_EN - Stop Acknowledge Delay Enable 0b0..Enter KEEP_ALIVE mode immediately when there is no USB AHB transfer. 0b1..Enter KEEP_ALIVE mode until the USB core is idle and there is no USB AHB transfer.
| #define USB_KEEP_ALIVE_CTRL_WAKE_REQ_EN | ( | x | ) |
WAKE_REQ_EN - Wakeup Request Enable 0b0..Disable 0b1..Enable
| #define USB_KEEP_ALIVE_CTRL_WAKE_INT_EN | ( | x | ) |
WAKE_INT_EN - Wakeup Interrupt Enable
| #define USB_KEEP_ALIVE_CTRL_KEEP_ALIVE_STS | ( | x | ) |
KEEP_ALIVE_STS - Keep Alive Status 0b0..Not in Keep Alive mode 0b1..In Keep Alive mode
| #define USB_KEEP_ALIVE_CTRL_WAKE_INT_STS | ( | x | ) |
WAKE_INT_STS - Wakeup Interrupt Status Flag 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_KEEP_ALIVE_WKCTRL_WAKE_ON_THIS | ( | x | ) |
WAKE_ON_THIS - Token PID for the wakeup request 0b0001..Wake up after receiving OUT or SETUP token packet. 0b1101..Wake up after receiving SETUP token packet. All other values are reserved.
| #define USB_KEEP_ALIVE_WKCTRL_WAKE_ENDPT | ( | x | ) |
WAKE_ENDPT - Endpoint address for the wakeup request
| #define USB_MISCCTRL_SOFDYNTHLD | ( | x | ) |
SOFDYNTHLD - Dynamic SOF Threshold Compare mode 0b0..When the byte-times SOF threshold is reached 0b1..When 8 byte-times SOF threshold is reached or overstepped
| #define USB_MISCCTRL_SOFBUSSET | ( | x | ) |
SOFBUSSET - SOF_TOK Interrupt Generation Mode Select 0b0..According to the SOF threshold value 0b1..When the SOF counter reaches 0
| #define USB_MISCCTRL_OWNERRISODIS | ( | x | ) |
OWNERRISODIS - OWN Error Detect for ISO IN and ISO OUT Disable 0b0..Enable 0b1..Disable
| #define USB_MISCCTRL_VREDG_EN | ( | x | ) |
VREDG_EN - VREGIN Rising Edge Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_MISCCTRL_VFEDG_EN | ( | x | ) |
VFEDG_EN - VREGIN Falling Edge Interrupt Enable 0b0..Disable 0b1..Enable
| #define USB_MISCCTRL_STL_ADJ_EN | ( | x | ) |
STL_ADJ_EN - USB Peripheral Mode Stall Adjust Enable 0b0..If ENDPTn[END_STALL] = 1, both IN and OUT directions for the associated endpoint stalls. 0b1..If ENDPTn[END_STALL] = 1, the STALL_xx_DIS registers control which directions for the associated endpoint stalls.
| #define USB_STALL_IL_DIS_STALL_I_DIS0 | ( | x | ) |
STALL_I_DIS0 - Disable Endpoint 0 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IL_DIS_STALL_I_DIS1 | ( | x | ) |
STALL_I_DIS1 - Disable Endpoint 1 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IL_DIS_STALL_I_DIS2 | ( | x | ) |
STALL_I_DIS2 - Disable Endpoint 2 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IL_DIS_STALL_I_DIS3 | ( | x | ) |
STALL_I_DIS3 - Disable Endpoint 3 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IL_DIS_STALL_I_DIS4 | ( | x | ) |
STALL_I_DIS4 - Disable Endpoint 4 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IL_DIS_STALL_I_DIS5 | ( | x | ) |
STALL_I_DIS5 - Disable Endpoint 5 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IL_DIS_STALL_I_DIS6 | ( | x | ) |
STALL_I_DIS6 - Disable Endpoint 6 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IL_DIS_STALL_I_DIS7 | ( | x | ) |
STALL_I_DIS7 - Disable Endpoint 7 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS8 | ( | x | ) |
STALL_I_DIS8 - Disable Endpoint 8 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS9 | ( | x | ) |
STALL_I_DIS9 - Disable Endpoint 9 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS10 | ( | x | ) |
STALL_I_DIS10 - Disable Endpoint 10 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS11 | ( | x | ) |
STALL_I_DIS11 - Disable Endpoint 11 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS12 | ( | x | ) |
STALL_I_DIS12 - Disable Endpoint 12 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS13 | ( | x | ) |
STALL_I_DIS13 - Disable Endpoint 13 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS14 | ( | x | ) |
STALL_I_DIS14 - Disable Endpoint 14 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_IH_DIS_STALL_I_DIS15 | ( | x | ) |
STALL_I_DIS15 - Disable Endpoint 15 IN Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS0 | ( | x | ) |
STALL_O_DIS0 - Disable Endpoint 0 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS1 | ( | x | ) |
STALL_O_DIS1 - Disable Endpoint 1 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS2 | ( | x | ) |
STALL_O_DIS2 - Disable Endpoint 2 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS3 | ( | x | ) |
STALL_O_DIS3 - Disable Endpoint 3 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS4 | ( | x | ) |
STALL_O_DIS4 - Disable Endpoint 4 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS5 | ( | x | ) |
STALL_O_DIS5 - Disable Endpoint 5 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS6 | ( | x | ) |
STALL_O_DIS6 - Disable Endpoint 6 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OL_DIS_STALL_O_DIS7 | ( | x | ) |
STALL_O_DIS7 - Disable Endpoint 7 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS8 | ( | x | ) |
STALL_O_DIS8 - Disable Endpoint 8 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS9 | ( | x | ) |
STALL_O_DIS9 - Disable Endpoint 9 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS10 | ( | x | ) |
STALL_O_DIS10 - Disable Endpoint 10 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS11 | ( | x | ) |
STALL_O_DIS11 - Disable Endpoint 11 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS12 | ( | x | ) |
STALL_O_DIS12 - Disable endpoint 12 OUT direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS13 | ( | x | ) |
STALL_O_DIS13 - Disable Endpoint 13 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS14 | ( | x | ) |
STALL_O_DIS14 - Disable Endpoint 14 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_STALL_OH_DIS_STALL_O_DIS15 | ( | x | ) |
STALL_O_DIS15 - Disable Endpoint 15 OUT Direction 0b0..Enable 0b1..Disable
| #define USB_CLK_RECOVER_CTRL_TRIM_INIT_VAL_SEL | ( | x | ) |
TRIM_INIT_VAL_SEL - Selects the source for the initial FIRC trim fine value used after a reset. 0b0..Mid-scale 0b1..IFR
| #define USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN | ( | x | ) |
RESTART_IFRTRIM_EN - Restart from IFR Trim Value 0b0..Trim fine adjustment always works based on the previous updated trim fine value. 0b1..Trim fine restarts from the IFR trim value whenever you detect bus_reset or bus_resume or deassert module enable.
| #define USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN | ( | x | ) |
RESET_RESUME_ROUGH_EN - Reset or Resume to Rough Phase Enable 0b0..Always works in tracking phase after the first time rough phase, to track transition. 0b1..Go back to rough stage whenever a bus reset or bus resume occurs.
| #define USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN | ( | x | ) |
CLOCK_RECOVER_EN - Crystal-Less USB Enable 0b0..Disable 0b1..Enable
| #define USB_CLK_RECOVER_IRC_EN_IRC_EN | ( | x | ) |
IRC_EN - Fast IRC enable 0b0..Disable 0b1..Enable
| #define USB_CLK_RECOVER_INT_EN_OVF_ERROR_EN | ( | x | ) |
OVF_ERROR_EN - Overflow error interrupt enable 0b0..The interrupt is masked 0b1..The interrupt is enabled
| #define USB_CLK_RECOVER_INT_STATUS_OVF_ERROR | ( | x | ) |
OVF_ERROR - Overflow Error Interrupt Status Flag 0b0..Interrupt did not occur 0b1..Unmasked interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_ID_ID | ( | x | ) |
ID - Configuration Number
| #define USB_ID_NID | ( | x | ) |
NID - Complement Version
| #define USB_ID_REVISION | ( | x | ) |
REVISION - Revision Number
| #define USB_HWGENERAL_PHYW | ( | x | ) |
PHYW - PHY Width 0b00..8-bit wide data bus (software nonprogrammable) 0b01..16-bit wide data bus (software nonprogrammable) 0b10..Reset to 8-bit wide data bus (software programmable) 0b11..Reset to 16-bit wide data bus (software programmable)
| #define USB_HWGENERAL_PHYM | ( | x | ) |
PHYM - Transceiver Type 0b0000..UTMI/UMTI+ 0b0001..ULPI DDR 0b0010..ULPI 0b0011..Serial only 0b0100..Software programmable: reset to UTMI/UTMI+ 0b0101..Software programmable: reset to ULPI DDR 0b0110..Software programmable: reset to ULPI 0b0111..Software programmable: reset to Serial 0b1000..IC-USB 0b1001..Software programmable: reset to IC-USB 0b1010..HSIC 0b1011..Software programmable: reset to HSIC 0b1100-0b1111..Reserved
| #define USB_HWGENERAL_SM | ( | x | ) |
SM - Serial Interface Mode Capability 0b00..No serial engine; always use parallel signaling 0b01..Serial engine present; always use serial signaling for FS and LS 0b10..Software programmable; reset to use parallel signaling for FS and LS 0b11..Software programmable; reset to use serial signaling for FS and LS
| #define USB_HWGENERAL_LPM | ( | x | ) |
LPM - Link Power Management Capability 0b0..Not supported 0b1..Supported
| #define USB_HWHOST_HC | ( | x | ) |
HC - Host Capable 0b1..Supported 0b0..Not supported
| #define USB_HWHOST_NPORT | ( | x | ) |
NPORT - Number of Ports
| #define USB_HWDEVICE_DC | ( | x | ) |
DC - Device Capable 0b1..Supported 0b0..Not supported
| #define USB_HWDEVICE_DEVEP | ( | x | ) |
DEVEP - Device Endpoint Number
| #define USB_HWTXBUF_TXBURST | ( | x | ) |
TXBURST - TX Burst
| #define USB_HWTXBUF_TXCHANADD | ( | x | ) |
TXCHANADD - TX Channel Add
| #define USB_HWRXBUF_RXBURST | ( | x | ) |
RXBURST - RX Burst
| #define USB_HWRXBUF_RXADD | ( | x | ) |
RXADD - RX Add
| #define USB_GPTIMER0LD_GPTLD | ( | x | ) |
GPTLD - General Purpose Timer Load Value
| #define USB_GPTIMER0CTRL_GPTCNT | ( | x | ) |
GPTCNT - General Purpose Timer Counter
| #define USB_GPTIMER0CTRL_GPTMODE | ( | x | ) |
GPTMODE - General Purpose Timer Mode 0b0..One Shot mode 0b1..Repeat mode
| #define USB_GPTIMER0CTRL_GPTRST | ( | x | ) |
GPTRST - General Purpose Timer Reset 0b0..No action 0b1..Load counter value from GPTIMER0LD[GPTLD]
| #define USB_GPTIMER0CTRL_GPTRUN | ( | x | ) |
GPTRUN - General Purpose Timer Run 0b0..Stopped counting 0b1..Running
| #define USB_GPTIMER1LD_GPTLD | ( | x | ) |
GPTLD - General Purpose Timer Load Value
| #define USB_GPTIMER1CTRL_GPTCNT | ( | x | ) |
GPTCNT - General Purpose Timer Counter
| #define USB_GPTIMER1CTRL_GPTMODE | ( | x | ) |
GPTMODE - General Purpose Timer Mode 0b0..One Shot mode 0b1..Repeat mode
| #define USB_GPTIMER1CTRL_GPTRST | ( | x | ) |
GPTRST - General Purpose Timer Reset 0b0..No action 0b1..Load counter value from GPTIMER0LD[GPTLD]
| #define USB_GPTIMER1CTRL_GPTRUN | ( | x | ) |
GPTRUN - General Purpose Timer Run 0b0..Stopped counting 0b1..Running
| #define USB_SBUSCFG_AHBBRST | ( | x | ) |
AHBBRST - AHB Manager Interface Burst Configuration 0b000..Incremental burst of unspecified length only 0b001..INCR4 burst, then single transfer 0b010..INCR8 burst, INCR4 burst, then single transfer 0b011..INCR16 burst, INCR8 burst, INCR4 burst, then single transfer 0b100..Reserved, do not use 0b101..INCR4 burst, then incremental burst of unspecified length 0b110..INCR8 burst, INCR4 burst, then incremental burst of unspecified length 0b111..INCR16 burst, INCR8 burst, INCR4 burst, then incremental burst of unspecified length
| #define USB_CAPLENGTH_CAPLENGTH | ( | x | ) |
CAPLENGTH - Capability Length
| #define USB_HCIVERSION_HCIVERSION | ( | x | ) |
HCIVERSION - Host Controller Interface Version Number
| #define USB_HCSPARAMS_N_PORTS | ( | x | ) |
N_PORTS - Number of Ports
| #define USB_HCSPARAMS_PPC | ( | x | ) |
PPC - Port Power Control
| #define USB_HCSPARAMS_N_PCC | ( | x | ) |
N_PCC - Number of Ports per Companion Controller
| #define USB_HCSPARAMS_N_CC | ( | x | ) |
N_CC - Number of Companion Controller (N_CC) 0b0000..No internal companion controller 0b0001..Internal companion controller(s) exist
| #define USB_HCSPARAMS_PI | ( | x | ) |
PI - Port Indicators (P_INDICATOR)
| #define USB_HCSPARAMS_N_PTT | ( | x | ) |
N_PTT - Number of Ports per Transaction Translator (N_PTT)
| #define USB_HCSPARAMS_N_TT | ( | x | ) |
N_TT - Number of Transaction Translators (N_TT)
| #define USB_HCCPARAMS_ADC | ( | x | ) |
ADC - Addressing Capability
| #define USB_HCCPARAMS_PFL | ( | x | ) |
PFL - Programmable Frame List Flag
| #define USB_HCCPARAMS_ASP | ( | x | ) |
ASP - Asynchronous Schedule Park Capability
| #define USB_HCCPARAMS_IST | ( | x | ) |
IST - Isochronous Scheduling Threshold
| #define USB_HCCPARAMS_EECP | ( | x | ) |
EECP - EHCI Extended Capabilities Pointer
| #define USB_DCIVERSION_DCIVERSION | ( | x | ) |
DCIVERSION - Device Controller Interface Version Number
| #define USB_DCCPARAMS_DEN | ( | x | ) |
DEN - Device Endpoint Number
| #define USB_DCCPARAMS_DC | ( | x | ) |
DC - Device Capable
| #define USB_DCCPARAMS_HC | ( | x | ) |
HC - Host Capable
| #define USB_USBCMD_RS | ( | x | ) |
RS - Run/Stop 0b0..Stopped executing 0b1..Running
| #define USB_USBCMD_RST | ( | x | ) |
RST - Controller Reset
| #define USB_USBCMD_FS_1 | ( | x | ) |
FS_1 - Frame List Size 1
| #define USB_USBCMD_PSE | ( | x | ) |
PSE - Periodic Schedule Enable 0b0..Do not process the periodic schedule 0b1..Process the periodic schedule
| #define USB_USBCMD_ASE | ( | x | ) |
ASE - Asynchronous Schedule Enable 0b0..Do not process the asynchronous schedule 0b1..Access the asynchronous schedule
| #define USB_USBCMD_IAA | ( | x | ) |
IAA - Interrupt on Async Advance Doorbell
| #define USB_USBCMD_ASP | ( | x | ) |
ASP - Asynchronous Schedule Park Mode Count
| #define USB_USBCMD_ASPE | ( | x | ) |
ASPE - Asynchronous Schedule Park Mode Enable
| #define USB_USBCMD_SUTW | ( | x | ) |
SUTW - Setup Trip Wire (Device mode only)
| #define USB_USBCMD_ATDTW | ( | x | ) |
ATDTW - Add dTD Trip Wire (Device mode only)
| #define USB_USBCMD_FS_2 | ( | x | ) |
FS_2 - Frame List Size 2 (Host mode only)
| #define USB_USBCMD_ITC | ( | x | ) |
ITC - Interrupt Threshold Control 0b00000000..Immediate (no threshold) 0b00000001..1 microframe 0b00000010..2 microframes 0b00000100..4 microframes 0b00001000..8 microframes 0b00010000..16 microframes 0b00100000..32 microframes 0b01000000..64 microframes
| #define USB_USBSTS_UI | ( | x | ) |
UI - USB Interrupt (USBINT) 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_UEI | ( | x | ) |
UEI - USB Error Interrupt (USBERRINT) 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_PCI | ( | x | ) |
PCI - Port Change Detect 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_FRI | ( | x | ) |
FRI - Frame List Rollover 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_SEI | ( | x | ) |
SEI - System Error 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_AAI | ( | x | ) |
AAI - Interrupt on Asynchronous Advance 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_URI | ( | x | ) |
URI - USB Reset Received
| #define USB_USBSTS_SRI | ( | x | ) |
SRI - SOF Received 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_SLI | ( | x | ) |
SLI - Device Controller Suspend 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_ULPII | ( | x | ) |
ULPII - ULPI Interrupt 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_HCH | ( | x | ) |
HCH - HC Halted
| #define USB_USBSTS_RCL | ( | x | ) |
RCL - Reclamation
| #define USB_USBSTS_PS | ( | x | ) |
PS - Periodic Schedule Status
| #define USB_USBSTS_AS | ( | x | ) |
AS - Asynchronous Schedule Status
| #define USB_USBSTS_NAKI | ( | x | ) |
NAKI - NAK Interrupt
| #define USB_USBSTS_UAI | ( | x | ) |
UAI - USB Host Asynchronous Interrupt 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_UPI | ( | x | ) |
UPI - USB Host Periodic Interrupt 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_TI0 | ( | x | ) |
TI0 - General Purpose Timer Interrupt 0 (GPTINT0) 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_TI1 | ( | x | ) |
TI1 - General Purpose Timer Interrupt 1 (GPTINT1) 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_LPM_L1_EXITI | ( | x | ) |
LPM_L1_EXITI - L1 Exit Interrupt 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_LPM_L1_ENTRYI | ( | x | ) |
LPM_L1_ENTRYI - L1 Entry Interrupt 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_LPM_DEV_RCVDI | ( | x | ) |
LPM_DEV_RCVDI - Device Received Extension Token Interrupt 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBSTS_LPM_HST_COMPI | ( | x | ) |
LPM_HST_COMPI - Host Completes the LPM Transaction Interrupt 0b0..Interrupt did not occur 0b1..Interrupt occurred 0b0..No effect 0b1..Clear the flag
| #define USB_USBINTR_UE | ( | x | ) |
UE - USB Interrupt Enable
| #define USB_USBINTR_UEE | ( | x | ) |
UEE - USB Error Interrupt Enable
| #define USB_USBINTR_PCE | ( | x | ) |
PCE - Port Change Detect Interrupt Enable
| #define USB_USBINTR_FRE | ( | x | ) |
FRE - Frame List Rollover Interrupt Enable
| #define USB_USBINTR_SEE | ( | x | ) |
SEE - System Error Interrupt Enable
| #define USB_USBINTR_AAE | ( | x | ) |
AAE - Asynchronous Advance Interrupt Enable
| #define USB_USBINTR_URE | ( | x | ) |
URE - USB Reset Interrupt Enable
| #define USB_USBINTR_SRE | ( | x | ) |
SRE - SOF Received Interrupt Enable
| #define USB_USBINTR_SLE | ( | x | ) |
SLE - Sleep Interrupt Enable
| #define USB_USBINTR_NAKE | ( | x | ) |
NAKE - NAK Interrupt Enable
| #define USB_USBINTR_UAIE | ( | x | ) |
UAIE - USB Host Asynchronous Interrupt Enable
| #define USB_USBINTR_UPIE | ( | x | ) |
UPIE - USB Host Periodic Interrupt Enable
| #define USB_USBINTR_TIE0 | ( | x | ) |
TIE0 - General Purpose Timer #0 Interrupt Enable
| #define USB_USBINTR_TIE1 | ( | x | ) |
TIE1 - General Purpose Timer #1 Interrupt Enable
| #define USB_USBINTR_LPM_L1_EXITIE | ( | x | ) |
LPM_L1_EXITIE - L1 Exit Interrupt Enable
| #define USB_USBINTR_LPM_L1_ENTRYIE | ( | x | ) |
LPM_L1_ENTRYIE - L1 Entry Interrupt Enable
| #define USB_USBINTR_LPM_DEV_RCVDIE | ( | x | ) |
LPM_DEV_RCVDIE - Device Received Extension Token Interrupt Enable
| #define USB_USBINTR_LPM_HST_COMPIE | ( | x | ) |
LPM_HST_COMPIE - Host Completed LPM Transaction Interrupt Enable
| #define USB_FRINDEX_FRINDEX | ( | x | ) |
FRINDEX - Frame Index 0b00000000000000..(1024) 12 0b00000000000001..(512) 11 0b00000000000010..(256) 10 0b00000000000011..(128) 9 0b00000000000100..(64) 8 0b00000000000101..(32) 7 0b00000000000110..(16) 6 0b00000000000111..(8) 5
| #define USB_DEVICEADDR_USBADRA | ( | x | ) |
USBADRA - Device Address Advance
| #define USB_DEVICEADDR_USBADR | ( | x | ) |
USBADR - Device Address
| #define USB_PERIODICLISTBASE_BASEADR | ( | x | ) |
BASEADR - Base Address (Low)
| #define USB_ASYNCLISTADDR_ASYBASE | ( | x | ) |
ASYBASE - Link Pointer Low (LPL)
| #define USB_ENDPTLISTADDR_EPBASE | ( | x | ) |
EPBASE - Endpoint List Pointer (Low)
| #define USB_BURSTSIZE_RXPBURST | ( | x | ) |
RXPBURST - Programmable RX Burst Size
| #define USB_BURSTSIZE_TXPBURST | ( | x | ) |
TXPBURST - Programmable TX Burst Size
| #define USB_TXFILLTUNING_TXSCHOH | ( | x | ) |
TXSCHOH - Scheduler Overhead
| #define USB_TXFILLTUNING_TXSCHHEALTH | ( | x | ) |
TXSCHHEALTH - Scheduler Health Counter
| #define USB_TXFILLTUNING_TXFIFOTHRES | ( | x | ) |
TXFIFOTHRES - FIFO Burst Threshold
| #define USB_ENDPTNAK_EPRN | ( | x | ) |
EPRN - RX Endpoint NAK 0b00000000..No NACK 0b00000001..NACK
| #define USB_ENDPTNAK_EPTN | ( | x | ) |
EPTN - TX Endpoint NAK 0b00000000..No NACK 0b00000001..NACK
| #define USB_ENDPTNAKEN_EPRNE | ( | x | ) |
EPRNE - RX Endpoint NAK Enable
| #define USB_ENDPTNAKEN_EPTNE | ( | x | ) |
EPTNE - TX Endpoint NAK Enable
| #define USB_CONFIGFLAG_CF | ( | x | ) |
CF - Configure Flag 0b0..Port routing to classic host controller 0b1..Port routing to this host controller
| #define USB_PORTSC1_CCS | ( | x | ) |
CCS - Current Connect Status
| #define USB_PORTSC1_CSC | ( | x | ) |
CSC - Connect Status Change 0b0..No change occurred 0b1..Change occurred
| #define USB_PORTSC1_PE | ( | x | ) |
PE - Port Enable and Disable 0b0..Disable 0b1..Enable
| #define USB_PORTSC1_PEC | ( | x | ) |
PEC - Port Enable and Disable Change 0b0..No change occurred 0b1..Change occurred
| #define USB_PORTSC1_OCA | ( | x | ) |
OCA - Overcurrent Active 0b1..Overcurrent condition exists 0b0..No overcurrent condition exists
| #define USB_PORTSC1_OCC | ( | x | ) |
OCC - Overcurrent Change
| #define USB_PORTSC1_FPR | ( | x | ) |
FPR - Force Port Resume 0b0..No resume (K-state) detected or driven on port 0b1..Resume detected or driven on port
| #define USB_PORTSC1_SUSP | ( | x | ) |
SUSP - Suspend 0b0..Port not in Suspend state 0b1..Port in Suspend state
| #define USB_PORTSC1_PR | ( | x | ) |
PR - Port Reset 0b0..Port not in reset 0b1..Port in reset
| #define USB_PORTSC1_HSP | ( | x | ) |
HSP - High-Speed Port 0b0..Not in HS mode 0b1..In HS mode
| #define USB_PORTSC1_LS | ( | x | ) |
LS - Line Status 0b00..SE0 0b10..J-state 0b01..K-state 0b11..Undefined
| #define USB_PORTSC1_PP | ( | x | ) |
PP - Port Power (PP)
| #define USB_PORTSC1_PO | ( | x | ) |
PO - Port Owner
| #define USB_PORTSC1_PIC | ( | x | ) |
PIC - Port Indicator Control 0b00..Port indicators are off 0b01..Amber 0b10..Green 0b11..Undefined
| #define USB_PORTSC1_PTC | ( | x | ) |
PTC - Port Test Control 0b0000..TEST_MODE_DISABLE 0b0001..J_STATE 0b0010..K_STATE 0b0011..SE0 (host) or NAK (device) 0b0100..Packet 0b0101..FORCE_ENABLE_HS 0b0110..FORCE_ENABLE_FS 0b0111..FORCE_ENABLE_LS 0b1000-0b1111..Reserved
| #define USB_PORTSC1_WKCN | ( | x | ) |
WKCN - Wake on Connect Enable (WKCNNT_E)
| #define USB_PORTSC1_WKDC | ( | x | ) |
WKDC - Wake on Disconnect Enable (WKDSCNNT_E)
| #define USB_PORTSC1_WKOC | ( | x | ) |
WKOC - Wake on Overcurrent Enable (WKOC)
| #define USB_PORTSC1_PHCD | ( | x | ) |
PHCD - PHY Low Power Suspend - Clock Disable (PLPSCD) 0b1..Disable 0b0..Enable
| #define USB_PORTSC1_PFSC | ( | x | ) |
PFSC - Port Force Full Speed Connect 0b1..Forced to full speed 0b0..Normal operation
| #define USB_PORTSC1_PTS_2 | ( | x | ) |
PTS_2 - Parallel Transceiver Select 2
| #define USB_PORTSC1_PSPD | ( | x | ) |
PSPD - Port Speed 0b00..FS 0b01..LS 0b10..HS 0b11..Undefined
| #define USB_PORTSC1_PTW | ( | x | ) |
PTW - Parallel Transceiver Width 0b0..8-bit UTMI interface (60 MHz) 0b1..16-bit UTMI interface (30 MHz)
| #define USB_PORTSC1_STS | ( | x | ) |
STS - Serial Transceiver Select 0b0..Parallel interface signals 0b1..Serial interface engine
| #define USB_PORTSC1_PTS_1 | ( | x | ) |
PTS_1 - Parallel Transceiver Select 1
| #define USB_OTGSC_VD | ( | x | ) |
VD - VBUS Discharge
| #define USB_OTGSC_VC | ( | x | ) |
VC - VBUS Charge
| #define USB_OTGSC_HAAR | ( | x | ) |
HAAR - Hardware Assist Auto Reset 0b0..Disable 0b1..Enable
| #define USB_OTGSC_OT | ( | x | ) |
OT - OTG Termination
| #define USB_OTGSC_DP | ( | x | ) |
DP - Data Pulsing
| #define USB_OTGSC_IDPU | ( | x | ) |
IDPU - ID Pullup
| #define USB_OTGSC_HADP | ( | x | ) |
HADP - Hardware Assist Data Pulse 0b0..Disable 0b1..Enable
| #define USB_OTGSC_HABA | ( | x | ) |
HABA - Hardware Assist B-Disconnect to A-connect 0b0..Disable 0b1..Enable
| #define USB_OTGSC_ID | ( | x | ) |
ID - USB ID 0b0..A device 0b1..B device
| #define USB_OTGSC_AVV | ( | x | ) |
AVV - A VBUS Valid
| #define USB_OTGSC_ASV | ( | x | ) |
ASV - A Session Valid
| #define USB_OTGSC_BSV | ( | x | ) |
BSV - B Session Valid
| #define USB_OTGSC_BSE | ( | x | ) |
BSE - B Session End
| #define USB_OTGSC_TOG_1MS | ( | x | ) |
TOG_1MS - 1 Millisecond Timer Toggle
| #define USB_OTGSC_DPS | ( | x | ) |
DPS - Data Bus Pulsing Status
| #define USB_OTGSC_IDIS | ( | x | ) |
IDIS - USB ID Interrupt Status
| #define USB_OTGSC_AVVIS | ( | x | ) |
AVVIS - A VBUS Valid Interrupt Status
| #define USB_OTGSC_ASVIS | ( | x | ) |
ASVIS - A Session Valid Interrupt Status
| #define USB_OTGSC_BSVIS | ( | x | ) |
BSVIS - B Session Valid Interrupt Status
| #define USB_OTGSC_BSEIS | ( | x | ) |
BSEIS - B Session End Interrupt Status
| #define USB_OTGSC_STATUS_1MS | ( | x | ) |
STATUS_1MS - 1 Millisecond Timer Interrupt Status
| #define USB_OTGSC_DPIS | ( | x | ) |
DPIS - Data Pulse Interrupt Status
| #define USB_OTGSC_IDIE | ( | x | ) |
IDIE - USB ID Interrupt Enable
| #define USB_OTGSC_AVVIE | ( | x | ) |
AVVIE - A VBUS Valid Interrupt Enable
| #define USB_OTGSC_ASVIE | ( | x | ) |
ASVIE - A Session Valid Interrupt Enable
| #define USB_OTGSC_BSVIE | ( | x | ) |
BSVIE - B Session Valid Interrupt Enable
| #define USB_OTGSC_BSEIE | ( | x | ) |
BSEIE - B Session End Interrupt Enable
| #define USB_OTGSC_EN_1MS | ( | x | ) |
EN_1MS - 1 Millisecond Timer Interrupt Enable
| #define USB_OTGSC_DPIE | ( | x | ) |
DPIE - Data Pulse Interrupt Enable
| #define USB_USBMODE_CM | ( | x | ) |
CM - Controller Mode 0b00..Idle (default for host and device combination) 0b01..Reserved 0b10..Device controller (default for device-only controller) 0b11..Host controller (default for host-only controller)
| #define USB_USBMODE_ES | ( | x | ) |
ES - Endian Select 0b0..Little endian (default) 0b1..Big endian
| #define USB_USBMODE_SLOM | ( | x | ) |
SLOM - Setup Lockout Mode 0b0..On (default) 0b1..Off
| #define USB_USBMODE_SDIS | ( | x | ) |
SDIS - Stream Disable Mode 0b0..Disable 0b1..Enable
| #define USB_ENDPTSETUPSTAT_ENDPTSETUPSTAT | ( | x | ) |
ENDPTSETUPSTAT - Endpoint Setup Status 0b0000000000000000..Not received 0b0000000000000001..Received
| #define USB_ENDPTPRIME_PERB | ( | x | ) |
PERB - Prime Endpoint Receive Buffer
| #define USB_ENDPTPRIME_PETB | ( | x | ) |
PETB - Prime Endpoint Transmit Buffer
| #define USB_ENDPTFLUSH_FERB | ( | x | ) |
FERB - Flush Endpoint Receive Buffer
| #define USB_ENDPTFLUSH_FETB | ( | x | ) |
FETB - Flush Endpoint Transmit Buffer
| #define USB_ENDPTSTAT_ERBR | ( | x | ) |
ERBR - Endpoint Receive Buffer Ready
| #define USB_ENDPTSTAT_ETBR | ( | x | ) |
ETBR - Endpoint Transmit Buffer Ready
| #define USB_ENDPTCOMPLETE_ERCE | ( | x | ) |
ERCE - Endpoint Receive Complete Event 0b00000000..Transmit incomplete 0b00000001..Transmit complete
| #define USB_ENDPTCOMPLETE_ETCE | ( | x | ) |
ETCE - Endpoint Transmit Complete Event 0b00000000..Transmit incomplete 0b00000001..Transmit complete
| #define USB_ENDPTCTRL0_RXS | ( | x | ) |
RXS - RX Endpoint Stall 0b0..Endpoint OK 0b1..Endpoint stalled
| #define USB_ENDPTCTRL0_RXT | ( | x | ) |
RXT - RX Endpoint Type
| #define USB_ENDPTCTRL0_RXE | ( | x | ) |
RXE - RX Endpoint Enable 0b0..Disable 0b1..Enable
| #define USB_ENDPTCTRL0_TXS | ( | x | ) |
TXS - TX Endpoint Stall 0b0..Endpoint OK 0b1..Endpoint stalled
| #define USB_ENDPTCTRL0_TXT | ( | x | ) |
TXT - TX Endpoint Type
| #define USB_ENDPTCTRL0_TXE | ( | x | ) |
TXE - TX Endpoint Enable 0b0..Disable 0b1..Enable
| #define USB_ENDPTCTRL_RXS | ( | x | ) |
RXS - RX Endpoint Stall 0b0..Endpoint OK 0b1..Endpoint stalled
| #define USB_ENDPTCTRL_RXD | ( | x | ) |
RXD - RX Endpoint Data Sink
| #define USB_ENDPTCTRL_RXT | ( | x | ) |
RXT - RX Endpoint Type 0b00..Control 0b01..Isochronous 0b10..Bulk 0b11..Interrupt
| #define USB_ENDPTCTRL_RXI | ( | x | ) |
RXI - RX Data Toggle Inhibit 0b0..Disable 0b1..Enable
| #define USB_ENDPTCTRL_RXR | ( | x | ) |
RXR - RX Data Toggle Reset
| #define USB_ENDPTCTRL_RXE | ( | x | ) |
RXE - RX Endpoint Enable 0b0..Disable 0b1..Enable
| #define USB_ENDPTCTRL_TXS | ( | x | ) |
TXS - TX Endpoint Stall 0b0..Endpoint OK 0b1..Endpoint stalled
| #define USB_ENDPTCTRL_TXD | ( | x | ) |
TXD - TX Endpoint Data Source
| #define USB_ENDPTCTRL_TXT | ( | x | ) |
TXT - TX Endpoint Type 0b00..Control 0b01..Isochronous 0b10..Bulk 0b11..Interrupt
| #define USB_ENDPTCTRL_TXI | ( | x | ) |
TXI - TX Data Toggle Inhibit 0b0..Allow 0b1..Inhibit
| #define USB_ENDPTCTRL_TXR | ( | x | ) |
TXR - TX Data Toggle Reset
| #define USB_ENDPTCTRL_TXE | ( | x | ) |
TXE - TX Endpoint Enable 0b0..Disable 0b1..Enable