Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

usbd_core.h/usbd_core.c

Prototype

Code Block
languagecpp
void  USBD_BulkRxAsync (CPU_INT08U        dev_nbr,
                        CPU_INT08U        ep_addr,
                        void             *p_buf,
                        CPU_INT32U        buf_len,
                        USBD_ASYNC_FNCT   async_fnct,
                        void             *p_async_arg,
                        USBD_ERR         *p_err);


Arguments

dev_nbr

Device number.

...

  1. The callback specified by async_fnct has the following prototype.
Code Block
languagecpp
void  USBD_AsyncFnct (CPU_INT08U   dev_nbr,
                      CPU_INT08U   ep_addr,
                      void        *p_buf,
                      CPU_INT32U   buf_len,
                      CPU_INT32U   xfer_len,
                      void        *p_arg,
                      USBD_ERR     err);


Argument(s):

dev_nbr

Device number.

...