AM261x MCU+ SDK  26.00.00
pcd_hiber.c File Reference

Introduction

This file contains the PCD hibernation code.

Functions

static void dwc_reenable_xfer_and_restart (dwc_usb3_pcd_t *pcd, dwc_usb3_pcd_ep_t *ep)
 
void dwc_enter_hibernation (dwc_usb3_pcd_t *pcd, int save_state)
 This routine sends the core into hibernation, saving the core's runtime state if requested. More...
 
void dwc_exit_hibernation_after_connect (dwc_usb3_pcd_t *pcd, int connected)
 This routine finishes exiting from hibernation once the device is connected. More...
 
int dwc_exit_hibernation (dwc_usb3_pcd_t *pcd, int restore_state)
 This routine wakes the core from hibernation. More...
 

Function Documentation

◆ dwc_reenable_xfer_and_restart()

static void dwc_reenable_xfer_and_restart ( dwc_usb3_pcd_t pcd,
dwc_usb3_pcd_ep_t ep 
)
static

This routine restarts any transfer that was in progress on an EP when the core entered hibernation.