|
#define | USB_OTGISTAT_AVBUSCHG_MASK (0x1U) |
|
#define | USB_OTGISTAT_AVBUSCHG_SHIFT (0U) |
|
#define | USB_OTGISTAT_AVBUSCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_AVBUSCHG_SHIFT)) & USB_OTGISTAT_AVBUSCHG_MASK) |
|
#define | USB_OTGISTAT_B_SESS_CHG_MASK (0x4U) |
|
#define | USB_OTGISTAT_B_SESS_CHG_SHIFT (2U) |
|
#define | USB_OTGISTAT_B_SESS_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_B_SESS_CHG_SHIFT)) & USB_OTGISTAT_B_SESS_CHG_MASK) |
|
#define | USB_OTGISTAT_SESSVLDCHG_MASK (0x8U) |
|
#define | USB_OTGISTAT_SESSVLDCHG_SHIFT (3U) |
|
#define | USB_OTGISTAT_SESSVLDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_SESSVLDCHG_SHIFT)) & USB_OTGISTAT_SESSVLDCHG_MASK) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_MASK (0x20U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_SHIFT (5U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_LINE_STATE_CHG_SHIFT)) & USB_OTGISTAT_LINE_STATE_CHG_MASK) |
|
#define | USB_OTGISTAT_ONEMSEC_MASK (0x40U) |
|
#define | USB_OTGISTAT_ONEMSEC_SHIFT (6U) |
|
#define | USB_OTGISTAT_ONEMSEC(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_ONEMSEC_SHIFT)) & USB_OTGISTAT_ONEMSEC_MASK) |
|
#define | USB_OTGISTAT_IDCHG_MASK (0x80U) |
|
#define | USB_OTGISTAT_IDCHG_SHIFT (7U) |
|
#define | USB_OTGISTAT_IDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_IDCHG_SHIFT)) & USB_OTGISTAT_IDCHG_MASK) |
|
#define | USB_OTGISTAT_AVBUSCHG_MASK 0x1u |
|
#define | USB_OTGISTAT_AVBUSCHG_SHIFT 0 |
|
#define | USB_OTGISTAT_B_SESS_CHG_MASK 0x4u |
|
#define | USB_OTGISTAT_B_SESS_CHG_SHIFT 2 |
|
#define | USB_OTGISTAT_SESSVLDCHG_MASK 0x8u |
|
#define | USB_OTGISTAT_SESSVLDCHG_SHIFT 3 |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_MASK 0x20u |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_SHIFT 5 |
|
#define | USB_OTGISTAT_ONEMSEC_MASK 0x40u |
|
#define | USB_OTGISTAT_ONEMSEC_SHIFT 6 |
|
#define | USB_OTGISTAT_IDCHG_MASK 0x80u |
|
#define | USB_OTGISTAT_IDCHG_SHIFT 7 |
|
#define | USB_OTGISTAT_AVBUSCHG_MASK (0x1U) |
|
#define | USB_OTGISTAT_AVBUSCHG_SHIFT (0U) |
|
#define | USB_OTGISTAT_AVBUSCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_AVBUSCHG_SHIFT)) & USB_OTGISTAT_AVBUSCHG_MASK) |
|
#define | USB_OTGISTAT_B_SESS_CHG_MASK (0x4U) |
|
#define | USB_OTGISTAT_B_SESS_CHG_SHIFT (2U) |
|
#define | USB_OTGISTAT_B_SESS_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_B_SESS_CHG_SHIFT)) & USB_OTGISTAT_B_SESS_CHG_MASK) |
|
#define | USB_OTGISTAT_SESSVLDCHG_MASK (0x8U) |
|
#define | USB_OTGISTAT_SESSVLDCHG_SHIFT (3U) |
|
#define | USB_OTGISTAT_SESSVLDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_SESSVLDCHG_SHIFT)) & USB_OTGISTAT_SESSVLDCHG_MASK) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_MASK (0x20U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_SHIFT (5U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_LINE_STATE_CHG_SHIFT)) & USB_OTGISTAT_LINE_STATE_CHG_MASK) |
|
#define | USB_OTGISTAT_ONEMSEC_MASK (0x40U) |
|
#define | USB_OTGISTAT_ONEMSEC_SHIFT (6U) |
|
#define | USB_OTGISTAT_ONEMSEC(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_ONEMSEC_SHIFT)) & USB_OTGISTAT_ONEMSEC_MASK) |
|
#define | USB_OTGISTAT_IDCHG_MASK (0x80U) |
|
#define | USB_OTGISTAT_IDCHG_SHIFT (7U) |
|
#define | USB_OTGISTAT_IDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_IDCHG_SHIFT)) & USB_OTGISTAT_IDCHG_MASK) |
|
#define | USB_OTGISTAT_AVBUSCHG_MASK (0x1U) |
|
#define | USB_OTGISTAT_AVBUSCHG_SHIFT (0U) |
|
#define | USB_OTGISTAT_AVBUSCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_AVBUSCHG_SHIFT)) & USB_OTGISTAT_AVBUSCHG_MASK) |
|
#define | USB_OTGISTAT_B_SESS_CHG_MASK (0x4U) |
|
#define | USB_OTGISTAT_B_SESS_CHG_SHIFT (2U) |
|
#define | USB_OTGISTAT_B_SESS_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_B_SESS_CHG_SHIFT)) & USB_OTGISTAT_B_SESS_CHG_MASK) |
|
#define | USB_OTGISTAT_SESSVLDCHG_MASK (0x8U) |
|
#define | USB_OTGISTAT_SESSVLDCHG_SHIFT (3U) |
|
#define | USB_OTGISTAT_SESSVLDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_SESSVLDCHG_SHIFT)) & USB_OTGISTAT_SESSVLDCHG_MASK) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_MASK (0x20U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_SHIFT (5U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_LINE_STATE_CHG_SHIFT)) & USB_OTGISTAT_LINE_STATE_CHG_MASK) |
|
#define | USB_OTGISTAT_ONEMSEC_MASK (0x40U) |
|
#define | USB_OTGISTAT_ONEMSEC_SHIFT (6U) |
|
#define | USB_OTGISTAT_ONEMSEC(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_ONEMSEC_SHIFT)) & USB_OTGISTAT_ONEMSEC_MASK) |
|
#define | USB_OTGISTAT_IDCHG_MASK (0x80U) |
|
#define | USB_OTGISTAT_IDCHG_SHIFT (7U) |
|
#define | USB_OTGISTAT_IDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_IDCHG_SHIFT)) & USB_OTGISTAT_IDCHG_MASK) |
|
#define | USB_OTGISTAT_AVBUSCHG_MASK (0x1U) |
|
#define | USB_OTGISTAT_AVBUSCHG_SHIFT (0U) |
|
#define | USB_OTGISTAT_AVBUSCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_AVBUSCHG_SHIFT)) & USB_OTGISTAT_AVBUSCHG_MASK) |
|
#define | USB_OTGISTAT_B_SESS_CHG_MASK (0x4U) |
|
#define | USB_OTGISTAT_B_SESS_CHG_SHIFT (2U) |
|
#define | USB_OTGISTAT_B_SESS_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_B_SESS_CHG_SHIFT)) & USB_OTGISTAT_B_SESS_CHG_MASK) |
|
#define | USB_OTGISTAT_SESSVLDCHG_MASK (0x8U) |
|
#define | USB_OTGISTAT_SESSVLDCHG_SHIFT (3U) |
|
#define | USB_OTGISTAT_SESSVLDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_SESSVLDCHG_SHIFT)) & USB_OTGISTAT_SESSVLDCHG_MASK) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_MASK (0x20U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG_SHIFT (5U) |
|
#define | USB_OTGISTAT_LINE_STATE_CHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_LINE_STATE_CHG_SHIFT)) & USB_OTGISTAT_LINE_STATE_CHG_MASK) |
|
#define | USB_OTGISTAT_ONEMSEC_MASK (0x40U) |
|
#define | USB_OTGISTAT_ONEMSEC_SHIFT (6U) |
|
#define | USB_OTGISTAT_ONEMSEC(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_ONEMSEC_SHIFT)) & USB_OTGISTAT_ONEMSEC_MASK) |
|
#define | USB_OTGISTAT_IDCHG_MASK (0x80U) |
|
#define | USB_OTGISTAT_IDCHG_SHIFT (7U) |
|
#define | USB_OTGISTAT_IDCHG(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGISTAT_IDCHG_SHIFT)) & USB_OTGISTAT_IDCHG_MASK) |
|
|
#define | USB_OTGICR_AVBUSEN_MASK (0x1U) |
|
#define | USB_OTGICR_AVBUSEN_SHIFT (0U) |
|
#define | USB_OTGICR_AVBUSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_AVBUSEN_SHIFT)) & USB_OTGICR_AVBUSEN_MASK) |
|
#define | USB_OTGICR_BSESSEN_MASK (0x4U) |
|
#define | USB_OTGICR_BSESSEN_SHIFT (2U) |
|
#define | USB_OTGICR_BSESSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_BSESSEN_SHIFT)) & USB_OTGICR_BSESSEN_MASK) |
|
#define | USB_OTGICR_SESSVLDEN_MASK (0x8U) |
|
#define | USB_OTGICR_SESSVLDEN_SHIFT (3U) |
|
#define | USB_OTGICR_SESSVLDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_SESSVLDEN_SHIFT)) & USB_OTGICR_SESSVLDEN_MASK) |
|
#define | USB_OTGICR_LINESTATEEN_MASK (0x20U) |
|
#define | USB_OTGICR_LINESTATEEN_SHIFT (5U) |
|
#define | USB_OTGICR_LINESTATEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_LINESTATEEN_SHIFT)) & USB_OTGICR_LINESTATEEN_MASK) |
|
#define | USB_OTGICR_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGICR_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGICR_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_ONEMSECEN_SHIFT)) & USB_OTGICR_ONEMSECEN_MASK) |
|
#define | USB_OTGICR_IDEN_MASK (0x80U) |
|
#define | USB_OTGICR_IDEN_SHIFT (7U) |
|
#define | USB_OTGICR_IDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_IDEN_SHIFT)) & USB_OTGICR_IDEN_MASK) |
|
#define | USB_OTGICR_AVBUSEN_MASK 0x1u |
|
#define | USB_OTGICR_AVBUSEN_SHIFT 0 |
|
#define | USB_OTGICR_BSESSEN_MASK 0x4u |
|
#define | USB_OTGICR_BSESSEN_SHIFT 2 |
|
#define | USB_OTGICR_SESSVLDEN_MASK 0x8u |
|
#define | USB_OTGICR_SESSVLDEN_SHIFT 3 |
|
#define | USB_OTGICR_LINESTATEEN_MASK 0x20u |
|
#define | USB_OTGICR_LINESTATEEN_SHIFT 5 |
|
#define | USB_OTGICR_ONEMSECEN_MASK 0x40u |
|
#define | USB_OTGICR_ONEMSECEN_SHIFT 6 |
|
#define | USB_OTGICR_IDEN_MASK 0x80u |
|
#define | USB_OTGICR_IDEN_SHIFT 7 |
|
#define | USB_OTGICR_AVBUSEN_MASK (0x1U) |
|
#define | USB_OTGICR_AVBUSEN_SHIFT (0U) |
|
#define | USB_OTGICR_AVBUSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_AVBUSEN_SHIFT)) & USB_OTGICR_AVBUSEN_MASK) |
|
#define | USB_OTGICR_BSESSEN_MASK (0x4U) |
|
#define | USB_OTGICR_BSESSEN_SHIFT (2U) |
|
#define | USB_OTGICR_BSESSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_BSESSEN_SHIFT)) & USB_OTGICR_BSESSEN_MASK) |
|
#define | USB_OTGICR_SESSVLDEN_MASK (0x8U) |
|
#define | USB_OTGICR_SESSVLDEN_SHIFT (3U) |
|
#define | USB_OTGICR_SESSVLDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_SESSVLDEN_SHIFT)) & USB_OTGICR_SESSVLDEN_MASK) |
|
#define | USB_OTGICR_LINESTATEEN_MASK (0x20U) |
|
#define | USB_OTGICR_LINESTATEEN_SHIFT (5U) |
|
#define | USB_OTGICR_LINESTATEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_LINESTATEEN_SHIFT)) & USB_OTGICR_LINESTATEEN_MASK) |
|
#define | USB_OTGICR_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGICR_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGICR_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_ONEMSECEN_SHIFT)) & USB_OTGICR_ONEMSECEN_MASK) |
|
#define | USB_OTGICR_IDEN_MASK (0x80U) |
|
#define | USB_OTGICR_IDEN_SHIFT (7U) |
|
#define | USB_OTGICR_IDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_IDEN_SHIFT)) & USB_OTGICR_IDEN_MASK) |
|
#define | USB_OTGICR_AVBUSEN_MASK (0x1U) |
|
#define | USB_OTGICR_AVBUSEN_SHIFT (0U) |
|
#define | USB_OTGICR_AVBUSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_AVBUSEN_SHIFT)) & USB_OTGICR_AVBUSEN_MASK) |
|
#define | USB_OTGICR_BSESSEN_MASK (0x4U) |
|
#define | USB_OTGICR_BSESSEN_SHIFT (2U) |
|
#define | USB_OTGICR_BSESSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_BSESSEN_SHIFT)) & USB_OTGICR_BSESSEN_MASK) |
|
#define | USB_OTGICR_SESSVLDEN_MASK (0x8U) |
|
#define | USB_OTGICR_SESSVLDEN_SHIFT (3U) |
|
#define | USB_OTGICR_SESSVLDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_SESSVLDEN_SHIFT)) & USB_OTGICR_SESSVLDEN_MASK) |
|
#define | USB_OTGICR_LINESTATEEN_MASK (0x20U) |
|
#define | USB_OTGICR_LINESTATEEN_SHIFT (5U) |
|
#define | USB_OTGICR_LINESTATEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_LINESTATEEN_SHIFT)) & USB_OTGICR_LINESTATEEN_MASK) |
|
#define | USB_OTGICR_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGICR_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGICR_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_ONEMSECEN_SHIFT)) & USB_OTGICR_ONEMSECEN_MASK) |
|
#define | USB_OTGICR_IDEN_MASK (0x80U) |
|
#define | USB_OTGICR_IDEN_SHIFT (7U) |
|
#define | USB_OTGICR_IDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_IDEN_SHIFT)) & USB_OTGICR_IDEN_MASK) |
|
#define | USB_OTGICR_AVBUSEN_MASK (0x1U) |
|
#define | USB_OTGICR_AVBUSEN_SHIFT (0U) |
|
#define | USB_OTGICR_AVBUSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_AVBUSEN_SHIFT)) & USB_OTGICR_AVBUSEN_MASK) |
|
#define | USB_OTGICR_BSESSEN_MASK (0x4U) |
|
#define | USB_OTGICR_BSESSEN_SHIFT (2U) |
|
#define | USB_OTGICR_BSESSEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_BSESSEN_SHIFT)) & USB_OTGICR_BSESSEN_MASK) |
|
#define | USB_OTGICR_SESSVLDEN_MASK (0x8U) |
|
#define | USB_OTGICR_SESSVLDEN_SHIFT (3U) |
|
#define | USB_OTGICR_SESSVLDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_SESSVLDEN_SHIFT)) & USB_OTGICR_SESSVLDEN_MASK) |
|
#define | USB_OTGICR_LINESTATEEN_MASK (0x20U) |
|
#define | USB_OTGICR_LINESTATEEN_SHIFT (5U) |
|
#define | USB_OTGICR_LINESTATEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_LINESTATEEN_SHIFT)) & USB_OTGICR_LINESTATEEN_MASK) |
|
#define | USB_OTGICR_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGICR_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGICR_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_ONEMSECEN_SHIFT)) & USB_OTGICR_ONEMSECEN_MASK) |
|
#define | USB_OTGICR_IDEN_MASK (0x80U) |
|
#define | USB_OTGICR_IDEN_SHIFT (7U) |
|
#define | USB_OTGICR_IDEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGICR_IDEN_SHIFT)) & USB_OTGICR_IDEN_MASK) |
|
|
#define | USB_OTGSTAT_AVBUSVLD_MASK (0x1U) |
|
#define | USB_OTGSTAT_AVBUSVLD_SHIFT (0U) |
|
#define | USB_OTGSTAT_AVBUSVLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_AVBUSVLD_SHIFT)) & USB_OTGSTAT_AVBUSVLD_MASK) |
|
#define | USB_OTGSTAT_BSESSEND_MASK (0x4U) |
|
#define | USB_OTGSTAT_BSESSEND_SHIFT (2U) |
|
#define | USB_OTGSTAT_BSESSEND(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_BSESSEND_SHIFT)) & USB_OTGSTAT_BSESSEND_MASK) |
|
#define | USB_OTGSTAT_SESS_VLD_MASK (0x8U) |
|
#define | USB_OTGSTAT_SESS_VLD_SHIFT (3U) |
|
#define | USB_OTGSTAT_SESS_VLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_SESS_VLD_SHIFT)) & USB_OTGSTAT_SESS_VLD_MASK) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_MASK (0x20U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_SHIFT (5U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_LINESTATESTABLE_SHIFT)) & USB_OTGSTAT_LINESTATESTABLE_MASK) |
|
#define | USB_OTGSTAT_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGSTAT_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGSTAT_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ONEMSECEN_SHIFT)) & USB_OTGSTAT_ONEMSECEN_MASK) |
|
#define | USB_OTGSTAT_ID_MASK (0x80U) |
|
#define | USB_OTGSTAT_ID_SHIFT (7U) |
|
#define | USB_OTGSTAT_ID(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ID_SHIFT)) & USB_OTGSTAT_ID_MASK) |
|
#define | USB_OTGSTAT_AVBUSVLD_MASK 0x1u |
|
#define | USB_OTGSTAT_AVBUSVLD_SHIFT 0 |
|
#define | USB_OTGSTAT_BSESSEND_MASK 0x4u |
|
#define | USB_OTGSTAT_BSESSEND_SHIFT 2 |
|
#define | USB_OTGSTAT_SESS_VLD_MASK 0x8u |
|
#define | USB_OTGSTAT_SESS_VLD_SHIFT 3 |
|
#define | USB_OTGSTAT_LINESTATESTABLE_MASK 0x20u |
|
#define | USB_OTGSTAT_LINESTATESTABLE_SHIFT 5 |
|
#define | USB_OTGSTAT_ONEMSECEN_MASK 0x40u |
|
#define | USB_OTGSTAT_ONEMSECEN_SHIFT 6 |
|
#define | USB_OTGSTAT_ID_MASK 0x80u |
|
#define | USB_OTGSTAT_ID_SHIFT 7 |
|
#define | USB_OTGSTAT_AVBUSVLD_MASK (0x1U) |
|
#define | USB_OTGSTAT_AVBUSVLD_SHIFT (0U) |
|
#define | USB_OTGSTAT_AVBUSVLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_AVBUSVLD_SHIFT)) & USB_OTGSTAT_AVBUSVLD_MASK) |
|
#define | USB_OTGSTAT_BSESSEND_MASK (0x4U) |
|
#define | USB_OTGSTAT_BSESSEND_SHIFT (2U) |
|
#define | USB_OTGSTAT_BSESSEND(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_BSESSEND_SHIFT)) & USB_OTGSTAT_BSESSEND_MASK) |
|
#define | USB_OTGSTAT_SESS_VLD_MASK (0x8U) |
|
#define | USB_OTGSTAT_SESS_VLD_SHIFT (3U) |
|
#define | USB_OTGSTAT_SESS_VLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_SESS_VLD_SHIFT)) & USB_OTGSTAT_SESS_VLD_MASK) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_MASK (0x20U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_SHIFT (5U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_LINESTATESTABLE_SHIFT)) & USB_OTGSTAT_LINESTATESTABLE_MASK) |
|
#define | USB_OTGSTAT_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGSTAT_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGSTAT_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ONEMSECEN_SHIFT)) & USB_OTGSTAT_ONEMSECEN_MASK) |
|
#define | USB_OTGSTAT_ID_MASK (0x80U) |
|
#define | USB_OTGSTAT_ID_SHIFT (7U) |
|
#define | USB_OTGSTAT_ID(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ID_SHIFT)) & USB_OTGSTAT_ID_MASK) |
|
#define | USB_OTGSTAT_AVBUSVLD_MASK (0x1U) |
|
#define | USB_OTGSTAT_AVBUSVLD_SHIFT (0U) |
|
#define | USB_OTGSTAT_AVBUSVLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_AVBUSVLD_SHIFT)) & USB_OTGSTAT_AVBUSVLD_MASK) |
|
#define | USB_OTGSTAT_BSESSEND_MASK (0x4U) |
|
#define | USB_OTGSTAT_BSESSEND_SHIFT (2U) |
|
#define | USB_OTGSTAT_BSESSEND(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_BSESSEND_SHIFT)) & USB_OTGSTAT_BSESSEND_MASK) |
|
#define | USB_OTGSTAT_SESS_VLD_MASK (0x8U) |
|
#define | USB_OTGSTAT_SESS_VLD_SHIFT (3U) |
|
#define | USB_OTGSTAT_SESS_VLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_SESS_VLD_SHIFT)) & USB_OTGSTAT_SESS_VLD_MASK) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_MASK (0x20U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_SHIFT (5U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_LINESTATESTABLE_SHIFT)) & USB_OTGSTAT_LINESTATESTABLE_MASK) |
|
#define | USB_OTGSTAT_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGSTAT_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGSTAT_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ONEMSECEN_SHIFT)) & USB_OTGSTAT_ONEMSECEN_MASK) |
|
#define | USB_OTGSTAT_ID_MASK (0x80U) |
|
#define | USB_OTGSTAT_ID_SHIFT (7U) |
|
#define | USB_OTGSTAT_ID(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ID_SHIFT)) & USB_OTGSTAT_ID_MASK) |
|
#define | USB_OTGSTAT_AVBUSVLD_MASK (0x1U) |
|
#define | USB_OTGSTAT_AVBUSVLD_SHIFT (0U) |
|
#define | USB_OTGSTAT_AVBUSVLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_AVBUSVLD_SHIFT)) & USB_OTGSTAT_AVBUSVLD_MASK) |
|
#define | USB_OTGSTAT_BSESSEND_MASK (0x4U) |
|
#define | USB_OTGSTAT_BSESSEND_SHIFT (2U) |
|
#define | USB_OTGSTAT_BSESSEND(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_BSESSEND_SHIFT)) & USB_OTGSTAT_BSESSEND_MASK) |
|
#define | USB_OTGSTAT_SESS_VLD_MASK (0x8U) |
|
#define | USB_OTGSTAT_SESS_VLD_SHIFT (3U) |
|
#define | USB_OTGSTAT_SESS_VLD(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_SESS_VLD_SHIFT)) & USB_OTGSTAT_SESS_VLD_MASK) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_MASK (0x20U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE_SHIFT (5U) |
|
#define | USB_OTGSTAT_LINESTATESTABLE(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_LINESTATESTABLE_SHIFT)) & USB_OTGSTAT_LINESTATESTABLE_MASK) |
|
#define | USB_OTGSTAT_ONEMSECEN_MASK (0x40U) |
|
#define | USB_OTGSTAT_ONEMSECEN_SHIFT (6U) |
|
#define | USB_OTGSTAT_ONEMSECEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ONEMSECEN_SHIFT)) & USB_OTGSTAT_ONEMSECEN_MASK) |
|
#define | USB_OTGSTAT_ID_MASK (0x80U) |
|
#define | USB_OTGSTAT_ID_SHIFT (7U) |
|
#define | USB_OTGSTAT_ID(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGSTAT_ID_SHIFT)) & USB_OTGSTAT_ID_MASK) |
|
|
#define | USB_OTGCTL_OTGEN_MASK (0x4U) |
|
#define | USB_OTGCTL_OTGEN_SHIFT (2U) |
|
#define | USB_OTGCTL_OTGEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_OTGEN_SHIFT)) & USB_OTGCTL_OTGEN_MASK) |
|
#define | USB_OTGCTL_DMLOW_MASK (0x10U) |
|
#define | USB_OTGCTL_DMLOW_SHIFT (4U) |
|
#define | USB_OTGCTL_DMLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DMLOW_SHIFT)) & USB_OTGCTL_DMLOW_MASK) |
|
#define | USB_OTGCTL_DPLOW_MASK (0x20U) |
|
#define | USB_OTGCTL_DPLOW_SHIFT (5U) |
|
#define | USB_OTGCTL_DPLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPLOW_SHIFT)) & USB_OTGCTL_DPLOW_MASK) |
|
#define | USB_OTGCTL_DPHIGH_MASK (0x80U) |
|
#define | USB_OTGCTL_DPHIGH_SHIFT (7U) |
|
#define | USB_OTGCTL_DPHIGH(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPHIGH_SHIFT)) & USB_OTGCTL_DPHIGH_MASK) |
|
#define | USB_OTGCTL_OTGEN_MASK 0x4u |
|
#define | USB_OTGCTL_OTGEN_SHIFT 2 |
|
#define | USB_OTGCTL_DMLOW_MASK 0x10u |
|
#define | USB_OTGCTL_DMLOW_SHIFT 4 |
|
#define | USB_OTGCTL_DPLOW_MASK 0x20u |
|
#define | USB_OTGCTL_DPLOW_SHIFT 5 |
|
#define | USB_OTGCTL_DPHIGH_MASK 0x80u |
|
#define | USB_OTGCTL_DPHIGH_SHIFT 7 |
|
#define | USB_OTGCTL_OTGEN_MASK (0x4U) |
|
#define | USB_OTGCTL_OTGEN_SHIFT (2U) |
|
#define | USB_OTGCTL_OTGEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_OTGEN_SHIFT)) & USB_OTGCTL_OTGEN_MASK) |
|
#define | USB_OTGCTL_DMLOW_MASK (0x10U) |
|
#define | USB_OTGCTL_DMLOW_SHIFT (4U) |
|
#define | USB_OTGCTL_DMLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DMLOW_SHIFT)) & USB_OTGCTL_DMLOW_MASK) |
|
#define | USB_OTGCTL_DPLOW_MASK (0x20U) |
|
#define | USB_OTGCTL_DPLOW_SHIFT (5U) |
|
#define | USB_OTGCTL_DPLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPLOW_SHIFT)) & USB_OTGCTL_DPLOW_MASK) |
|
#define | USB_OTGCTL_DPHIGH_MASK (0x80U) |
|
#define | USB_OTGCTL_DPHIGH_SHIFT (7U) |
|
#define | USB_OTGCTL_DPHIGH(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPHIGH_SHIFT)) & USB_OTGCTL_DPHIGH_MASK) |
|
#define | USB_OTGCTL_OTGEN_MASK (0x4U) |
|
#define | USB_OTGCTL_OTGEN_SHIFT (2U) |
|
#define | USB_OTGCTL_OTGEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_OTGEN_SHIFT)) & USB_OTGCTL_OTGEN_MASK) |
|
#define | USB_OTGCTL_DMLOW_MASK (0x10U) |
|
#define | USB_OTGCTL_DMLOW_SHIFT (4U) |
|
#define | USB_OTGCTL_DMLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DMLOW_SHIFT)) & USB_OTGCTL_DMLOW_MASK) |
|
#define | USB_OTGCTL_DPLOW_MASK (0x20U) |
|
#define | USB_OTGCTL_DPLOW_SHIFT (5U) |
|
#define | USB_OTGCTL_DPLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPLOW_SHIFT)) & USB_OTGCTL_DPLOW_MASK) |
|
#define | USB_OTGCTL_DPHIGH_MASK (0x80U) |
|
#define | USB_OTGCTL_DPHIGH_SHIFT (7U) |
|
#define | USB_OTGCTL_DPHIGH(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPHIGH_SHIFT)) & USB_OTGCTL_DPHIGH_MASK) |
|
#define | USB_OTGCTL_OTGEN_MASK (0x4U) |
|
#define | USB_OTGCTL_OTGEN_SHIFT (2U) |
|
#define | USB_OTGCTL_OTGEN(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_OTGEN_SHIFT)) & USB_OTGCTL_OTGEN_MASK) |
|
#define | USB_OTGCTL_DMLOW_MASK (0x10U) |
|
#define | USB_OTGCTL_DMLOW_SHIFT (4U) |
|
#define | USB_OTGCTL_DMLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DMLOW_SHIFT)) & USB_OTGCTL_DMLOW_MASK) |
|
#define | USB_OTGCTL_DPLOW_MASK (0x20U) |
|
#define | USB_OTGCTL_DPLOW_SHIFT (5U) |
|
#define | USB_OTGCTL_DPLOW(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPLOW_SHIFT)) & USB_OTGCTL_DPLOW_MASK) |
|
#define | USB_OTGCTL_DPHIGH_MASK (0x80U) |
|
#define | USB_OTGCTL_DPHIGH_SHIFT (7U) |
|
#define | USB_OTGCTL_DPHIGH(x) (((uint8_t)(((uint8_t)(x)) << USB_OTGCTL_DPHIGH_SHIFT)) & USB_OTGCTL_DPHIGH_MASK) |
|
|
#define | USB_ISTAT_USBRST_MASK (0x1U) |
|
#define | USB_ISTAT_USBRST_SHIFT (0U) |
|
#define | USB_ISTAT_USBRST(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_USBRST_SHIFT)) & USB_ISTAT_USBRST_MASK) |
|
#define | USB_ISTAT_ERROR_MASK (0x2U) |
|
#define | USB_ISTAT_ERROR_SHIFT (1U) |
|
#define | USB_ISTAT_ERROR(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ERROR_SHIFT)) & USB_ISTAT_ERROR_MASK) |
|
#define | USB_ISTAT_SOFTOK_MASK (0x4U) |
|
#define | USB_ISTAT_SOFTOK_SHIFT (2U) |
|
#define | USB_ISTAT_SOFTOK(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SOFTOK_SHIFT)) & USB_ISTAT_SOFTOK_MASK) |
|
#define | USB_ISTAT_TOKDNE_MASK (0x8U) |
|
#define | USB_ISTAT_TOKDNE_SHIFT (3U) |
|
#define | USB_ISTAT_TOKDNE(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_TOKDNE_SHIFT)) & USB_ISTAT_TOKDNE_MASK) |
|
#define | USB_ISTAT_SLEEP_MASK (0x10U) |
|
#define | USB_ISTAT_SLEEP_SHIFT (4U) |
|
#define | USB_ISTAT_SLEEP(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SLEEP_SHIFT)) & USB_ISTAT_SLEEP_MASK) |
|
#define | USB_ISTAT_RESUME_MASK (0x20U) |
|
#define | USB_ISTAT_RESUME_SHIFT (5U) |
|
#define | USB_ISTAT_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_RESUME_SHIFT)) & USB_ISTAT_RESUME_MASK) |
|
#define | USB_ISTAT_ATTACH_MASK (0x40U) |
|
#define | USB_ISTAT_ATTACH_SHIFT (6U) |
|
#define | USB_ISTAT_ATTACH(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ATTACH_SHIFT)) & USB_ISTAT_ATTACH_MASK) |
|
#define | USB_ISTAT_STALL_MASK (0x80U) |
|
#define | USB_ISTAT_STALL_SHIFT (7U) |
|
#define | USB_ISTAT_STALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_STALL_SHIFT)) & USB_ISTAT_STALL_MASK) |
|
#define | USB_ISTAT_USBRST_MASK 0x1u |
|
#define | USB_ISTAT_USBRST_SHIFT 0 |
|
#define | USB_ISTAT_ERROR_MASK 0x2u |
|
#define | USB_ISTAT_ERROR_SHIFT 1 |
|
#define | USB_ISTAT_SOFTOK_MASK 0x4u |
|
#define | USB_ISTAT_SOFTOK_SHIFT 2 |
|
#define | USB_ISTAT_TOKDNE_MASK 0x8u |
|
#define | USB_ISTAT_TOKDNE_SHIFT 3 |
|
#define | USB_ISTAT_SLEEP_MASK 0x10u |
|
#define | USB_ISTAT_SLEEP_SHIFT 4 |
|
#define | USB_ISTAT_RESUME_MASK 0x20u |
|
#define | USB_ISTAT_RESUME_SHIFT 5 |
|
#define | USB_ISTAT_ATTACH_MASK 0x40u |
|
#define | USB_ISTAT_ATTACH_SHIFT 6 |
|
#define | USB_ISTAT_STALL_MASK 0x80u |
|
#define | USB_ISTAT_STALL_SHIFT 7 |
|
#define | USB_ISTAT_USBRST_MASK (0x1U) |
|
#define | USB_ISTAT_USBRST_SHIFT (0U) |
|
#define | USB_ISTAT_USBRST(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_USBRST_SHIFT)) & USB_ISTAT_USBRST_MASK) |
|
#define | USB_ISTAT_ERROR_MASK (0x2U) |
|
#define | USB_ISTAT_ERROR_SHIFT (1U) |
|
#define | USB_ISTAT_ERROR(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ERROR_SHIFT)) & USB_ISTAT_ERROR_MASK) |
|
#define | USB_ISTAT_SOFTOK_MASK (0x4U) |
|
#define | USB_ISTAT_SOFTOK_SHIFT (2U) |
|
#define | USB_ISTAT_SOFTOK(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SOFTOK_SHIFT)) & USB_ISTAT_SOFTOK_MASK) |
|
#define | USB_ISTAT_TOKDNE_MASK (0x8U) |
|
#define | USB_ISTAT_TOKDNE_SHIFT (3U) |
|
#define | USB_ISTAT_TOKDNE(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_TOKDNE_SHIFT)) & USB_ISTAT_TOKDNE_MASK) |
|
#define | USB_ISTAT_SLEEP_MASK (0x10U) |
|
#define | USB_ISTAT_SLEEP_SHIFT (4U) |
|
#define | USB_ISTAT_SLEEP(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SLEEP_SHIFT)) & USB_ISTAT_SLEEP_MASK) |
|
#define | USB_ISTAT_RESUME_MASK (0x20U) |
|
#define | USB_ISTAT_RESUME_SHIFT (5U) |
|
#define | USB_ISTAT_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_RESUME_SHIFT)) & USB_ISTAT_RESUME_MASK) |
|
#define | USB_ISTAT_ATTACH_MASK (0x40U) |
|
#define | USB_ISTAT_ATTACH_SHIFT (6U) |
|
#define | USB_ISTAT_ATTACH(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ATTACH_SHIFT)) & USB_ISTAT_ATTACH_MASK) |
|
#define | USB_ISTAT_STALL_MASK (0x80U) |
|
#define | USB_ISTAT_STALL_SHIFT (7U) |
|
#define | USB_ISTAT_STALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_STALL_SHIFT)) & USB_ISTAT_STALL_MASK) |
|
#define | USB_ISTAT_USBRST_MASK (0x1U) |
|
#define | USB_ISTAT_USBRST_SHIFT (0U) |
|
#define | USB_ISTAT_USBRST(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_USBRST_SHIFT)) & USB_ISTAT_USBRST_MASK) |
|
#define | USB_ISTAT_ERROR_MASK (0x2U) |
|
#define | USB_ISTAT_ERROR_SHIFT (1U) |
|
#define | USB_ISTAT_ERROR(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ERROR_SHIFT)) & USB_ISTAT_ERROR_MASK) |
|
#define | USB_ISTAT_SOFTOK_MASK (0x4U) |
|
#define | USB_ISTAT_SOFTOK_SHIFT (2U) |
|
#define | USB_ISTAT_SOFTOK(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SOFTOK_SHIFT)) & USB_ISTAT_SOFTOK_MASK) |
|
#define | USB_ISTAT_TOKDNE_MASK (0x8U) |
|
#define | USB_ISTAT_TOKDNE_SHIFT (3U) |
|
#define | USB_ISTAT_TOKDNE(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_TOKDNE_SHIFT)) & USB_ISTAT_TOKDNE_MASK) |
|
#define | USB_ISTAT_SLEEP_MASK (0x10U) |
|
#define | USB_ISTAT_SLEEP_SHIFT (4U) |
|
#define | USB_ISTAT_SLEEP(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SLEEP_SHIFT)) & USB_ISTAT_SLEEP_MASK) |
|
#define | USB_ISTAT_RESUME_MASK (0x20U) |
|
#define | USB_ISTAT_RESUME_SHIFT (5U) |
|
#define | USB_ISTAT_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_RESUME_SHIFT)) & USB_ISTAT_RESUME_MASK) |
|
#define | USB_ISTAT_ATTACH_MASK (0x40U) |
|
#define | USB_ISTAT_ATTACH_SHIFT (6U) |
|
#define | USB_ISTAT_ATTACH(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ATTACH_SHIFT)) & USB_ISTAT_ATTACH_MASK) |
|
#define | USB_ISTAT_STALL_MASK (0x80U) |
|
#define | USB_ISTAT_STALL_SHIFT (7U) |
|
#define | USB_ISTAT_STALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_STALL_SHIFT)) & USB_ISTAT_STALL_MASK) |
|
#define | USB_ISTAT_USBRST_MASK (0x1U) |
|
#define | USB_ISTAT_USBRST_SHIFT (0U) |
|
#define | USB_ISTAT_USBRST(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_USBRST_SHIFT)) & USB_ISTAT_USBRST_MASK) |
|
#define | USB_ISTAT_ERROR_MASK (0x2U) |
|
#define | USB_ISTAT_ERROR_SHIFT (1U) |
|
#define | USB_ISTAT_ERROR(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ERROR_SHIFT)) & USB_ISTAT_ERROR_MASK) |
|
#define | USB_ISTAT_SOFTOK_MASK (0x4U) |
|
#define | USB_ISTAT_SOFTOK_SHIFT (2U) |
|
#define | USB_ISTAT_SOFTOK(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SOFTOK_SHIFT)) & USB_ISTAT_SOFTOK_MASK) |
|
#define | USB_ISTAT_TOKDNE_MASK (0x8U) |
|
#define | USB_ISTAT_TOKDNE_SHIFT (3U) |
|
#define | USB_ISTAT_TOKDNE(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_TOKDNE_SHIFT)) & USB_ISTAT_TOKDNE_MASK) |
|
#define | USB_ISTAT_SLEEP_MASK (0x10U) |
|
#define | USB_ISTAT_SLEEP_SHIFT (4U) |
|
#define | USB_ISTAT_SLEEP(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_SLEEP_SHIFT)) & USB_ISTAT_SLEEP_MASK) |
|
#define | USB_ISTAT_RESUME_MASK (0x20U) |
|
#define | USB_ISTAT_RESUME_SHIFT (5U) |
|
#define | USB_ISTAT_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_RESUME_SHIFT)) & USB_ISTAT_RESUME_MASK) |
|
#define | USB_ISTAT_ATTACH_MASK (0x40U) |
|
#define | USB_ISTAT_ATTACH_SHIFT (6U) |
|
#define | USB_ISTAT_ATTACH(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_ATTACH_SHIFT)) & USB_ISTAT_ATTACH_MASK) |
|
#define | USB_ISTAT_STALL_MASK (0x80U) |
|
#define | USB_ISTAT_STALL_SHIFT (7U) |
|
#define | USB_ISTAT_STALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ISTAT_STALL_SHIFT)) & USB_ISTAT_STALL_MASK) |
|
|
#define | USB_INTEN_USBRSTEN_MASK (0x1U) |
|
#define | USB_INTEN_USBRSTEN_SHIFT (0U) |
|
#define | USB_INTEN_USBRSTEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_USBRSTEN_SHIFT)) & USB_INTEN_USBRSTEN_MASK) |
|
#define | USB_INTEN_ERROREN_MASK (0x2U) |
|
#define | USB_INTEN_ERROREN_SHIFT (1U) |
|
#define | USB_INTEN_ERROREN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ERROREN_SHIFT)) & USB_INTEN_ERROREN_MASK) |
|
#define | USB_INTEN_SOFTOKEN_MASK (0x4U) |
|
#define | USB_INTEN_SOFTOKEN_SHIFT (2U) |
|
#define | USB_INTEN_SOFTOKEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SOFTOKEN_SHIFT)) & USB_INTEN_SOFTOKEN_MASK) |
|
#define | USB_INTEN_TOKDNEEN_MASK (0x8U) |
|
#define | USB_INTEN_TOKDNEEN_SHIFT (3U) |
|
#define | USB_INTEN_TOKDNEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_TOKDNEEN_SHIFT)) & USB_INTEN_TOKDNEEN_MASK) |
|
#define | USB_INTEN_SLEEPEN_MASK (0x10U) |
|
#define | USB_INTEN_SLEEPEN_SHIFT (4U) |
|
#define | USB_INTEN_SLEEPEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SLEEPEN_SHIFT)) & USB_INTEN_SLEEPEN_MASK) |
|
#define | USB_INTEN_RESUMEEN_MASK (0x20U) |
|
#define | USB_INTEN_RESUMEEN_SHIFT (5U) |
|
#define | USB_INTEN_RESUMEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_RESUMEEN_SHIFT)) & USB_INTEN_RESUMEEN_MASK) |
|
#define | USB_INTEN_ATTACHEN_MASK (0x40U) |
|
#define | USB_INTEN_ATTACHEN_SHIFT (6U) |
|
#define | USB_INTEN_ATTACHEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ATTACHEN_SHIFT)) & USB_INTEN_ATTACHEN_MASK) |
|
#define | USB_INTEN_STALLEN_MASK (0x80U) |
|
#define | USB_INTEN_STALLEN_SHIFT (7U) |
|
#define | USB_INTEN_STALLEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_STALLEN_SHIFT)) & USB_INTEN_STALLEN_MASK) |
|
#define | USB_INTEN_USBRSTEN_MASK 0x1u |
|
#define | USB_INTEN_USBRSTEN_SHIFT 0 |
|
#define | USB_INTEN_ERROREN_MASK 0x2u |
|
#define | USB_INTEN_ERROREN_SHIFT 1 |
|
#define | USB_INTEN_SOFTOKEN_MASK 0x4u |
|
#define | USB_INTEN_SOFTOKEN_SHIFT 2 |
|
#define | USB_INTEN_TOKDNEEN_MASK 0x8u |
|
#define | USB_INTEN_TOKDNEEN_SHIFT 3 |
|
#define | USB_INTEN_SLEEPEN_MASK 0x10u |
|
#define | USB_INTEN_SLEEPEN_SHIFT 4 |
|
#define | USB_INTEN_RESUMEEN_MASK 0x20u |
|
#define | USB_INTEN_RESUMEEN_SHIFT 5 |
|
#define | USB_INTEN_ATTACHEN_MASK 0x40u |
|
#define | USB_INTEN_ATTACHEN_SHIFT 6 |
|
#define | USB_INTEN_STALLEN_MASK 0x80u |
|
#define | USB_INTEN_STALLEN_SHIFT 7 |
|
#define | USB_INTEN_USBRSTEN_MASK (0x1U) |
|
#define | USB_INTEN_USBRSTEN_SHIFT (0U) |
|
#define | USB_INTEN_USBRSTEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_USBRSTEN_SHIFT)) & USB_INTEN_USBRSTEN_MASK) |
|
#define | USB_INTEN_ERROREN_MASK (0x2U) |
|
#define | USB_INTEN_ERROREN_SHIFT (1U) |
|
#define | USB_INTEN_ERROREN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ERROREN_SHIFT)) & USB_INTEN_ERROREN_MASK) |
|
#define | USB_INTEN_SOFTOKEN_MASK (0x4U) |
|
#define | USB_INTEN_SOFTOKEN_SHIFT (2U) |
|
#define | USB_INTEN_SOFTOKEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SOFTOKEN_SHIFT)) & USB_INTEN_SOFTOKEN_MASK) |
|
#define | USB_INTEN_TOKDNEEN_MASK (0x8U) |
|
#define | USB_INTEN_TOKDNEEN_SHIFT (3U) |
|
#define | USB_INTEN_TOKDNEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_TOKDNEEN_SHIFT)) & USB_INTEN_TOKDNEEN_MASK) |
|
#define | USB_INTEN_SLEEPEN_MASK (0x10U) |
|
#define | USB_INTEN_SLEEPEN_SHIFT (4U) |
|
#define | USB_INTEN_SLEEPEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SLEEPEN_SHIFT)) & USB_INTEN_SLEEPEN_MASK) |
|
#define | USB_INTEN_RESUMEEN_MASK (0x20U) |
|
#define | USB_INTEN_RESUMEEN_SHIFT (5U) |
|
#define | USB_INTEN_RESUMEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_RESUMEEN_SHIFT)) & USB_INTEN_RESUMEEN_MASK) |
|
#define | USB_INTEN_ATTACHEN_MASK (0x40U) |
|
#define | USB_INTEN_ATTACHEN_SHIFT (6U) |
|
#define | USB_INTEN_ATTACHEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ATTACHEN_SHIFT)) & USB_INTEN_ATTACHEN_MASK) |
|
#define | USB_INTEN_STALLEN_MASK (0x80U) |
|
#define | USB_INTEN_STALLEN_SHIFT (7U) |
|
#define | USB_INTEN_STALLEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_STALLEN_SHIFT)) & USB_INTEN_STALLEN_MASK) |
|
#define | USB_INTEN_USBRSTEN_MASK (0x1U) |
|
#define | USB_INTEN_USBRSTEN_SHIFT (0U) |
|
#define | USB_INTEN_USBRSTEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_USBRSTEN_SHIFT)) & USB_INTEN_USBRSTEN_MASK) |
|
#define | USB_INTEN_ERROREN_MASK (0x2U) |
|
#define | USB_INTEN_ERROREN_SHIFT (1U) |
|
#define | USB_INTEN_ERROREN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ERROREN_SHIFT)) & USB_INTEN_ERROREN_MASK) |
|
#define | USB_INTEN_SOFTOKEN_MASK (0x4U) |
|
#define | USB_INTEN_SOFTOKEN_SHIFT (2U) |
|
#define | USB_INTEN_SOFTOKEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SOFTOKEN_SHIFT)) & USB_INTEN_SOFTOKEN_MASK) |
|
#define | USB_INTEN_TOKDNEEN_MASK (0x8U) |
|
#define | USB_INTEN_TOKDNEEN_SHIFT (3U) |
|
#define | USB_INTEN_TOKDNEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_TOKDNEEN_SHIFT)) & USB_INTEN_TOKDNEEN_MASK) |
|
#define | USB_INTEN_SLEEPEN_MASK (0x10U) |
|
#define | USB_INTEN_SLEEPEN_SHIFT (4U) |
|
#define | USB_INTEN_SLEEPEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SLEEPEN_SHIFT)) & USB_INTEN_SLEEPEN_MASK) |
|
#define | USB_INTEN_RESUMEEN_MASK (0x20U) |
|
#define | USB_INTEN_RESUMEEN_SHIFT (5U) |
|
#define | USB_INTEN_RESUMEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_RESUMEEN_SHIFT)) & USB_INTEN_RESUMEEN_MASK) |
|
#define | USB_INTEN_ATTACHEN_MASK (0x40U) |
|
#define | USB_INTEN_ATTACHEN_SHIFT (6U) |
|
#define | USB_INTEN_ATTACHEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ATTACHEN_SHIFT)) & USB_INTEN_ATTACHEN_MASK) |
|
#define | USB_INTEN_STALLEN_MASK (0x80U) |
|
#define | USB_INTEN_STALLEN_SHIFT (7U) |
|
#define | USB_INTEN_STALLEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_STALLEN_SHIFT)) & USB_INTEN_STALLEN_MASK) |
|
#define | USB_INTEN_USBRSTEN_MASK (0x1U) |
|
#define | USB_INTEN_USBRSTEN_SHIFT (0U) |
|
#define | USB_INTEN_USBRSTEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_USBRSTEN_SHIFT)) & USB_INTEN_USBRSTEN_MASK) |
|
#define | USB_INTEN_ERROREN_MASK (0x2U) |
|
#define | USB_INTEN_ERROREN_SHIFT (1U) |
|
#define | USB_INTEN_ERROREN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ERROREN_SHIFT)) & USB_INTEN_ERROREN_MASK) |
|
#define | USB_INTEN_SOFTOKEN_MASK (0x4U) |
|
#define | USB_INTEN_SOFTOKEN_SHIFT (2U) |
|
#define | USB_INTEN_SOFTOKEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SOFTOKEN_SHIFT)) & USB_INTEN_SOFTOKEN_MASK) |
|
#define | USB_INTEN_TOKDNEEN_MASK (0x8U) |
|
#define | USB_INTEN_TOKDNEEN_SHIFT (3U) |
|
#define | USB_INTEN_TOKDNEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_TOKDNEEN_SHIFT)) & USB_INTEN_TOKDNEEN_MASK) |
|
#define | USB_INTEN_SLEEPEN_MASK (0x10U) |
|
#define | USB_INTEN_SLEEPEN_SHIFT (4U) |
|
#define | USB_INTEN_SLEEPEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_SLEEPEN_SHIFT)) & USB_INTEN_SLEEPEN_MASK) |
|
#define | USB_INTEN_RESUMEEN_MASK (0x20U) |
|
#define | USB_INTEN_RESUMEEN_SHIFT (5U) |
|
#define | USB_INTEN_RESUMEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_RESUMEEN_SHIFT)) & USB_INTEN_RESUMEEN_MASK) |
|
#define | USB_INTEN_ATTACHEN_MASK (0x40U) |
|
#define | USB_INTEN_ATTACHEN_SHIFT (6U) |
|
#define | USB_INTEN_ATTACHEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_ATTACHEN_SHIFT)) & USB_INTEN_ATTACHEN_MASK) |
|
#define | USB_INTEN_STALLEN_MASK (0x80U) |
|
#define | USB_INTEN_STALLEN_SHIFT (7U) |
|
#define | USB_INTEN_STALLEN(x) (((uint8_t)(((uint8_t)(x)) << USB_INTEN_STALLEN_SHIFT)) & USB_INTEN_STALLEN_MASK) |
|
|
#define | USB_ERRSTAT_PIDERR_MASK (0x1U) |
|
#define | USB_ERRSTAT_PIDERR_SHIFT (0U) |
|
#define | USB_ERRSTAT_PIDERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_PIDERR_SHIFT)) & USB_ERRSTAT_PIDERR_MASK) |
|
#define | USB_ERRSTAT_CRC5EOF_MASK (0x2U) |
|
#define | USB_ERRSTAT_CRC5EOF_SHIFT (1U) |
|
#define | USB_ERRSTAT_CRC5EOF(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC5EOF_SHIFT)) & USB_ERRSTAT_CRC5EOF_MASK) |
|
#define | USB_ERRSTAT_CRC16_MASK (0x4U) |
|
#define | USB_ERRSTAT_CRC16_SHIFT (2U) |
|
#define | USB_ERRSTAT_CRC16(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC16_SHIFT)) & USB_ERRSTAT_CRC16_MASK) |
|
#define | USB_ERRSTAT_DFN8_MASK (0x8U) |
|
#define | USB_ERRSTAT_DFN8_SHIFT (3U) |
|
#define | USB_ERRSTAT_DFN8(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DFN8_SHIFT)) & USB_ERRSTAT_DFN8_MASK) |
|
#define | USB_ERRSTAT_BTOERR_MASK (0x10U) |
|
#define | USB_ERRSTAT_BTOERR_SHIFT (4U) |
|
#define | USB_ERRSTAT_BTOERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTOERR_SHIFT)) & USB_ERRSTAT_BTOERR_MASK) |
|
#define | USB_ERRSTAT_DMAERR_MASK (0x20U) |
|
#define | USB_ERRSTAT_DMAERR_SHIFT (5U) |
|
#define | USB_ERRSTAT_DMAERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DMAERR_SHIFT)) & USB_ERRSTAT_DMAERR_MASK) |
|
#define | USB_ERRSTAT_BTSERR_MASK (0x80U) |
|
#define | USB_ERRSTAT_BTSERR_SHIFT (7U) |
|
#define | USB_ERRSTAT_BTSERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTSERR_SHIFT)) & USB_ERRSTAT_BTSERR_MASK) |
|
#define | USB_ERRSTAT_PIDERR_MASK 0x1u |
|
#define | USB_ERRSTAT_PIDERR_SHIFT 0 |
|
#define | USB_ERRSTAT_CRC5EOF_MASK 0x2u |
|
#define | USB_ERRSTAT_CRC5EOF_SHIFT 1 |
|
#define | USB_ERRSTAT_CRC16_MASK 0x4u |
|
#define | USB_ERRSTAT_CRC16_SHIFT 2 |
|
#define | USB_ERRSTAT_DFN8_MASK 0x8u |
|
#define | USB_ERRSTAT_DFN8_SHIFT 3 |
|
#define | USB_ERRSTAT_BTOERR_MASK 0x10u |
|
#define | USB_ERRSTAT_BTOERR_SHIFT 4 |
|
#define | USB_ERRSTAT_DMAERR_MASK 0x20u |
|
#define | USB_ERRSTAT_DMAERR_SHIFT 5 |
|
#define | USB_ERRSTAT_BTSERR_MASK 0x80u |
|
#define | USB_ERRSTAT_BTSERR_SHIFT 7 |
|
#define | USB_ERRSTAT_PIDERR_MASK (0x1U) |
|
#define | USB_ERRSTAT_PIDERR_SHIFT (0U) |
|
#define | USB_ERRSTAT_PIDERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_PIDERR_SHIFT)) & USB_ERRSTAT_PIDERR_MASK) |
|
#define | USB_ERRSTAT_CRC5EOF_MASK (0x2U) |
|
#define | USB_ERRSTAT_CRC5EOF_SHIFT (1U) |
|
#define | USB_ERRSTAT_CRC5EOF(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC5EOF_SHIFT)) & USB_ERRSTAT_CRC5EOF_MASK) |
|
#define | USB_ERRSTAT_CRC16_MASK (0x4U) |
|
#define | USB_ERRSTAT_CRC16_SHIFT (2U) |
|
#define | USB_ERRSTAT_CRC16(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC16_SHIFT)) & USB_ERRSTAT_CRC16_MASK) |
|
#define | USB_ERRSTAT_DFN8_MASK (0x8U) |
|
#define | USB_ERRSTAT_DFN8_SHIFT (3U) |
|
#define | USB_ERRSTAT_DFN8(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DFN8_SHIFT)) & USB_ERRSTAT_DFN8_MASK) |
|
#define | USB_ERRSTAT_BTOERR_MASK (0x10U) |
|
#define | USB_ERRSTAT_BTOERR_SHIFT (4U) |
|
#define | USB_ERRSTAT_BTOERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTOERR_SHIFT)) & USB_ERRSTAT_BTOERR_MASK) |
|
#define | USB_ERRSTAT_DMAERR_MASK (0x20U) |
|
#define | USB_ERRSTAT_DMAERR_SHIFT (5U) |
|
#define | USB_ERRSTAT_DMAERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DMAERR_SHIFT)) & USB_ERRSTAT_DMAERR_MASK) |
|
#define | USB_ERRSTAT_BTSERR_MASK (0x80U) |
|
#define | USB_ERRSTAT_BTSERR_SHIFT (7U) |
|
#define | USB_ERRSTAT_BTSERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTSERR_SHIFT)) & USB_ERRSTAT_BTSERR_MASK) |
|
#define | USB_ERRSTAT_PIDERR_MASK (0x1U) |
|
#define | USB_ERRSTAT_PIDERR_SHIFT (0U) |
|
#define | USB_ERRSTAT_PIDERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_PIDERR_SHIFT)) & USB_ERRSTAT_PIDERR_MASK) |
|
#define | USB_ERRSTAT_CRC5EOF_MASK (0x2U) |
|
#define | USB_ERRSTAT_CRC5EOF_SHIFT (1U) |
|
#define | USB_ERRSTAT_CRC5EOF(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC5EOF_SHIFT)) & USB_ERRSTAT_CRC5EOF_MASK) |
|
#define | USB_ERRSTAT_CRC16_MASK (0x4U) |
|
#define | USB_ERRSTAT_CRC16_SHIFT (2U) |
|
#define | USB_ERRSTAT_CRC16(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC16_SHIFT)) & USB_ERRSTAT_CRC16_MASK) |
|
#define | USB_ERRSTAT_DFN8_MASK (0x8U) |
|
#define | USB_ERRSTAT_DFN8_SHIFT (3U) |
|
#define | USB_ERRSTAT_DFN8(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DFN8_SHIFT)) & USB_ERRSTAT_DFN8_MASK) |
|
#define | USB_ERRSTAT_BTOERR_MASK (0x10U) |
|
#define | USB_ERRSTAT_BTOERR_SHIFT (4U) |
|
#define | USB_ERRSTAT_BTOERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTOERR_SHIFT)) & USB_ERRSTAT_BTOERR_MASK) |
|
#define | USB_ERRSTAT_DMAERR_MASK (0x20U) |
|
#define | USB_ERRSTAT_DMAERR_SHIFT (5U) |
|
#define | USB_ERRSTAT_DMAERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DMAERR_SHIFT)) & USB_ERRSTAT_DMAERR_MASK) |
|
#define | USB_ERRSTAT_BTSERR_MASK (0x80U) |
|
#define | USB_ERRSTAT_BTSERR_SHIFT (7U) |
|
#define | USB_ERRSTAT_BTSERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTSERR_SHIFT)) & USB_ERRSTAT_BTSERR_MASK) |
|
#define | USB_ERRSTAT_PIDERR_MASK (0x1U) |
|
#define | USB_ERRSTAT_PIDERR_SHIFT (0U) |
|
#define | USB_ERRSTAT_PIDERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_PIDERR_SHIFT)) & USB_ERRSTAT_PIDERR_MASK) |
|
#define | USB_ERRSTAT_CRC5EOF_MASK (0x2U) |
|
#define | USB_ERRSTAT_CRC5EOF_SHIFT (1U) |
|
#define | USB_ERRSTAT_CRC5EOF(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC5EOF_SHIFT)) & USB_ERRSTAT_CRC5EOF_MASK) |
|
#define | USB_ERRSTAT_CRC16_MASK (0x4U) |
|
#define | USB_ERRSTAT_CRC16_SHIFT (2U) |
|
#define | USB_ERRSTAT_CRC16(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_CRC16_SHIFT)) & USB_ERRSTAT_CRC16_MASK) |
|
#define | USB_ERRSTAT_DFN8_MASK (0x8U) |
|
#define | USB_ERRSTAT_DFN8_SHIFT (3U) |
|
#define | USB_ERRSTAT_DFN8(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DFN8_SHIFT)) & USB_ERRSTAT_DFN8_MASK) |
|
#define | USB_ERRSTAT_BTOERR_MASK (0x10U) |
|
#define | USB_ERRSTAT_BTOERR_SHIFT (4U) |
|
#define | USB_ERRSTAT_BTOERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTOERR_SHIFT)) & USB_ERRSTAT_BTOERR_MASK) |
|
#define | USB_ERRSTAT_DMAERR_MASK (0x20U) |
|
#define | USB_ERRSTAT_DMAERR_SHIFT (5U) |
|
#define | USB_ERRSTAT_DMAERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_DMAERR_SHIFT)) & USB_ERRSTAT_DMAERR_MASK) |
|
#define | USB_ERRSTAT_BTSERR_MASK (0x80U) |
|
#define | USB_ERRSTAT_BTSERR_SHIFT (7U) |
|
#define | USB_ERRSTAT_BTSERR(x) (((uint8_t)(((uint8_t)(x)) << USB_ERRSTAT_BTSERR_SHIFT)) & USB_ERRSTAT_BTSERR_MASK) |
|
|
#define | USB_ERREN_PIDERREN_MASK (0x1U) |
|
#define | USB_ERREN_PIDERREN_SHIFT (0U) |
|
#define | USB_ERREN_PIDERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_PIDERREN_SHIFT)) & USB_ERREN_PIDERREN_MASK) |
|
#define | USB_ERREN_CRC5EOFEN_MASK (0x2U) |
|
#define | USB_ERREN_CRC5EOFEN_SHIFT (1U) |
|
#define | USB_ERREN_CRC5EOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC5EOFEN_SHIFT)) & USB_ERREN_CRC5EOFEN_MASK) |
|
#define | USB_ERREN_CRC16EN_MASK (0x4U) |
|
#define | USB_ERREN_CRC16EN_SHIFT (2U) |
|
#define | USB_ERREN_CRC16EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC16EN_SHIFT)) & USB_ERREN_CRC16EN_MASK) |
|
#define | USB_ERREN_DFN8EN_MASK (0x8U) |
|
#define | USB_ERREN_DFN8EN_SHIFT (3U) |
|
#define | USB_ERREN_DFN8EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DFN8EN_SHIFT)) & USB_ERREN_DFN8EN_MASK) |
|
#define | USB_ERREN_BTOERREN_MASK (0x10U) |
|
#define | USB_ERREN_BTOERREN_SHIFT (4U) |
|
#define | USB_ERREN_BTOERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTOERREN_SHIFT)) & USB_ERREN_BTOERREN_MASK) |
|
#define | USB_ERREN_DMAERREN_MASK (0x20U) |
|
#define | USB_ERREN_DMAERREN_SHIFT (5U) |
|
#define | USB_ERREN_DMAERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DMAERREN_SHIFT)) & USB_ERREN_DMAERREN_MASK) |
|
#define | USB_ERREN_BTSERREN_MASK (0x80U) |
|
#define | USB_ERREN_BTSERREN_SHIFT (7U) |
|
#define | USB_ERREN_BTSERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTSERREN_SHIFT)) & USB_ERREN_BTSERREN_MASK) |
|
#define | USB_ERREN_PIDERREN_MASK 0x1u |
|
#define | USB_ERREN_PIDERREN_SHIFT 0 |
|
#define | USB_ERREN_CRC5EOFEN_MASK 0x2u |
|
#define | USB_ERREN_CRC5EOFEN_SHIFT 1 |
|
#define | USB_ERREN_CRC16EN_MASK 0x4u |
|
#define | USB_ERREN_CRC16EN_SHIFT 2 |
|
#define | USB_ERREN_DFN8EN_MASK 0x8u |
|
#define | USB_ERREN_DFN8EN_SHIFT 3 |
|
#define | USB_ERREN_BTOERREN_MASK 0x10u |
|
#define | USB_ERREN_BTOERREN_SHIFT 4 |
|
#define | USB_ERREN_DMAERREN_MASK 0x20u |
|
#define | USB_ERREN_DMAERREN_SHIFT 5 |
|
#define | USB_ERREN_BTSERREN_MASK 0x80u |
|
#define | USB_ERREN_BTSERREN_SHIFT 7 |
|
#define | USB_ERREN_PIDERREN_MASK (0x1U) |
|
#define | USB_ERREN_PIDERREN_SHIFT (0U) |
|
#define | USB_ERREN_PIDERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_PIDERREN_SHIFT)) & USB_ERREN_PIDERREN_MASK) |
|
#define | USB_ERREN_CRC5EOFEN_MASK (0x2U) |
|
#define | USB_ERREN_CRC5EOFEN_SHIFT (1U) |
|
#define | USB_ERREN_CRC5EOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC5EOFEN_SHIFT)) & USB_ERREN_CRC5EOFEN_MASK) |
|
#define | USB_ERREN_CRC16EN_MASK (0x4U) |
|
#define | USB_ERREN_CRC16EN_SHIFT (2U) |
|
#define | USB_ERREN_CRC16EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC16EN_SHIFT)) & USB_ERREN_CRC16EN_MASK) |
|
#define | USB_ERREN_DFN8EN_MASK (0x8U) |
|
#define | USB_ERREN_DFN8EN_SHIFT (3U) |
|
#define | USB_ERREN_DFN8EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DFN8EN_SHIFT)) & USB_ERREN_DFN8EN_MASK) |
|
#define | USB_ERREN_BTOERREN_MASK (0x10U) |
|
#define | USB_ERREN_BTOERREN_SHIFT (4U) |
|
#define | USB_ERREN_BTOERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTOERREN_SHIFT)) & USB_ERREN_BTOERREN_MASK) |
|
#define | USB_ERREN_DMAERREN_MASK (0x20U) |
|
#define | USB_ERREN_DMAERREN_SHIFT (5U) |
|
#define | USB_ERREN_DMAERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DMAERREN_SHIFT)) & USB_ERREN_DMAERREN_MASK) |
|
#define | USB_ERREN_BTSERREN_MASK (0x80U) |
|
#define | USB_ERREN_BTSERREN_SHIFT (7U) |
|
#define | USB_ERREN_BTSERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTSERREN_SHIFT)) & USB_ERREN_BTSERREN_MASK) |
|
#define | USB_ERREN_PIDERREN_MASK (0x1U) |
|
#define | USB_ERREN_PIDERREN_SHIFT (0U) |
|
#define | USB_ERREN_PIDERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_PIDERREN_SHIFT)) & USB_ERREN_PIDERREN_MASK) |
|
#define | USB_ERREN_CRC5EOFEN_MASK (0x2U) |
|
#define | USB_ERREN_CRC5EOFEN_SHIFT (1U) |
|
#define | USB_ERREN_CRC5EOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC5EOFEN_SHIFT)) & USB_ERREN_CRC5EOFEN_MASK) |
|
#define | USB_ERREN_CRC16EN_MASK (0x4U) |
|
#define | USB_ERREN_CRC16EN_SHIFT (2U) |
|
#define | USB_ERREN_CRC16EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC16EN_SHIFT)) & USB_ERREN_CRC16EN_MASK) |
|
#define | USB_ERREN_DFN8EN_MASK (0x8U) |
|
#define | USB_ERREN_DFN8EN_SHIFT (3U) |
|
#define | USB_ERREN_DFN8EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DFN8EN_SHIFT)) & USB_ERREN_DFN8EN_MASK) |
|
#define | USB_ERREN_BTOERREN_MASK (0x10U) |
|
#define | USB_ERREN_BTOERREN_SHIFT (4U) |
|
#define | USB_ERREN_BTOERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTOERREN_SHIFT)) & USB_ERREN_BTOERREN_MASK) |
|
#define | USB_ERREN_DMAERREN_MASK (0x20U) |
|
#define | USB_ERREN_DMAERREN_SHIFT (5U) |
|
#define | USB_ERREN_DMAERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DMAERREN_SHIFT)) & USB_ERREN_DMAERREN_MASK) |
|
#define | USB_ERREN_BTSERREN_MASK (0x80U) |
|
#define | USB_ERREN_BTSERREN_SHIFT (7U) |
|
#define | USB_ERREN_BTSERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTSERREN_SHIFT)) & USB_ERREN_BTSERREN_MASK) |
|
#define | USB_ERREN_PIDERREN_MASK (0x1U) |
|
#define | USB_ERREN_PIDERREN_SHIFT (0U) |
|
#define | USB_ERREN_PIDERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_PIDERREN_SHIFT)) & USB_ERREN_PIDERREN_MASK) |
|
#define | USB_ERREN_CRC5EOFEN_MASK (0x2U) |
|
#define | USB_ERREN_CRC5EOFEN_SHIFT (1U) |
|
#define | USB_ERREN_CRC5EOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC5EOFEN_SHIFT)) & USB_ERREN_CRC5EOFEN_MASK) |
|
#define | USB_ERREN_CRC16EN_MASK (0x4U) |
|
#define | USB_ERREN_CRC16EN_SHIFT (2U) |
|
#define | USB_ERREN_CRC16EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_CRC16EN_SHIFT)) & USB_ERREN_CRC16EN_MASK) |
|
#define | USB_ERREN_DFN8EN_MASK (0x8U) |
|
#define | USB_ERREN_DFN8EN_SHIFT (3U) |
|
#define | USB_ERREN_DFN8EN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DFN8EN_SHIFT)) & USB_ERREN_DFN8EN_MASK) |
|
#define | USB_ERREN_BTOERREN_MASK (0x10U) |
|
#define | USB_ERREN_BTOERREN_SHIFT (4U) |
|
#define | USB_ERREN_BTOERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTOERREN_SHIFT)) & USB_ERREN_BTOERREN_MASK) |
|
#define | USB_ERREN_DMAERREN_MASK (0x20U) |
|
#define | USB_ERREN_DMAERREN_SHIFT (5U) |
|
#define | USB_ERREN_DMAERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_DMAERREN_SHIFT)) & USB_ERREN_DMAERREN_MASK) |
|
#define | USB_ERREN_BTSERREN_MASK (0x80U) |
|
#define | USB_ERREN_BTSERREN_SHIFT (7U) |
|
#define | USB_ERREN_BTSERREN(x) (((uint8_t)(((uint8_t)(x)) << USB_ERREN_BTSERREN_SHIFT)) & USB_ERREN_BTSERREN_MASK) |
|
|
#define | USB_CTL_USBENSOFEN_MASK (0x1U) |
|
#define | USB_CTL_USBENSOFEN_SHIFT (0U) |
|
#define | USB_CTL_USBENSOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_USBENSOFEN_SHIFT)) & USB_CTL_USBENSOFEN_MASK) |
|
#define | USB_CTL_ODDRST_MASK (0x2U) |
|
#define | USB_CTL_ODDRST_SHIFT (1U) |
|
#define | USB_CTL_ODDRST(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_ODDRST_SHIFT)) & USB_CTL_ODDRST_MASK) |
|
#define | USB_CTL_RESUME_MASK (0x4U) |
|
#define | USB_CTL_RESUME_SHIFT (2U) |
|
#define | USB_CTL_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESUME_SHIFT)) & USB_CTL_RESUME_MASK) |
|
#define | USB_CTL_HOSTMODEEN_MASK (0x8U) |
|
#define | USB_CTL_HOSTMODEEN_SHIFT (3U) |
|
#define | USB_CTL_HOSTMODEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_HOSTMODEEN_SHIFT)) & USB_CTL_HOSTMODEEN_MASK) |
|
#define | USB_CTL_RESET_MASK (0x10U) |
|
#define | USB_CTL_RESET_SHIFT (4U) |
|
#define | USB_CTL_RESET(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESET_SHIFT)) & USB_CTL_RESET_MASK) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_MASK (0x20U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_SHIFT (5U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_TXSUSPENDTOKENBUSY_SHIFT)) & USB_CTL_TXSUSPENDTOKENBUSY_MASK) |
|
#define | USB_CTL_SE0_MASK (0x40U) |
|
#define | USB_CTL_SE0_SHIFT (6U) |
|
#define | USB_CTL_SE0(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_SE0_SHIFT)) & USB_CTL_SE0_MASK) |
|
#define | USB_CTL_JSTATE_MASK (0x80U) |
|
#define | USB_CTL_JSTATE_SHIFT (7U) |
|
#define | USB_CTL_JSTATE(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_JSTATE_SHIFT)) & USB_CTL_JSTATE_MASK) |
|
#define | USB_CTL_USBENSOFEN_MASK 0x1u |
|
#define | USB_CTL_USBENSOFEN_SHIFT 0 |
|
#define | USB_CTL_ODDRST_MASK 0x2u |
|
#define | USB_CTL_ODDRST_SHIFT 1 |
|
#define | USB_CTL_RESUME_MASK 0x4u |
|
#define | USB_CTL_RESUME_SHIFT 2 |
|
#define | USB_CTL_HOSTMODEEN_MASK 0x8u |
|
#define | USB_CTL_HOSTMODEEN_SHIFT 3 |
|
#define | USB_CTL_RESET_MASK 0x10u |
|
#define | USB_CTL_RESET_SHIFT 4 |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_MASK 0x20u |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_SHIFT 5 |
|
#define | USB_CTL_SE0_MASK 0x40u |
|
#define | USB_CTL_SE0_SHIFT 6 |
|
#define | USB_CTL_JSTATE_MASK 0x80u |
|
#define | USB_CTL_JSTATE_SHIFT 7 |
|
#define | USB_CTL_USBENSOFEN_MASK (0x1U) |
|
#define | USB_CTL_USBENSOFEN_SHIFT (0U) |
|
#define | USB_CTL_USBENSOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_USBENSOFEN_SHIFT)) & USB_CTL_USBENSOFEN_MASK) |
|
#define | USB_CTL_ODDRST_MASK (0x2U) |
|
#define | USB_CTL_ODDRST_SHIFT (1U) |
|
#define | USB_CTL_ODDRST(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_ODDRST_SHIFT)) & USB_CTL_ODDRST_MASK) |
|
#define | USB_CTL_RESUME_MASK (0x4U) |
|
#define | USB_CTL_RESUME_SHIFT (2U) |
|
#define | USB_CTL_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESUME_SHIFT)) & USB_CTL_RESUME_MASK) |
|
#define | USB_CTL_HOSTMODEEN_MASK (0x8U) |
|
#define | USB_CTL_HOSTMODEEN_SHIFT (3U) |
|
#define | USB_CTL_HOSTMODEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_HOSTMODEEN_SHIFT)) & USB_CTL_HOSTMODEEN_MASK) |
|
#define | USB_CTL_RESET_MASK (0x10U) |
|
#define | USB_CTL_RESET_SHIFT (4U) |
|
#define | USB_CTL_RESET(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESET_SHIFT)) & USB_CTL_RESET_MASK) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_MASK (0x20U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_SHIFT (5U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_TXSUSPENDTOKENBUSY_SHIFT)) & USB_CTL_TXSUSPENDTOKENBUSY_MASK) |
|
#define | USB_CTL_SE0_MASK (0x40U) |
|
#define | USB_CTL_SE0_SHIFT (6U) |
|
#define | USB_CTL_SE0(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_SE0_SHIFT)) & USB_CTL_SE0_MASK) |
|
#define | USB_CTL_JSTATE_MASK (0x80U) |
|
#define | USB_CTL_JSTATE_SHIFT (7U) |
|
#define | USB_CTL_JSTATE(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_JSTATE_SHIFT)) & USB_CTL_JSTATE_MASK) |
|
#define | USB_CTL_USBENSOFEN_MASK (0x1U) |
|
#define | USB_CTL_USBENSOFEN_SHIFT (0U) |
|
#define | USB_CTL_USBENSOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_USBENSOFEN_SHIFT)) & USB_CTL_USBENSOFEN_MASK) |
|
#define | USB_CTL_ODDRST_MASK (0x2U) |
|
#define | USB_CTL_ODDRST_SHIFT (1U) |
|
#define | USB_CTL_ODDRST(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_ODDRST_SHIFT)) & USB_CTL_ODDRST_MASK) |
|
#define | USB_CTL_RESUME_MASK (0x4U) |
|
#define | USB_CTL_RESUME_SHIFT (2U) |
|
#define | USB_CTL_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESUME_SHIFT)) & USB_CTL_RESUME_MASK) |
|
#define | USB_CTL_HOSTMODEEN_MASK (0x8U) |
|
#define | USB_CTL_HOSTMODEEN_SHIFT (3U) |
|
#define | USB_CTL_HOSTMODEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_HOSTMODEEN_SHIFT)) & USB_CTL_HOSTMODEEN_MASK) |
|
#define | USB_CTL_RESET_MASK (0x10U) |
|
#define | USB_CTL_RESET_SHIFT (4U) |
|
#define | USB_CTL_RESET(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESET_SHIFT)) & USB_CTL_RESET_MASK) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_MASK (0x20U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_SHIFT (5U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_TXSUSPENDTOKENBUSY_SHIFT)) & USB_CTL_TXSUSPENDTOKENBUSY_MASK) |
|
#define | USB_CTL_SE0_MASK (0x40U) |
|
#define | USB_CTL_SE0_SHIFT (6U) |
|
#define | USB_CTL_SE0(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_SE0_SHIFT)) & USB_CTL_SE0_MASK) |
|
#define | USB_CTL_JSTATE_MASK (0x80U) |
|
#define | USB_CTL_JSTATE_SHIFT (7U) |
|
#define | USB_CTL_JSTATE(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_JSTATE_SHIFT)) & USB_CTL_JSTATE_MASK) |
|
#define | USB_CTL_USBENSOFEN_MASK (0x1U) |
|
#define | USB_CTL_USBENSOFEN_SHIFT (0U) |
|
#define | USB_CTL_USBENSOFEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_USBENSOFEN_SHIFT)) & USB_CTL_USBENSOFEN_MASK) |
|
#define | USB_CTL_ODDRST_MASK (0x2U) |
|
#define | USB_CTL_ODDRST_SHIFT (1U) |
|
#define | USB_CTL_ODDRST(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_ODDRST_SHIFT)) & USB_CTL_ODDRST_MASK) |
|
#define | USB_CTL_RESUME_MASK (0x4U) |
|
#define | USB_CTL_RESUME_SHIFT (2U) |
|
#define | USB_CTL_RESUME(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESUME_SHIFT)) & USB_CTL_RESUME_MASK) |
|
#define | USB_CTL_HOSTMODEEN_MASK (0x8U) |
|
#define | USB_CTL_HOSTMODEEN_SHIFT (3U) |
|
#define | USB_CTL_HOSTMODEEN(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_HOSTMODEEN_SHIFT)) & USB_CTL_HOSTMODEEN_MASK) |
|
#define | USB_CTL_RESET_MASK (0x10U) |
|
#define | USB_CTL_RESET_SHIFT (4U) |
|
#define | USB_CTL_RESET(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESET_SHIFT)) & USB_CTL_RESET_MASK) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_MASK (0x20U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY_SHIFT (5U) |
|
#define | USB_CTL_TXSUSPENDTOKENBUSY(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_TXSUSPENDTOKENBUSY_SHIFT)) & USB_CTL_TXSUSPENDTOKENBUSY_MASK) |
|
#define | USB_CTL_SE0_MASK (0x40U) |
|
#define | USB_CTL_SE0_SHIFT (6U) |
|
#define | USB_CTL_SE0(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_SE0_SHIFT)) & USB_CTL_SE0_MASK) |
|
#define | USB_CTL_JSTATE_MASK (0x80U) |
|
#define | USB_CTL_JSTATE_SHIFT (7U) |
|
#define | USB_CTL_JSTATE(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_JSTATE_SHIFT)) & USB_CTL_JSTATE_MASK) |
|
|
#define | USB_TOKEN_TOKENENDPT_MASK (0xFU) |
|
#define | USB_TOKEN_TOKENENDPT_SHIFT (0U) |
|
#define | USB_TOKEN_TOKENENDPT(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENENDPT_SHIFT)) & USB_TOKEN_TOKENENDPT_MASK) |
|
#define | USB_TOKEN_TOKENPID_MASK (0xF0U) |
|
#define | USB_TOKEN_TOKENPID_SHIFT (4U) |
|
#define | USB_TOKEN_TOKENPID(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENPID_SHIFT)) & USB_TOKEN_TOKENPID_MASK) |
|
#define | USB_TOKEN_TOKENENDPT_MASK 0xFu |
|
#define | USB_TOKEN_TOKENENDPT_SHIFT 0 |
|
#define | USB_TOKEN_TOKENENDPT(x) (((uint8_t)(((uint8_t)(x))<<USB_TOKEN_TOKENENDPT_SHIFT))&USB_TOKEN_TOKENENDPT_MASK) |
|
#define | USB_TOKEN_TOKENPID_MASK 0xF0u |
|
#define | USB_TOKEN_TOKENPID_SHIFT 4 |
|
#define | USB_TOKEN_TOKENPID(x) (((uint8_t)(((uint8_t)(x))<<USB_TOKEN_TOKENPID_SHIFT))&USB_TOKEN_TOKENPID_MASK) |
|
#define | USB_TOKEN_TOKENENDPT_MASK (0xFU) |
|
#define | USB_TOKEN_TOKENENDPT_SHIFT (0U) |
|
#define | USB_TOKEN_TOKENENDPT(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENENDPT_SHIFT)) & USB_TOKEN_TOKENENDPT_MASK) |
|
#define | USB_TOKEN_TOKENPID_MASK (0xF0U) |
|
#define | USB_TOKEN_TOKENPID_SHIFT (4U) |
|
#define | USB_TOKEN_TOKENPID(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENPID_SHIFT)) & USB_TOKEN_TOKENPID_MASK) |
|
#define | USB_TOKEN_TOKENENDPT_MASK (0xFU) |
|
#define | USB_TOKEN_TOKENENDPT_SHIFT (0U) |
|
#define | USB_TOKEN_TOKENENDPT(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENENDPT_SHIFT)) & USB_TOKEN_TOKENENDPT_MASK) |
|
#define | USB_TOKEN_TOKENPID_MASK (0xF0U) |
|
#define | USB_TOKEN_TOKENPID_SHIFT (4U) |
|
#define | USB_TOKEN_TOKENPID(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENPID_SHIFT)) & USB_TOKEN_TOKENPID_MASK) |
|
#define | USB_TOKEN_TOKENENDPT_MASK (0xFU) |
|
#define | USB_TOKEN_TOKENENDPT_SHIFT (0U) |
|
#define | USB_TOKEN_TOKENENDPT(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENENDPT_SHIFT)) & USB_TOKEN_TOKENENDPT_MASK) |
|
#define | USB_TOKEN_TOKENPID_MASK (0xF0U) |
|
#define | USB_TOKEN_TOKENPID_SHIFT (4U) |
|
#define | USB_TOKEN_TOKENPID(x) (((uint8_t)(((uint8_t)(x)) << USB_TOKEN_TOKENPID_SHIFT)) & USB_TOKEN_TOKENPID_MASK) |
|
|
#define | USB_ENDPT_EPHSHK_MASK (0x1U) |
|
#define | USB_ENDPT_EPHSHK_SHIFT (0U) |
|
#define | USB_ENDPT_EPHSHK(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPHSHK_SHIFT)) & USB_ENDPT_EPHSHK_MASK) |
|
#define | USB_ENDPT_EPSTALL_MASK (0x2U) |
|
#define | USB_ENDPT_EPSTALL_SHIFT (1U) |
|
#define | USB_ENDPT_EPSTALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPSTALL_SHIFT)) & USB_ENDPT_EPSTALL_MASK) |
|
#define | USB_ENDPT_EPTXEN_MASK (0x4U) |
|
#define | USB_ENDPT_EPTXEN_SHIFT (2U) |
|
#define | USB_ENDPT_EPTXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPTXEN_SHIFT)) & USB_ENDPT_EPTXEN_MASK) |
|
#define | USB_ENDPT_EPRXEN_MASK (0x8U) |
|
#define | USB_ENDPT_EPRXEN_SHIFT (3U) |
|
#define | USB_ENDPT_EPRXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPRXEN_SHIFT)) & USB_ENDPT_EPRXEN_MASK) |
|
#define | USB_ENDPT_EPCTLDIS_MASK (0x10U) |
|
#define | USB_ENDPT_EPCTLDIS_SHIFT (4U) |
|
#define | USB_ENDPT_EPCTLDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPCTLDIS_SHIFT)) & USB_ENDPT_EPCTLDIS_MASK) |
|
#define | USB_ENDPT_RETRYDIS_MASK (0x40U) |
|
#define | USB_ENDPT_RETRYDIS_SHIFT (6U) |
|
#define | USB_ENDPT_RETRYDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_RETRYDIS_SHIFT)) & USB_ENDPT_RETRYDIS_MASK) |
|
#define | USB_ENDPT_HOSTWOHUB_MASK (0x80U) |
|
#define | USB_ENDPT_HOSTWOHUB_SHIFT (7U) |
|
#define | USB_ENDPT_HOSTWOHUB(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_HOSTWOHUB_SHIFT)) & USB_ENDPT_HOSTWOHUB_MASK) |
|
#define | USB_ENDPT_EPHSHK_MASK 0x1u |
|
#define | USB_ENDPT_EPHSHK_SHIFT 0 |
|
#define | USB_ENDPT_EPSTALL_MASK 0x2u |
|
#define | USB_ENDPT_EPSTALL_SHIFT 1 |
|
#define | USB_ENDPT_EPTXEN_MASK 0x4u |
|
#define | USB_ENDPT_EPTXEN_SHIFT 2 |
|
#define | USB_ENDPT_EPRXEN_MASK 0x8u |
|
#define | USB_ENDPT_EPRXEN_SHIFT 3 |
|
#define | USB_ENDPT_EPCTLDIS_MASK 0x10u |
|
#define | USB_ENDPT_EPCTLDIS_SHIFT 4 |
|
#define | USB_ENDPT_RETRYDIS_MASK 0x40u |
|
#define | USB_ENDPT_RETRYDIS_SHIFT 6 |
|
#define | USB_ENDPT_HOSTWOHUB_MASK 0x80u |
|
#define | USB_ENDPT_HOSTWOHUB_SHIFT 7 |
|
#define | USB_ENDPT_EPHSHK_MASK (0x1U) |
|
#define | USB_ENDPT_EPHSHK_SHIFT (0U) |
|
#define | USB_ENDPT_EPHSHK(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPHSHK_SHIFT)) & USB_ENDPT_EPHSHK_MASK) |
|
#define | USB_ENDPT_EPSTALL_MASK (0x2U) |
|
#define | USB_ENDPT_EPSTALL_SHIFT (1U) |
|
#define | USB_ENDPT_EPSTALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPSTALL_SHIFT)) & USB_ENDPT_EPSTALL_MASK) |
|
#define | USB_ENDPT_EPTXEN_MASK (0x4U) |
|
#define | USB_ENDPT_EPTXEN_SHIFT (2U) |
|
#define | USB_ENDPT_EPTXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPTXEN_SHIFT)) & USB_ENDPT_EPTXEN_MASK) |
|
#define | USB_ENDPT_EPRXEN_MASK (0x8U) |
|
#define | USB_ENDPT_EPRXEN_SHIFT (3U) |
|
#define | USB_ENDPT_EPRXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPRXEN_SHIFT)) & USB_ENDPT_EPRXEN_MASK) |
|
#define | USB_ENDPT_EPCTLDIS_MASK (0x10U) |
|
#define | USB_ENDPT_EPCTLDIS_SHIFT (4U) |
|
#define | USB_ENDPT_EPCTLDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPCTLDIS_SHIFT)) & USB_ENDPT_EPCTLDIS_MASK) |
|
#define | USB_ENDPT_RETRYDIS_MASK (0x40U) |
|
#define | USB_ENDPT_RETRYDIS_SHIFT (6U) |
|
#define | USB_ENDPT_RETRYDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_RETRYDIS_SHIFT)) & USB_ENDPT_RETRYDIS_MASK) |
|
#define | USB_ENDPT_HOSTWOHUB_MASK (0x80U) |
|
#define | USB_ENDPT_HOSTWOHUB_SHIFT (7U) |
|
#define | USB_ENDPT_HOSTWOHUB(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_HOSTWOHUB_SHIFT)) & USB_ENDPT_HOSTWOHUB_MASK) |
|
#define | USB_ENDPT_EPHSHK_MASK (0x1U) |
|
#define | USB_ENDPT_EPHSHK_SHIFT (0U) |
|
#define | USB_ENDPT_EPHSHK(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPHSHK_SHIFT)) & USB_ENDPT_EPHSHK_MASK) |
|
#define | USB_ENDPT_EPSTALL_MASK (0x2U) |
|
#define | USB_ENDPT_EPSTALL_SHIFT (1U) |
|
#define | USB_ENDPT_EPSTALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPSTALL_SHIFT)) & USB_ENDPT_EPSTALL_MASK) |
|
#define | USB_ENDPT_EPTXEN_MASK (0x4U) |
|
#define | USB_ENDPT_EPTXEN_SHIFT (2U) |
|
#define | USB_ENDPT_EPTXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPTXEN_SHIFT)) & USB_ENDPT_EPTXEN_MASK) |
|
#define | USB_ENDPT_EPRXEN_MASK (0x8U) |
|
#define | USB_ENDPT_EPRXEN_SHIFT (3U) |
|
#define | USB_ENDPT_EPRXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPRXEN_SHIFT)) & USB_ENDPT_EPRXEN_MASK) |
|
#define | USB_ENDPT_EPCTLDIS_MASK (0x10U) |
|
#define | USB_ENDPT_EPCTLDIS_SHIFT (4U) |
|
#define | USB_ENDPT_EPCTLDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPCTLDIS_SHIFT)) & USB_ENDPT_EPCTLDIS_MASK) |
|
#define | USB_ENDPT_RETRYDIS_MASK (0x40U) |
|
#define | USB_ENDPT_RETRYDIS_SHIFT (6U) |
|
#define | USB_ENDPT_RETRYDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_RETRYDIS_SHIFT)) & USB_ENDPT_RETRYDIS_MASK) |
|
#define | USB_ENDPT_HOSTWOHUB_MASK (0x80U) |
|
#define | USB_ENDPT_HOSTWOHUB_SHIFT (7U) |
|
#define | USB_ENDPT_HOSTWOHUB(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_HOSTWOHUB_SHIFT)) & USB_ENDPT_HOSTWOHUB_MASK) |
|
#define | USB_ENDPT_EPHSHK_MASK (0x1U) |
|
#define | USB_ENDPT_EPHSHK_SHIFT (0U) |
|
#define | USB_ENDPT_EPHSHK(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPHSHK_SHIFT)) & USB_ENDPT_EPHSHK_MASK) |
|
#define | USB_ENDPT_EPSTALL_MASK (0x2U) |
|
#define | USB_ENDPT_EPSTALL_SHIFT (1U) |
|
#define | USB_ENDPT_EPSTALL(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPSTALL_SHIFT)) & USB_ENDPT_EPSTALL_MASK) |
|
#define | USB_ENDPT_EPTXEN_MASK (0x4U) |
|
#define | USB_ENDPT_EPTXEN_SHIFT (2U) |
|
#define | USB_ENDPT_EPTXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPTXEN_SHIFT)) & USB_ENDPT_EPTXEN_MASK) |
|
#define | USB_ENDPT_EPRXEN_MASK (0x8U) |
|
#define | USB_ENDPT_EPRXEN_SHIFT (3U) |
|
#define | USB_ENDPT_EPRXEN(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPRXEN_SHIFT)) & USB_ENDPT_EPRXEN_MASK) |
|
#define | USB_ENDPT_EPCTLDIS_MASK (0x10U) |
|
#define | USB_ENDPT_EPCTLDIS_SHIFT (4U) |
|
#define | USB_ENDPT_EPCTLDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_EPCTLDIS_SHIFT)) & USB_ENDPT_EPCTLDIS_MASK) |
|
#define | USB_ENDPT_RETRYDIS_MASK (0x40U) |
|
#define | USB_ENDPT_RETRYDIS_SHIFT (6U) |
|
#define | USB_ENDPT_RETRYDIS(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_RETRYDIS_SHIFT)) & USB_ENDPT_RETRYDIS_MASK) |
|
#define | USB_ENDPT_HOSTWOHUB_MASK (0x80U) |
|
#define | USB_ENDPT_HOSTWOHUB_SHIFT (7U) |
|
#define | USB_ENDPT_HOSTWOHUB(x) (((uint8_t)(((uint8_t)(x)) << USB_ENDPT_HOSTWOHUB_SHIFT)) & USB_ENDPT_HOSTWOHUB_MASK) |
|
|
#define | USB_USBCTRL_PDE_MASK (0x40U) |
|
#define | USB_USBCTRL_PDE_SHIFT (6U) |
|
#define | USB_USBCTRL_PDE(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_PDE_SHIFT)) & USB_USBCTRL_PDE_MASK) |
|
#define | USB_USBCTRL_SUSP_MASK (0x80U) |
|
#define | USB_USBCTRL_SUSP_SHIFT (7U) |
|
#define | USB_USBCTRL_SUSP(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_SUSP_SHIFT)) & USB_USBCTRL_SUSP_MASK) |
|
#define | USB_USBCTRL_PDE_MASK 0x40u |
|
#define | USB_USBCTRL_PDE_SHIFT 6 |
|
#define | USB_USBCTRL_SUSP_MASK 0x80u |
|
#define | USB_USBCTRL_SUSP_SHIFT 7 |
|
#define | USB_USBCTRL_PDE_MASK (0x40U) |
|
#define | USB_USBCTRL_PDE_SHIFT (6U) |
|
#define | USB_USBCTRL_PDE(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_PDE_SHIFT)) & USB_USBCTRL_PDE_MASK) |
|
#define | USB_USBCTRL_SUSP_MASK (0x80U) |
|
#define | USB_USBCTRL_SUSP_SHIFT (7U) |
|
#define | USB_USBCTRL_SUSP(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_SUSP_SHIFT)) & USB_USBCTRL_SUSP_MASK) |
|
#define | USB_USBCTRL_PDE_MASK (0x40U) |
|
#define | USB_USBCTRL_PDE_SHIFT (6U) |
|
#define | USB_USBCTRL_PDE(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_PDE_SHIFT)) & USB_USBCTRL_PDE_MASK) |
|
#define | USB_USBCTRL_SUSP_MASK (0x80U) |
|
#define | USB_USBCTRL_SUSP_SHIFT (7U) |
|
#define | USB_USBCTRL_SUSP(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_SUSP_SHIFT)) & USB_USBCTRL_SUSP_MASK) |
|
#define | USB_USBCTRL_PDE_MASK (0x40U) |
|
#define | USB_USBCTRL_PDE_SHIFT (6U) |
|
#define | USB_USBCTRL_PDE(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_PDE_SHIFT)) & USB_USBCTRL_PDE_MASK) |
|
#define | USB_USBCTRL_SUSP_MASK (0x80U) |
|
#define | USB_USBCTRL_SUSP_SHIFT (7U) |
|
#define | USB_USBCTRL_SUSP(x) (((uint8_t)(((uint8_t)(x)) << USB_USBCTRL_SUSP_SHIFT)) & USB_USBCTRL_SUSP_MASK) |
|
|
#define | USB_OBSERVE_DMPD_MASK (0x10U) |
|
#define | USB_OBSERVE_DMPD_SHIFT (4U) |
|
#define | USB_OBSERVE_DMPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DMPD_SHIFT)) & USB_OBSERVE_DMPD_MASK) |
|
#define | USB_OBSERVE_DPPD_MASK (0x40U) |
|
#define | USB_OBSERVE_DPPD_SHIFT (6U) |
|
#define | USB_OBSERVE_DPPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPD_SHIFT)) & USB_OBSERVE_DPPD_MASK) |
|
#define | USB_OBSERVE_DPPU_MASK (0x80U) |
|
#define | USB_OBSERVE_DPPU_SHIFT (7U) |
|
#define | USB_OBSERVE_DPPU(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPU_SHIFT)) & USB_OBSERVE_DPPU_MASK) |
|
#define | USB_OBSERVE_DMPD_MASK 0x10u |
|
#define | USB_OBSERVE_DMPD_SHIFT 4 |
|
#define | USB_OBSERVE_DPPD_MASK 0x40u |
|
#define | USB_OBSERVE_DPPD_SHIFT 6 |
|
#define | USB_OBSERVE_DPPU_MASK 0x80u |
|
#define | USB_OBSERVE_DPPU_SHIFT 7 |
|
#define | USB_OBSERVE_DMPD_MASK (0x10U) |
|
#define | USB_OBSERVE_DMPD_SHIFT (4U) |
|
#define | USB_OBSERVE_DMPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DMPD_SHIFT)) & USB_OBSERVE_DMPD_MASK) |
|
#define | USB_OBSERVE_DPPD_MASK (0x40U) |
|
#define | USB_OBSERVE_DPPD_SHIFT (6U) |
|
#define | USB_OBSERVE_DPPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPD_SHIFT)) & USB_OBSERVE_DPPD_MASK) |
|
#define | USB_OBSERVE_DPPU_MASK (0x80U) |
|
#define | USB_OBSERVE_DPPU_SHIFT (7U) |
|
#define | USB_OBSERVE_DPPU(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPU_SHIFT)) & USB_OBSERVE_DPPU_MASK) |
|
#define | USB_OBSERVE_DMPD_MASK (0x10U) |
|
#define | USB_OBSERVE_DMPD_SHIFT (4U) |
|
#define | USB_OBSERVE_DMPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DMPD_SHIFT)) & USB_OBSERVE_DMPD_MASK) |
|
#define | USB_OBSERVE_DPPD_MASK (0x40U) |
|
#define | USB_OBSERVE_DPPD_SHIFT (6U) |
|
#define | USB_OBSERVE_DPPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPD_SHIFT)) & USB_OBSERVE_DPPD_MASK) |
|
#define | USB_OBSERVE_DPPU_MASK (0x80U) |
|
#define | USB_OBSERVE_DPPU_SHIFT (7U) |
|
#define | USB_OBSERVE_DPPU(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPU_SHIFT)) & USB_OBSERVE_DPPU_MASK) |
|
#define | USB_OBSERVE_DMPD_MASK (0x10U) |
|
#define | USB_OBSERVE_DMPD_SHIFT (4U) |
|
#define | USB_OBSERVE_DMPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DMPD_SHIFT)) & USB_OBSERVE_DMPD_MASK) |
|
#define | USB_OBSERVE_DPPD_MASK (0x40U) |
|
#define | USB_OBSERVE_DPPD_SHIFT (6U) |
|
#define | USB_OBSERVE_DPPD(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPD_SHIFT)) & USB_OBSERVE_DPPD_MASK) |
|
#define | USB_OBSERVE_DPPU_MASK (0x80U) |
|
#define | USB_OBSERVE_DPPU_SHIFT (7U) |
|
#define | USB_OBSERVE_DPPU(x) (((uint8_t)(((uint8_t)(x)) << USB_OBSERVE_DPPU_SHIFT)) & USB_OBSERVE_DPPU_MASK) |
|
|
#define | USB_USBTRC0_USB_RESUME_INT_MASK (0x1U) |
|
#define | USB_USBTRC0_USB_RESUME_INT_SHIFT (0U) |
|
#define | USB_USBTRC0_USB_RESUME_INT(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USB_RESUME_INT_SHIFT)) & USB_USBTRC0_USB_RESUME_INT_MASK) |
|
#define | USB_USBTRC0_SYNC_DET_MASK (0x2U) |
|
#define | USB_USBTRC0_SYNC_DET_SHIFT (1U) |
|
#define | USB_USBTRC0_SYNC_DET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_SYNC_DET_SHIFT)) & USB_USBTRC0_SYNC_DET_MASK) |
|
#define | USB_USBTRC0_USBRESMEN_MASK (0x20U) |
|
#define | USB_USBTRC0_USBRESMEN_SHIFT (5U) |
|
#define | USB_USBTRC0_USBRESMEN(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESMEN_SHIFT)) & USB_USBTRC0_USBRESMEN_MASK) |
|
#define | USB_USBTRC0_USBRESET_MASK (0x80U) |
|
#define | USB_USBTRC0_USBRESET_SHIFT (7U) |
|
#define | USB_USBTRC0_USBRESET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESET_SHIFT)) & USB_USBTRC0_USBRESET_MASK) |
|
#define | USB_USBTRC0_USB_RESUME_INT_MASK 0x1u |
|
#define | USB_USBTRC0_USB_RESUME_INT_SHIFT 0 |
|
#define | USB_USBTRC0_SYNC_DET_MASK 0x2u |
|
#define | USB_USBTRC0_SYNC_DET_SHIFT 1 |
|
#define | USB_USBTRC0_USBRESMEN_MASK 0x20u |
|
#define | USB_USBTRC0_USBRESMEN_SHIFT 5 |
|
#define | USB_USBTRC0_USBRESET_MASK 0x80u |
|
#define | USB_USBTRC0_USBRESET_SHIFT 7 |
|
#define | USB_USBTRC0_USB_RESUME_INT_MASK (0x1U) |
|
#define | USB_USBTRC0_USB_RESUME_INT_SHIFT (0U) |
|
#define | USB_USBTRC0_USB_RESUME_INT(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USB_RESUME_INT_SHIFT)) & USB_USBTRC0_USB_RESUME_INT_MASK) |
|
#define | USB_USBTRC0_SYNC_DET_MASK (0x2U) |
|
#define | USB_USBTRC0_SYNC_DET_SHIFT (1U) |
|
#define | USB_USBTRC0_SYNC_DET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_SYNC_DET_SHIFT)) & USB_USBTRC0_SYNC_DET_MASK) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT_MASK (0x4U) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT_SHIFT (2U) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USB_CLK_RECOVERY_INT_SHIFT)) & USB_USBTRC0_USB_CLK_RECOVERY_INT_MASK) |
|
#define | USB_USBTRC0_USBRESMEN_MASK (0x20U) |
|
#define | USB_USBTRC0_USBRESMEN_SHIFT (5U) |
|
#define | USB_USBTRC0_USBRESMEN(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESMEN_SHIFT)) & USB_USBTRC0_USBRESMEN_MASK) |
|
#define | USB_USBTRC0_USBRESET_MASK (0x80U) |
|
#define | USB_USBTRC0_USBRESET_SHIFT (7U) |
|
#define | USB_USBTRC0_USBRESET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESET_SHIFT)) & USB_USBTRC0_USBRESET_MASK) |
|
#define | USB_USBTRC0_USB_RESUME_INT_MASK (0x1U) |
|
#define | USB_USBTRC0_USB_RESUME_INT_SHIFT (0U) |
|
#define | USB_USBTRC0_USB_RESUME_INT(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USB_RESUME_INT_SHIFT)) & USB_USBTRC0_USB_RESUME_INT_MASK) |
|
#define | USB_USBTRC0_SYNC_DET_MASK (0x2U) |
|
#define | USB_USBTRC0_SYNC_DET_SHIFT (1U) |
|
#define | USB_USBTRC0_SYNC_DET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_SYNC_DET_SHIFT)) & USB_USBTRC0_SYNC_DET_MASK) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT_MASK (0x4U) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT_SHIFT (2U) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USB_CLK_RECOVERY_INT_SHIFT)) & USB_USBTRC0_USB_CLK_RECOVERY_INT_MASK) |
|
#define | USB_USBTRC0_USBRESMEN_MASK (0x20U) |
|
#define | USB_USBTRC0_USBRESMEN_SHIFT (5U) |
|
#define | USB_USBTRC0_USBRESMEN(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESMEN_SHIFT)) & USB_USBTRC0_USBRESMEN_MASK) |
|
#define | USB_USBTRC0_USBRESET_MASK (0x80U) |
|
#define | USB_USBTRC0_USBRESET_SHIFT (7U) |
|
#define | USB_USBTRC0_USBRESET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESET_SHIFT)) & USB_USBTRC0_USBRESET_MASK) |
|
#define | USB_USBTRC0_USB_RESUME_INT_MASK (0x1U) |
|
#define | USB_USBTRC0_USB_RESUME_INT_SHIFT (0U) |
|
#define | USB_USBTRC0_USB_RESUME_INT(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USB_RESUME_INT_SHIFT)) & USB_USBTRC0_USB_RESUME_INT_MASK) |
|
#define | USB_USBTRC0_SYNC_DET_MASK (0x2U) |
|
#define | USB_USBTRC0_SYNC_DET_SHIFT (1U) |
|
#define | USB_USBTRC0_SYNC_DET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_SYNC_DET_SHIFT)) & USB_USBTRC0_SYNC_DET_MASK) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT_MASK (0x4U) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT_SHIFT (2U) |
|
#define | USB_USBTRC0_USB_CLK_RECOVERY_INT(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USB_CLK_RECOVERY_INT_SHIFT)) & USB_USBTRC0_USB_CLK_RECOVERY_INT_MASK) |
|
#define | USB_USBTRC0_USBRESMEN_MASK (0x20U) |
|
#define | USB_USBTRC0_USBRESMEN_SHIFT (5U) |
|
#define | USB_USBTRC0_USBRESMEN(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESMEN_SHIFT)) & USB_USBTRC0_USBRESMEN_MASK) |
|
#define | USB_USBTRC0_USBRESET_MASK (0x80U) |
|
#define | USB_USBTRC0_USBRESET_SHIFT (7U) |
|
#define | USB_USBTRC0_USBRESET(x) (((uint8_t)(((uint8_t)(x)) << USB_USBTRC0_USBRESET_SHIFT)) & USB_USBTRC0_USBRESET_MASK) |
|
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_MASK (0x20U) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_SHIFT (5U) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_MASK (0x40U) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_SHIFT (6U) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_MASK (0x80U) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_SHIFT (7U) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_MASK (0x20U) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_SHIFT (5U) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_MASK (0x40U) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_SHIFT (6U) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_MASK (0x80U) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_SHIFT (7U) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_MASK (0x20U) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_SHIFT (5U) |
|
#define | USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_RESTART_IFRTRIM_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_MASK (0x40U) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_SHIFT (6U) |
|
#define | USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_RESET_RESUME_ROUGH_EN_MASK) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_MASK (0x80U) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_SHIFT (7U) |
|
#define | USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN(x) (((uint8_t)(((uint8_t)(x)) << USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_SHIFT)) & USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN_MASK) |
|