USB Component
Version 6.17.0
MDK Middleware for USB Device and Host Communication
|
Events generated by USB Device - Communication Device Class functions. More...
Functions | |
__STATIC_INLINE void | EvrUSBD_CDC_Initialize (uint8_t instance) |
Event on internal library operation CDC initialize start (Operation) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_InitializeFailed (uint8_t instance, usbStatus error) |
Event on internal library operation CDC initialize failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_Uninitialize (uint8_t instance) |
Event on internal library operation CDC uninitialize start (Operation) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_UninitializeFailed (uint8_t instance, usbStatus error) |
Event on internal library operation CDC uninitialize failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_Reset (uint8_t instance) |
Event on internal library operation CDC reset start (Operation) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ResetFailed (uint8_t instance, usbStatus error) |
Event on internal library operation CDC reset failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnInitialize (uint8_t n) |
Event on USBD_CDCn_ACM_Initialize user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnUninitialize (uint8_t n) |
Event on USBD_CDCn_ACM_Uninitialize user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnReset (uint8_t n) |
Event on USBD_CDCn_ACM_Reset user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnSendEncapsulatedCommand (uint8_t n, uint32_t buf, uint16_t len, bool result) |
Event on USBD_CDCn_ACM_SendEncapsulatedCommand user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnGetEncapsulatedResponse (uint8_t n, uint16_t max_len, uint32_t buf, uint16_t len, bool result) |
Event on USBD_CDCn_ACM_GetEncapsulatedResponse user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnSetLineCoding (uint8_t n, uint32_t rate, bool result) |
Event on USBD_CDCn_ACM_SetLineCoding user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnGetLineCoding (uint8_t n, uint32_t rate, bool result) |
Event on USBD_CDCn_ACM_GetLineCoding user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_OnSetControlLineState (uint8_t n, uint8_t dtr, uint8_t rts, bool result) |
Event on USBD_CDCn_ACM_SetControlLineState user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_ReadData (uint8_t instance, int32_t len, uint32_t result) |
Event on USBD_CDC_ACM_ReadData finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_ReadDataFailed (uint8_t instance, int32_t len, int32_t error) |
Event on USBD_CDC_ACM_ReadData failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_WriteData (uint8_t instance, int32_t len, uint32_t result) |
Event on USBD_CDC_ACM_WriteData finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_WriteDataFailed (uint8_t instance, int32_t len, int32_t error) |
Event on USBD_CDC_ACM_WriteData failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_GetChar (uint8_t instance, int32_t result) |
Event on USBD_CDC_ACM_GetChar finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_PutChar (uint8_t instance, int32_t result) |
Event on USBD_CDC_ACM_PutChar finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_DataAvailable (uint8_t instance, uint32_t result) |
Event on USBD_CDC_ACM_DataAvailable finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_DataAvailableFailed (uint8_t instance, int32_t error) |
Event on USBD_CDC_ACM_DataAvailable failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_Notify_SerialState (uint8_t instance, uint16_t state) |
Event on USBD_CDC_ACM_Notify_SerialState finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_Notify_SerialStateFailed (uint8_t instance, uint16_t state, usbStatus error) |
Event on USBD_CDC_ACM_Notify_SerialState failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_Notify_ResponseAvailable (uint8_t instance) |
Event on USBD_CDC_ACM_Notify_ResponseAvailable finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_ACM_Notify_ResponseAvailableFailed (uint8_t instance, usbStatus error) |
Event on USBD_CDC_ACM_Notify_ResponseAvailable failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnInitialize (uint8_t n) |
Event on USBD_CDCn_NCM_Initialize user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnUninitialize (uint8_t n) |
Event on USBD_CDCn_NCM_Uninitialize user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnReset (uint8_t n) |
Event on USBD_CDCn_NCM_Reset user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnStart (uint8_t n) |
Event on USBD_CDCn_NCM_Start user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnStop (uint8_t n) |
Event on USBD_CDCn_NCM_Stop user callback function start (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetEthMulticastFilters (uint8_t n, bool result) |
Event on USBD_CDCn_NCM_SetEthernetMulticastFilters user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetEthPowerMgmtPatFilter (uint8_t n, uint16_t filter_number, bool result) |
Event on USBD_CDCn_NCM_SetEthernetPowerManagementPatternFilter user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetEthPowerMgmtPatFilter (uint8_t n, uint16_t filter_number, bool result) |
Event on USBD_CDCn_NCM_GetEthernetPowerManagementPatternFilter user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetEthernetPacketFilter (uint8_t n, uint16_t packet_filter_bitmap, bool result) |
Event on USBD_CDCn_NCM_SetEthernetPacketFilter user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetEthernetStatistic (uint8_t n, uint16_t feature_selector, bool result) |
Event on USBD_CDCn_NCM_GetEthernetStatistic user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetNtbParameters (uint8_t n, bool result) |
Event on USBD_CDCn_NCM_GetNtbParameters user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetNetAddress (uint8_t n, bool result) |
Event on USBD_CDCn_NCM_GetNetAddress user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetNetAddress (uint8_t n, bool result) |
Event on USBD_CDCn_NCM_SetNetAddress user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetNtbFormat (uint8_t n, uint16_t ntb_format, bool result) |
Event on USBD_CDCn_NCM_GetNtbFormat user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetNtbFormat (uint8_t n, uint16_t ntb_format, bool result) |
Event on USBD_CDCn_NCM_SetNtbFormat user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetNtbInputSize (uint8_t n, uint32_t ntb_input_size, bool result) |
Event on USBD_CDCn_NCM_GetNtbInputSize user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetNtbInputSize (uint8_t n, uint32_t ntb_input_size, bool result) |
Event on USBD_CDCn_NCM_SetNtbInputSize user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetMaxDatagramSize (uint8_t n, uint16_t max_datagram_size, bool result) |
Event on USBD_CDCn_NCM_GetMaxDatagramSize user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetMaxDatagramSize (uint8_t n, uint16_t max_datagram_size, bool result) |
Event on USBD_CDCn_NCM_SetMaxDatagramSize user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnGetCrcMode (uint8_t n, uint16_t crc_mode, bool result) |
Event on USBD_CDCn_NCM_GetCrcMode user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnSetCrcMode (uint8_t n, uint16_t crc_mode, bool result) |
Event on USBD_CDCn_NCM_SetCrcMode user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnNTB_IN_Sent (uint8_t n) |
Event on USBD_CDCn_NCM_NTB_IN_Sent user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_OnNTB_OUT_Received (uint8_t n) |
Event on USBD_CDCn_NCM_NTB_OUT_Received user callback function finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_Initialize (uint8_t instance) |
Event on USBD_CDC_NCM_NTB_IN_Initialize finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_InitializeFailed (uint8_t instance, int32_t error) |
Event on USBD_CDC_NCM_NTB_IN_Initialize failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_CreateNDP (uint8_t instance, uint8_t num_datagrams) |
Event on USBD_CDC_NCM_NTB_IN_CreateNDP finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_CreateNDPFailed (uint8_t instance, uint8_t num_datagrams, int32_t error) |
Event on USBD_CDC_NCM_NTB_IN_CreateNDP failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_WriteDatagram (uint8_t instance, uint32_t len) |
Event on USBD_CDC_NCM_NTB_IN_WriteDatagram finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_WriteDatagramFailed (uint8_t instance, uint32_t len, int32_t error) |
Event on USBD_CDC_NCM_NTB_IN_WriteDatagram failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_Send (uint8_t instance) |
Event on USBD_CDC_NCM_NTB_IN_Send finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_SendFailed (uint8_t instance, int32_t error) |
Event on USBD_CDC_NCM_NTB_IN_Send failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_IsSent (uint8_t instance, uint32_t result) |
Event on USBD_CDC_NCM_NTB_IN_IsSent finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_IsSentFailed (uint8_t instance, int32_t error) |
Event on USBD_CDC_NCM_NTB_IN_IsSent failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_IsReceived (uint8_t instance, uint32_t result) |
Event on USBD_CDC_NCM_NTB_OUT_IsReceived finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_IsReceivedFailed (uint8_t instance, int32_t error) |
Event on USBD_CDC_NCM_NTB_OUT_IsReceived failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_Release (uint8_t instance) |
Event on USBD_CDC_NCM_NTB_OUT_Release finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_ReleaseFailed (uint8_t instance, int32_t error) |
Event on USBD_CDC_NCM_NTB_OUT_Release failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_ProcessNDP (uint8_t instance) |
Event on USBD_CDC_NCM_NTB_OUT_ProcessNDP finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_ProcessNDPFailed (uint8_t instance, int32_t error) |
Event on USBD_CDC_NCM_NTB_OUT_ProcessNDP failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_GetDatagramSize (uint8_t instance, uint32_t result) |
Event on USBD_CDC_NCM_NTB_OUT_GetDatagramSize finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_ReadDatagram (uint8_t instance, uint32_t max_len, uint32_t result) |
Event on USBD_CDC_NCM_NTB_OUT_ReadDatagram finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_ReadDatagramFailed (uint8_t instance, uint32_t max_len, int32_t error) |
Event on USBD_CDC_NCM_NTB_OUT_ReadDatagram failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_RawSend (uint8_t instance, uint32_t len) |
Event on USBD_CDC_NCM_NTB_IN_RawSend finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_IN_RawSendFailed (uint8_t instance, uint32_t len, int32_t error) |
Event on USBD_CDC_NCM_NTB_IN_RawSend failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_RawGetSize (uint8_t instance, uint32_t result) |
Event on USBD_CDC_NCM_NTB_OUT_RawGetSize finished (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_RawReceive (uint8_t instance, uint32_t max_len) |
Event on USBD_CDC_NCM_NTB_OUT_RawReceive finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_NTB_OUT_RawReceiveFailed (uint8_t instance, uint32_t max_len, int32_t error) |
Event on USBD_CDC_NCM_NTB_OUT_RawReceive failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_Notify_NetworkConnection (uint8_t instance, uint16_t status) |
Event on USBD_CDC_NCM_Notify_NetworkConnection finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_Notify_NetworkConnectionFailed (uint8_t instance, uint16_t status, int32_t error) |
Event on USBD_CDC_NCM_Notify_NetworkConnection failed (Error) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_Notify_ConnectionSpeedChange (uint8_t instance, uint32_t us_bitrate, uint32_t ds_bitrate) |
Event on USBD_CDC_NCM_Notify_ConnectionSpeedChange finished successfully (API) More... | |
__STATIC_INLINE void | EvrUSBD_CDC_NCM_Notify_ConnectionSpeedChangeFailed (uint8_t instance, uint32_t us_bitrate, uint32_t ds_bitrate, int32_t error) |
Event on USBD_CDC_NCM_Notify_ConnectionSpeedChange failed (Error) More... | |
Events generated by USB Device - Communication Device Class functions.
__STATIC_INLINE void EvrUSBD_CDC_Initialize | ( | uint8_t | instance | ) |
Event on internal library operation CDC initialize start (Operation)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_InitializeFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation CDC initialize failed (Error)
instance | instance of CDC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_Uninitialize | ( | uint8_t | instance | ) |
Event on internal library operation CDC uninitialize start (Operation)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_UninitializeFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation CDC uninitialize failed (Error)
instance | instance of CDC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_Reset | ( | uint8_t | instance | ) |
Event on internal library operation CDC reset start (Operation)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_ResetFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation CDC reset failed (Error)
instance | instance of CDC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnInitialize | ( | uint8_t | n | ) |
Event on USBD_CDCn_ACM_Initialize user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnUninitialize | ( | uint8_t | n | ) |
Event on USBD_CDCn_ACM_Uninitialize user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnReset | ( | uint8_t | n | ) |
Event on USBD_CDCn_ACM_Reset user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnSendEncapsulatedCommand | ( | uint8_t | n, |
uint32_t | buf, | ||
uint16_t | len, | ||
bool | result | ||
) |
Event on USBD_CDCn_ACM_SendEncapsulatedCommand user callback function finished (API)
n | instance of CDC class |
buf | buffer that contains send encapsulated command request |
len | length of send encapsulated command request |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnGetEncapsulatedResponse | ( | uint8_t | n, |
uint16_t | max_len, | ||
uint32_t | buf, | ||
uint16_t | len, | ||
bool | result | ||
) |
Event on USBD_CDCn_ACM_GetEncapsulatedResponse user callback function finished (API)
n | instance of CDC class |
max_len | maximum number of data bytes that USB Host expects to receive |
buf | pointer to buffer containing get encapsulated response to be returned to USB Host |
len | pointer to number of data bytes to be returned to USB Host |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnSetLineCoding | ( | uint8_t | n, |
uint32_t | rate, | ||
bool | result | ||
) |
Event on USBD_CDCn_ACM_SetLineCoding user callback function finished (API)
n | instance of CDC class |
rate | requested data terminal bit rate |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnGetLineCoding | ( | uint8_t | n, |
uint32_t | rate, | ||
bool | result | ||
) |
Event on USBD_CDCn_ACM_GetLineCoding user callback function finished (API)
n | instance of CDC class |
rate | current data terminal bit rate |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_OnSetControlLineState | ( | uint8_t | n, |
uint8_t | dtr, | ||
uint8_t | rts, | ||
bool | result | ||
) |
Event on USBD_CDCn_ACM_SetControlLineState user callback function finished (API)
n | instance of CDC class |
dtr | DTR control line state |
rts | RTS control line state |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_ReadData | ( | uint8_t | instance, |
int32_t | len, | ||
uint32_t | result | ||
) |
Event on USBD_CDC_ACM_ReadData finished successfully (API)
instance | instance of CDC class |
len | maximum number of bytes to read |
result | number of bytes read |
__STATIC_INLINE void EvrUSBD_CDC_ACM_ReadDataFailed | ( | uint8_t | instance, |
int32_t | len, | ||
int32_t | error | ||
) |
Event on USBD_CDC_ACM_ReadData failed (Error)
instance | instance of CDC class |
len | maximum number of bytes to read |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_ACM_WriteData | ( | uint8_t | instance, |
int32_t | len, | ||
uint32_t | result | ||
) |
Event on USBD_CDC_ACM_WriteData finished successfully (API)
instance | instance of CDC class |
len | maximum number of bytes to write |
result | number of bytes accepted for writing |
__STATIC_INLINE void EvrUSBD_CDC_ACM_WriteDataFailed | ( | uint8_t | instance, |
int32_t | len, | ||
int32_t | error | ||
) |
Event on USBD_CDC_ACM_WriteData failed (Error)
instance | instance of CDC class |
len | maximum number of bytes to write |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_ACM_GetChar | ( | uint8_t | instance, |
int32_t | result | ||
) |
Event on USBD_CDC_ACM_GetChar finished (API)
instance | instance of CDC class |
result | value of read character or no character received
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_PutChar | ( | uint8_t | instance, |
int32_t | result | ||
) |
Event on USBD_CDC_ACM_PutChar finished (API)
instance | instance of CDC class |
result | value of accepted character or no character accepted
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_DataAvailable | ( | uint8_t | instance, |
uint32_t | result | ||
) |
Event on USBD_CDC_ACM_DataAvailable finished successfully (API)
instance | instance of CDC class |
result | number of bytes available to read |
__STATIC_INLINE void EvrUSBD_CDC_ACM_DataAvailableFailed | ( | uint8_t | instance, |
int32_t | error | ||
) |
Event on USBD_CDC_ACM_DataAvailable failed (Error)
instance | instance of CDC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_ACM_Notify_SerialState | ( | uint8_t | instance, |
uint16_t | state | ||
) |
Event on USBD_CDC_ACM_Notify_SerialState finished successfully (API)
instance | instance of CDC class |
state | error status and line states:
|
__STATIC_INLINE void EvrUSBD_CDC_ACM_Notify_SerialStateFailed | ( | uint8_t | instance, |
uint16_t | state, | ||
usbStatus | error | ||
) |
Event on USBD_CDC_ACM_Notify_SerialState failed (Error)
instance | instance of CDC class |
state | error status and line states:
|
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_ACM_Notify_ResponseAvailable | ( | uint8_t | instance | ) |
Event on USBD_CDC_ACM_Notify_ResponseAvailable finished successfully (API)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_ACM_Notify_ResponseAvailableFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on USBD_CDC_ACM_Notify_ResponseAvailable failed (Error)
instance | instance of CDC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnInitialize | ( | uint8_t | n | ) |
Event on USBD_CDCn_NCM_Initialize user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnUninitialize | ( | uint8_t | n | ) |
Event on USBD_CDCn_NCM_Uninitialize user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnReset | ( | uint8_t | n | ) |
Event on USBD_CDCn_NCM_Reset user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnStart | ( | uint8_t | n | ) |
Event on USBD_CDCn_NCM_Start user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnStop | ( | uint8_t | n | ) |
Event on USBD_CDCn_NCM_Stop user callback function start (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetEthMulticastFilters | ( | uint8_t | n, |
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetEthernetMulticastFilters user callback function finished (API)
n | instance of CDC class |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetEthPowerMgmtPatFilter | ( | uint8_t | n, |
uint16_t | filter_number, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetEthernetPowerManagementPatternFilter user callback function finished (API)
n | instance of CDC class |
filter_number | filter number |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetEthPowerMgmtPatFilter | ( | uint8_t | n, |
uint16_t | filter_number, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetEthernetPowerManagementPatternFilter user callback function finished (API)
n | instance of CDC class |
filter_number | filter number |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetEthernetPacketFilter | ( | uint8_t | n, |
uint16_t | packet_filter_bitmap, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetEthernetPacketFilter user callback function finished (API)
n | instance of CDC class |
packet_filter_bitmap | packet filter bitmap |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetEthernetStatistic | ( | uint8_t | n, |
uint16_t | feature_selector, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetEthernetStatistic user callback function finished (API)
n | instance of CDC class |
feature_selector | feature selector |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetNtbParameters | ( | uint8_t | n, |
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetNtbParameters user callback function finished (API)
n | instance of CDC class |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetNetAddress | ( | uint8_t | n, |
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetNetAddress user callback function finished (API)
n | instance of CDC class |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetNetAddress | ( | uint8_t | n, |
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetNetAddress user callback function finished (API)
n | instance of CDC class |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetNtbFormat | ( | uint8_t | n, |
uint16_t | ntb_format, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetNtbFormat user callback function finished (API)
n | instance of CDC class |
ntb_format | NTB format
|
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetNtbFormat | ( | uint8_t | n, |
uint16_t | ntb_format, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetNtbFormat user callback function finished (API)
n | instance of CDC class |
ntb_format | NTB format
|
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetNtbInputSize | ( | uint8_t | n, |
uint32_t | ntb_input_size, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetNtbInputSize user callback function finished (API)
n | instance of CDC class |
ntb_input_size | maximum NTB size |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetNtbInputSize | ( | uint8_t | n, |
uint32_t | ntb_input_size, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetNtbInputSize user callback function finished (API)
n | instance of CDC class |
ntb_input_size | maximum NTB size |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetMaxDatagramSize | ( | uint8_t | n, |
uint16_t | max_datagram_size, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetMaxDatagramSize user callback function finished (API)
n | instance of CDC class |
max_datagram_size | maximum datagram size |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetMaxDatagramSize | ( | uint8_t | n, |
uint16_t | max_datagram_size, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetMaxDatagramSize user callback function finished (API)
n | instance of CDC class |
max_datagram_size | maximum datagram size |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnGetCrcMode | ( | uint8_t | n, |
uint16_t | crc_mode, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_GetCrcMode user callback function finished (API)
n | instance of CDC class |
crc_mode | current CRC mode |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnSetCrcMode | ( | uint8_t | n, |
uint16_t | crc_mode, | ||
bool | result | ||
) |
Event on USBD_CDCn_NCM_SetCrcMode user callback function finished (API)
n | instance of CDC class |
crc_mode | CRC mode to set |
result | operation result
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnNTB_IN_Sent | ( | uint8_t | n | ) |
Event on USBD_CDCn_NCM_NTB_IN_Sent user callback function finished (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_OnNTB_OUT_Received | ( | uint8_t | n | ) |
Event on USBD_CDCn_NCM_NTB_OUT_Received user callback function finished (API)
n | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_Initialize | ( | uint8_t | instance | ) |
Event on USBD_CDC_NCM_NTB_IN_Initialize finished successfully (API)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_InitializeFailed | ( | uint8_t | instance, |
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_IN_Initialize failed (Error)
instance | instance of CDC class |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_CreateNDP | ( | uint8_t | instance, |
uint8_t | num_datagrams | ||
) |
Event on USBD_CDC_NCM_NTB_IN_CreateNDP finished successfully (API)
instance | instance of CDC class |
num_datagrams | maximum number of datagrams that NDP will contain |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_CreateNDPFailed | ( | uint8_t | instance, |
uint8_t | num_datagrams, | ||
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_IN_CreateNDP failed (Error)
instance | instance of CDC class |
num_datagrams | maximum number of datagrams that NDP will contain |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_WriteDatagram | ( | uint8_t | instance, |
uint32_t | len | ||
) |
Event on USBD_CDC_NCM_NTB_IN_WriteDatagram finished successfully (API)
instance | instance of CDC class |
len | number of bytes to write |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_WriteDatagramFailed | ( | uint8_t | instance, |
uint32_t | len, | ||
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_IN_WriteDatagram failed (Error)
instance | instance of CDC class |
len | number of bytes to write |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_Send | ( | uint8_t | instance | ) |
Event on USBD_CDC_NCM_NTB_IN_Send finished successfully (API)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_SendFailed | ( | uint8_t | instance, |
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_IN_Send failed (Error)
instance | instance of CDC class |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_IsSent | ( | uint8_t | instance, |
uint32_t | result | ||
) |
Event on USBD_CDC_NCM_NTB_IN_IsSent finished successfully (API)
instance | instance of CDC class |
result | NTB sending status
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_IsSentFailed | ( | uint8_t | instance, |
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_IN_IsSent failed (Error)
instance | instance of CDC class |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_IsReceived | ( | uint8_t | instance, |
uint32_t | result | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_IsReceived finished successfully (API)
instance | instance of CDC class |
result | NTB receiving status
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_IsReceivedFailed | ( | uint8_t | instance, |
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_IsReceived failed (Error)
instance | instance of CDC class |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_Release | ( | uint8_t | instance | ) |
Event on USBD_CDC_NCM_NTB_OUT_Release finished successfully (API)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_ReleaseFailed | ( | uint8_t | instance, |
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_Release failed (Error)
instance | instance of CDC class |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_ProcessNDP | ( | uint8_t | instance | ) |
Event on USBD_CDC_NCM_NTB_OUT_ProcessNDP finished successfully (API)
instance | instance of CDC class |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_ProcessNDPFailed | ( | uint8_t | instance, |
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_ProcessNDP failed (Error)
instance | instance of CDC class |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_GetDatagramSize | ( | uint8_t | instance, |
uint32_t | result | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_GetDatagramSize finished (API)
instance | instance of CDC class |
result | number of bytes available in the datagram |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_ReadDatagram | ( | uint8_t | instance, |
uint32_t | max_len, | ||
uint32_t | result | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_ReadDatagram finished successfully (API)
instance | instance of CDC class |
max_len | maximum number of bytes to read |
result | number of bytes read from the datagram |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_ReadDatagramFailed | ( | uint8_t | instance, |
uint32_t | max_len, | ||
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_ReadDatagram failed (Error)
instance | instance of CDC class |
max_len | maximum number of bytes to read |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_RawSend | ( | uint8_t | instance, |
uint32_t | len | ||
) |
Event on USBD_CDC_NCM_NTB_IN_RawSend finished successfully (API)
instance | instance of CDC class |
len | size of NTB |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_IN_RawSendFailed | ( | uint8_t | instance, |
uint32_t | len, | ||
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_IN_RawSend failed (Error)
instance | instance of CDC class |
len | size of NTB |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_RawGetSize | ( | uint8_t | instance, |
uint32_t | result | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_RawGetSize finished (API)
instance | instance of CDC class |
result | number of bytes available in the NTB |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_RawReceive | ( | uint8_t | instance, |
uint32_t | max_len | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_RawReceive finished successfully (API)
instance | instance of CDC class |
max_len | maximum number of bytes that buffer can accept |
__STATIC_INLINE void EvrUSBD_CDC_NCM_NTB_OUT_RawReceiveFailed | ( | uint8_t | instance, |
uint32_t | max_len, | ||
int32_t | error | ||
) |
Event on USBD_CDC_NCM_NTB_OUT_RawReceive failed (Error)
instance | instance of CDC class |
max_len | maximum number of bytes that buffer can accept |
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_Notify_NetworkConnection | ( | uint8_t | instance, |
uint16_t | status | ||
) |
Event on USBD_CDC_NCM_Notify_NetworkConnection finished successfully (API)
instance | instance of CDC class |
status | connection status
|
__STATIC_INLINE void EvrUSBD_CDC_NCM_Notify_NetworkConnectionFailed | ( | uint8_t | instance, |
uint16_t | status, | ||
int32_t | error | ||
) |
Event on USBD_CDC_NCM_Notify_NetworkConnection failed (Error)
instance | instance of CDC class |
status | connection status
|
error | error code |
__STATIC_INLINE void EvrUSBD_CDC_NCM_Notify_ConnectionSpeedChange | ( | uint8_t | instance, |
uint32_t | us_bitrate, | ||
uint32_t | ds_bitrate | ||
) |
Event on USBD_CDC_NCM_Notify_ConnectionSpeedChange finished successfully (API)
instance | instance of CDC class |
us_bitrate | upstream bitrate |
ds_bitrate | downstream bitrate |
__STATIC_INLINE void EvrUSBD_CDC_NCM_Notify_ConnectionSpeedChangeFailed | ( | uint8_t | instance, |
uint32_t | us_bitrate, | ||
uint32_t | ds_bitrate, | ||
int32_t | error | ||
) |
Event on USBD_CDC_NCM_Notify_ConnectionSpeedChange failed (Error)
instance | instance of CDC class |
us_bitrate | upstream bitrate |
ds_bitrate | downstream bitrate |
error | error code |