Home
last modified time | relevance | path

Searched refs:bEpNum (Results 1 – 14 of 14) sorted by relevance

/hal_stm32-latest/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_hal_pcd.h425 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
426 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
429 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
439 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
440 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
441 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
450 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
459 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
464 PCD_TX_DTOG((USBx), (bEpNum)); \
469 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_hal_pcd.h425 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
426 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
429 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
439 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
440 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
441 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
450 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
459 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
464 PCD_TX_DTOG((USBx), (bEpNum)); \
469 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal_pcd.h425 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
426 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
429 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
439 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
440 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
441 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
450 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
459 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
464 PCD_TX_DTOG((USBx), (bEpNum)); \
469 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_hal_pcd.h420 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
421 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
424 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
434 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
435 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
436 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
445 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
454 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
459 PCD_TX_DTOG((USBx), (bEpNum)); \
464 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_hal_pcd.h420 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
421 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
424 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
434 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
435 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
436 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
445 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
454 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
459 PCD_TX_DTOG((USBx), (bEpNum)); \
464 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_hal_pcd.h425 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
426 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
429 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
439 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
440 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
441 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
450 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
459 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
464 PCD_TX_DTOG((USBx), (bEpNum)); \
469 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_hal_pcd.h425 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
426 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
429 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
439 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
440 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
441 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
450 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
459 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
464 PCD_TX_DTOG((USBx), (bEpNum)); \
469 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_hal_pcd.h486 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
487 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
490 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
500 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
501 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
502 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
511 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
520 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
525 PCD_TX_DTOG((USBx), (bEpNum)); \
530 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_hal_pcd.h483 #define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ argument
484 (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue))
487 #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * … argument
497 #define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ argument
498 (PCD_SET_ENDPOINT((USBx), (bEpNum), \
499 … ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX)))
508 #define PCD_GET_EPTYPE(USBx, bEpNum) (PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_FIELD) argument
517 #define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ argument
522 PCD_TX_DTOG((USBx), (bEpNum)); \
527 PCD_RX_DTOG((USBx), (bEpNum)); \
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_hal_pcd.h542 __STATIC_INLINE uint16_t PCD_GET_EP_RX_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_RX_CNT() argument
553 return (uint16_t)USB_DRD_GET_CHEP_RX_CNT((Instance), (bEpNum)); in PCD_GET_EP_RX_CNT()
585 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF0_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF0_CNT() argument
596 return (uint16_t)USB_DRD_GET_CHEP_DBUF0_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF0_CNT()
605 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF1_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF1_CNT() argument
616 return (uint16_t)USB_DRD_GET_CHEP_DBUF1_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF1_CNT()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_hal_pcd.h534 __STATIC_INLINE uint16_t PCD_GET_EP_RX_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_RX_CNT() argument
545 return (uint16_t)USB_DRD_GET_CHEP_RX_CNT((Instance), (bEpNum)); in PCD_GET_EP_RX_CNT()
577 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF0_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF0_CNT() argument
588 return (uint16_t)USB_DRD_GET_CHEP_DBUF0_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF0_CNT()
597 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF1_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF1_CNT() argument
608 return (uint16_t)USB_DRD_GET_CHEP_DBUF1_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF1_CNT()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_hal_pcd.h534 __STATIC_INLINE uint16_t PCD_GET_EP_RX_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_RX_CNT() argument
545 return (uint16_t)USB_DRD_GET_CHEP_RX_CNT((Instance), (bEpNum)); in PCD_GET_EP_RX_CNT()
577 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF0_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF0_CNT() argument
588 return (uint16_t)USB_DRD_GET_CHEP_DBUF0_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF0_CNT()
597 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF1_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF1_CNT() argument
608 return (uint16_t)USB_DRD_GET_CHEP_DBUF1_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF1_CNT()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_pcd.h596 __STATIC_INLINE uint16_t PCD_GET_EP_RX_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_RX_CNT() argument
607 return (uint16_t)USB_DRD_GET_CHEP_RX_CNT((Instance), (bEpNum)); in PCD_GET_EP_RX_CNT()
639 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF0_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF0_CNT() argument
650 return (uint16_t)USB_DRD_GET_CHEP_DBUF0_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF0_CNT()
659 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF1_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF1_CNT() argument
670 return (uint16_t)USB_DRD_GET_CHEP_DBUF1_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF1_CNT()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_hal_pcd.h588 __STATIC_INLINE uint16_t PCD_GET_EP_RX_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_RX_CNT() argument
599 return (uint16_t)USB_DRD_GET_CHEP_RX_CNT((Instance), (bEpNum)); in PCD_GET_EP_RX_CNT()
631 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF0_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF0_CNT() argument
642 return (uint16_t)USB_DRD_GET_CHEP_DBUF0_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF0_CNT()
651 __STATIC_INLINE uint16_t PCD_GET_EP_DBUF1_CNT(const PCD_TypeDef *Instance, uint16_t bEpNum) in PCD_GET_EP_DBUF1_CNT() argument
662 return (uint16_t)USB_DRD_GET_CHEP_DBUF1_CNT((Instance), (bEpNum)); in PCD_GET_EP_DBUF1_CNT()