#include <stdint.h>
Go to the source code of this file.
Functions | |
uint32_t | OTGD_FS_Handle_ModeMismatch_ISR (void) |
uint32_t | OTGD_FS_Handle_Sof_ISR (void) |
uint32_t | OTGD_FS_Handle_RxStatusQueueLevel_ISR (void) |
uint32_t | OTGD_FS_Handle_NPTxFE_ISR (void) |
uint32_t | OTGD_FS_Handle_GInNakEff_ISR (void) |
uint32_t | OTGD_FS_Handle_GOutNakEff_ISR (void) |
uint32_t | OTGD_FS_Handle_EarlySuspend_ISR (void) |
uint32_t | OTGD_FS_Handle_USBSuspend_ISR (void) |
uint32_t | OTGD_FS_Handle_UsbReset_ISR (void) |
uint32_t | OTGD_FS_Handle_EnumDone_ISR (void) |
uint32_t | OTGD_FS_Handle_IsoOutDrop_ISR (void) |
uint32_t | OTGD_FS_Handle_EOPF_ISR (void) |
uint32_t | OTGD_FS_Handle_EPMismatch_ISR (void) |
uint32_t | OTGD_FS_Handle_InEP_ISR (void) |
uint32_t | OTGD_FS_Handle_OutEP_ISR (void) |
uint32_t | OTGD_FS_Handle_IncomplIsoIn_ISR (void) |
uint32_t | OTGD_FS_Handle_IncomplIsoOut_ISR (void) |
uint32_t | OTGD_FS_Handle_Wakeup_ISR (void) |
uint32_t OTGD_FS_Handle_ModeMismatch_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_common_regs::int_sts, INTR_MODEMISMATCH_Callback(), _USB_OTG_int_sts_data::modemismatch, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_Sof_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_common_regs::int_sts, INTR_SOFINTR_Callback(), _USB_OTG_int_sts_data::sofintr, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_RxStatusQueueLevel_ISR | ( | void | ) |
References _USB_OTG_int_msk_data::b, _USB_OTG_dev_rx_sts_data::b, _USB_OTG_dev_rx_sts_data::bcnt, USB_OTG_core_regs::common_regs, _USB_OTG_int_msk_data::d32, _USB_OTG_dev_rx_sts_data::d32, EP_TYPE_ISOC, _USB_OTG_dev_rx_sts_data::epnum, _USB_OTG_common_regs::int_msk, INTR_RXSTSQLVL_Callback(), INTR_RXSTSQLVL_ISODU_Callback(), ISOC_BUFFER_SZE, IsocBuff, IsocBufferIdx, MODIFY_REG32, NUM_SUB_BUFFERS, OTGD_FS_PCD_GetOutEP(), OTGD_FS_ReadPacket(), _USB_OTG_dev_rx_sts_data::pktsts, READ_REG32, _USB_OTG_common_regs::rx_stsp, _USB_OTG_int_msk_data::rxstsqlvl, STS_DATA_UPDT, STS_GOUT_NAK, STS_SETUP_COMP, STS_SETUP_UPDT, STS_XFER_COMP, USB_OTG_ep::type, USBD_Data_Buffer, USB_OTG_ep::xfer_buff, USB_OTG_ep::xfer_count, and USB_OTG_ep::xfer_len.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_NPTxFE_ISR | ( | void | ) |
References _USB_OTG_int_msk_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_msk_data::d32, _USB_OTG_common_regs::int_msk, INTR_NPTXFEMPTY_Callback(), MODIFY_REG32, and _USB_OTG_int_msk_data::nptxfempty.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_GInNakEff_ISR | ( | void | ) |
References INTR_GINNAKEFF_Callback().
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_GOutNakEff_ISR | ( | void | ) |
References INTR_GOUTNAKEFF_Callback().
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_EarlySuspend_ISR | ( | void | ) |
References _USB_OTG_int_msk_data::b, _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_msk_data::d32, _USB_OTG_int_sts_data::d32, _USB_OTG_int_msk_data::erlysuspend, _USB_OTG_int_sts_data::erlysuspend, _USB_OTG_common_regs::int_msk, _USB_OTG_common_regs::int_sts, INTR_ERLYSUSPEND_Callback(), MODIFY_REG32, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_USBSuspend_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_common_regs::int_sts, INTR_USBSUSPEND_Callback(), _USB_OTG_int_sts_data::usbsuspend, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_UsbReset_ISR | ( | void | ) |
References _USB_OTG_dev_in_ep_int_data::ahberr, _USB_OTG_dev_out_ep_int_data::ahberr, _USB_OTG_int_sts_data::b, _USB_OTG_dev_cfg_data::b, _USB_OTG_dev_ctl_data::b, _USB_OTG_dev_in_ep_int_data::b, _USB_OTG_dev_out_ep_int_data::b, _USB_OTG_dev_all_int_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_dev_cfg_data::d32, _USB_OTG_dev_ctl_data::d32, _USB_OTG_dev_in_ep_int_data::d32, _USB_OTG_dev_out_ep_int_data::d32, _USB_OTG_dev_all_int_data::d32, _USB_OTG_dev_regs::dev_all_int_msk, _USB_OTG_dev_regs::dev_cfg, _USB_OTG_dev_regs::dev_ctl, _USB_OTG_dev_regs::dev_in_ep_msk, _USB_OTG_dev_regs::dev_out_ep_msk, USB_OTG_core_regs::dev_regs, _USB_OTG_dev_cfg_data::devaddr, _USB_OTG_dev_in_ep_int_data::epdisabled, _USB_OTG_dev_out_ep_int_data::epdisabled, _USB_OTG_dev_all_int_data::inep0, _USB_OTG_common_regs::int_sts, _USB_OTG_dev_in_ep_int_data::intknepmis, INTR_USBRESET_Callback(), MODIFY_REG32, OTGD_FS_DEVICE_RESET, OTGD_FS_FlushTxFifo(), OTGD_FS_PCD_EP0_OutStart(), _USB_OTG_dev_all_int_data::outep0, READ_REG32, _USB_OTG_dev_ctl_data::rmtwkupsig, _USB_OTG_dev_out_ep_int_data::setup, _USB_OTG_dev_in_ep_int_data::timeout, _USB_OTG_int_sts_data::usbreset, WRITE_REG32, _USB_OTG_dev_in_ep_int_data::xfercompl, and _USB_OTG_dev_out_ep_int_data::xfercompl.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_EnumDone_ISR | ( | void | ) |
References _USB_OTG_usb_cfg_data::b, _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_usb_cfg_data::d32, _USB_OTG_int_sts_data::d32, _USB_OTG_int_sts_data::enumdone, _USB_OTG_common_regs::int_sts, INTR_ENUMDONE_Callback(), OTGD_FS_EP0Activate(), READ_REG32, _USB_OTG_common_regs::usb_cfg, USB_SPEED_FULL, _USB_OTG_usb_cfg_data::usbtrdtim, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_IsoOutDrop_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_common_regs::int_sts, INTR_ISOOUTDROP_Callback(), _USB_OTG_int_sts_data::isooutdrop, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_EOPF_ISR | ( | void | ) |
References _USB_OTG_int_msk_data::b, _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_msk_data::d32, _USB_OTG_int_sts_data::d32, _USB_OTG_int_msk_data::eopframe, _USB_OTG_int_sts_data::eopframe, _USB_OTG_common_regs::int_msk, _USB_OTG_common_regs::int_sts, INTR_EOPFRAME_Callback(), MODIFY_REG32, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_EPMismatch_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_int_sts_data::epmismatch, _USB_OTG_common_regs::int_sts, INTR_EPMISMATCH_Callback(), and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_InEP_ISR | ( | void | ) |
References _USB_OTG_dev_in_ep_int_data::ahberr, _USB_OTG_dev_in_ep_int_data::b, CLEAR_IN_EP_INTR, _USB_OTG_dev_in_ep_int_data::d32, DEV_EP_TX_NAK, DEV_EP_TX_VALID, _USB_OTG_dev_regs::dev_fifo_empty_msk, USB_OTG_core_regs::dev_regs, _USB_OTG_dev_in_ep_int_data::emptyintr, _USB_OTG_dev_in_ep_int_data::epdisabled, USB_OTG_ep::even_odd_frame, In0_Process(), _USB_OTG_dev_in_ep_int_data::inepnakeff, _USB_OTG_dev_in_ep_int_data::intknepmis, _USB_OTG_dev_in_ep_int_data::intktxfemp, INTR_INEPINTR_Callback(), MODIFY_REG32, USB_OTG_ep::num, OTG_DEV_GetEPTxStatus(), OTG_DEV_SetEPRxStatus(), OTG_DEV_SetEPTxStatus(), OTGD_FS_PCD_GetInEP(), OTGD_FS_ReadDevAllInEPItr(), pEpInt_IN, SaveRState, SaveTState, _USB_OTG_dev_in_ep_int_data::timeout, and _USB_OTG_dev_in_ep_int_data::xfercompl.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_OutEP_ISR | ( | void | ) |
References _USB_OTG_dev_out_ep_int_data::ahberr, _USB_OTG_dev_out_ep_int_data::b, CLEAR_OUT_EP_INTR, _USB_OTG_dev_out_ep_int_data::d32, _USB_OTG_dev_out_ep_int_data::epdisabled, INTR_OUTEPINTR_Callback(), OTG_DEV_SetEPTxStatus(), OTGD_FS_PCD_GetOutEP(), OTGD_FS_ReadDevAllOutEp_itr(), OTGD_FS_ReadDevOutEP_itr(), Out0_Process(), pEpInt_OUT, SaveTState, _USB_OTG_dev_out_ep_int_data::setup, Setup0_Process(), and _USB_OTG_dev_out_ep_int_data::xfercompl.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_IncomplIsoIn_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_int_sts_data::incomplisoin, _USB_OTG_common_regs::int_sts, INTR_INCOMPLISOIN_Callback(), and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_IncomplIsoOut_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_common_regs::int_sts, INTR_INCOMPLISOOUT_Callback(), _USB_OTG_int_sts_data::outepintr, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().
uint32_t OTGD_FS_Handle_Wakeup_ISR | ( | void | ) |
References _USB_OTG_int_sts_data::b, USB_OTG_core_regs::common_regs, _USB_OTG_int_sts_data::d32, _USB_OTG_common_regs::int_sts, INTR_WKUPINTR_Callback(), _USB_OTG_int_sts_data::wkupintr, and WRITE_REG32.
Referenced by STM32_PCD_OTG_ISR_Handler().