Go to the source code of this file.
|
#define | VSF_USBD_DRV_PREPARE(__dev) const i_usb_dc_t *__drv = (__dev)->drv; |
|
#define | vk_usbd_drv_init(__cfg) __drv->Init((__cfg)) |
|
#define | vk_usbd_drv_fini() __drv->Fini() |
|
#define | vk_usbd_drv_reset(__cfg) __drv->Reset((__cfg)) |
|
#define | vk_usbd_drv_connect() __drv->Connect() |
|
#define | vk_usbd_drv_disconnect() __drv->Disconnect() |
|
#define | vk_usbd_drv_wakeup() __drv->Wakeup() |
|
#define | vk_usbd_drv_set_address(__addr) __drv->SetAddress((__addr)) |
|
#define | vk_usbd_drv_get_setup(__request) __drv->GetSetup((uint8_t *)(__request)) |
|
#define | vk_usbd_drv_status_stage(__is_in) __drv->StatusStage((__is_in)) |
|
#define | vk_usbd_drv_ep_add(__addr, __attr, __size) __drv->Ep.Add((__addr), (usb_ep_type_t)(__attr), (__size)) |
|
#define | vk_usbd_drv_ep_get_feature(__ep, __feature) __drv->Ep.GetFeature((__ep), (__feature)) |
|
#define | vk_usbd_drv_ep_get_size(__ep) __drv->Ep.GetSize((__ep)) |
|
#define | vk_usbd_drv_ep_is_stalled(__ep) __drv->Ep.IsStalled((__ep)) |
|
#define | vk_usbd_drv_ep_set_stall(__ep) __drv->Ep.SetStall((__ep)) |
|
#define | vk_usbd_drv_ep_clear_stall(__ep) __drv->Ep.ClearStall((__ep)) |
|
#define | vk_usbd_drv_ep_get_data_size(__ep) __drv->Ep.GetDataSize((__ep)) |
|
#define | vk_usbd_drv_ep_transaction_read_buffer(__ep, __buf, __size) __drv->Ep.Transaction.ReadBuffer((__ep), (__buf), (__size)) |
|
#define | vk_usbd_drv_ep_transaction_write_buffer(__ep, __buf, __size) __drv->Ep.Transaction.WriteBuffer((__ep), (__buf), (__size)) |
|
#define | vk_usbd_drv_ep_transaction_set_data_size(__ep, __size) __drv->Ep.Transaction.SetDataSize((__ep), (__size)) |
|
#define | vk_usbd_drv_ep_transaction_enable_out(__ep) __drv->Ep.Transaction.EnableOut((__ep)) |
|
#define | vk_usbd_drv_ep_transfer_send(__ep, __buf, __size, __zlp) __drv->Ep.Transfer.Send((__ep), (__buf), (__size), (__zlp)) |
|
#define | vk_usbd_drv_ep_transfer_recv(__ep, __buf, __size) __drv->Ep.Transfer.Recv((__ep), (__buf), (__size)) |
|
◆ VSF_USBD_DRV_PREPARE
#define VSF_USBD_DRV_PREPARE |
( |
|
__dev | ) |
const i_usb_dc_t *__drv = (__dev)->drv; |
◆ vk_usbd_drv_init
#define vk_usbd_drv_init |
( |
|
__cfg | ) |
__drv->Init((__cfg)) |
◆ vk_usbd_drv_fini
#define vk_usbd_drv_fini |
( |
| ) |
__drv->Fini() |
◆ vk_usbd_drv_reset
#define vk_usbd_drv_reset |
( |
|
__cfg | ) |
__drv->Reset((__cfg)) |
◆ vk_usbd_drv_connect
#define vk_usbd_drv_connect |
( |
| ) |
__drv->Connect() |
◆ vk_usbd_drv_disconnect
#define vk_usbd_drv_disconnect |
( |
| ) |
__drv->Disconnect() |
◆ vk_usbd_drv_wakeup
#define vk_usbd_drv_wakeup |
( |
| ) |
__drv->Wakeup() |
◆ vk_usbd_drv_set_address
#define vk_usbd_drv_set_address |
( |
|
__addr | ) |
__drv->SetAddress((__addr)) |
◆ vk_usbd_drv_get_setup
#define vk_usbd_drv_get_setup |
( |
|
__request | ) |
__drv->GetSetup((uint8_t *)(__request)) |
◆ vk_usbd_drv_status_stage
#define vk_usbd_drv_status_stage |
( |
|
__is_in | ) |
__drv->StatusStage((__is_in)) |
◆ vk_usbd_drv_ep_add
#define vk_usbd_drv_ep_add |
( |
|
__addr, |
|
|
|
__attr, |
|
|
|
__size |
|
) |
| __drv->Ep.Add((__addr), (usb_ep_type_t)(__attr), (__size)) |
◆ vk_usbd_drv_ep_get_feature
#define vk_usbd_drv_ep_get_feature |
( |
|
__ep, |
|
|
|
__feature |
|
) |
| __drv->Ep.GetFeature((__ep), (__feature)) |
◆ vk_usbd_drv_ep_get_size
#define vk_usbd_drv_ep_get_size |
( |
|
__ep | ) |
__drv->Ep.GetSize((__ep)) |
◆ vk_usbd_drv_ep_is_stalled
#define vk_usbd_drv_ep_is_stalled |
( |
|
__ep | ) |
__drv->Ep.IsStalled((__ep)) |
◆ vk_usbd_drv_ep_set_stall
#define vk_usbd_drv_ep_set_stall |
( |
|
__ep | ) |
__drv->Ep.SetStall((__ep)) |
◆ vk_usbd_drv_ep_clear_stall
#define vk_usbd_drv_ep_clear_stall |
( |
|
__ep | ) |
__drv->Ep.ClearStall((__ep)) |
◆ vk_usbd_drv_ep_get_data_size
#define vk_usbd_drv_ep_get_data_size |
( |
|
__ep | ) |
__drv->Ep.GetDataSize((__ep)) |
◆ vk_usbd_drv_ep_transaction_read_buffer
#define vk_usbd_drv_ep_transaction_read_buffer |
( |
|
__ep, |
|
|
|
__buf, |
|
|
|
__size |
|
) |
| __drv->Ep.Transaction.ReadBuffer((__ep), (__buf), (__size)) |
◆ vk_usbd_drv_ep_transaction_write_buffer
#define vk_usbd_drv_ep_transaction_write_buffer |
( |
|
__ep, |
|
|
|
__buf, |
|
|
|
__size |
|
) |
| __drv->Ep.Transaction.WriteBuffer((__ep), (__buf), (__size)) |
◆ vk_usbd_drv_ep_transaction_set_data_size
◆ vk_usbd_drv_ep_transaction_enable_out
◆ vk_usbd_drv_ep_transfer_send
#define vk_usbd_drv_ep_transfer_send |
( |
|
__ep, |
|
|
|
__buf, |
|
|
|
__size, |
|
|
|
__zlp |
|
) |
| __drv->Ep.Transfer.Send((__ep), (__buf), (__size), (__zlp)) |
◆ vk_usbd_drv_ep_transfer_recv
#define vk_usbd_drv_ep_transfer_recv |
( |
|
__ep, |
|
|
|
__buf, |
|
|
|
__size |
|
) |
| __drv->Ep.Transfer.Recv((__ep), (__buf), (__size)) |