Searched refs:USBD_EVENT_IRQ_CFG_SHIFT (Results 1 – 1 of 1) sorted by relevance
955 #define USBD_EVENT_IRQ_CFG_SHIFT(x) ((x & 0xf) << 1) macro956 #define USBD_EVENT_IRQ_CFG_MASK(x) (3 << USBD_EVENT_IRQ_CFG_SHIFT(x))957 #define USBD_EVENT_IRQ_CFG_RISING(x) (0 << USBD_EVENT_IRQ_CFG_SHIFT(x))958 #define USBD_EVENT_IRQ_CFG_FALLING(x) (1 << USBD_EVENT_IRQ_CFG_SHIFT(x))