AM261x MCU+ SDK  11.00.00
pcd_hiber.c File Reference

Introduction

This file contains the PCD hibernation code.

Functions

static void dwc_reenable_xfer_and_restart (volatile dwc_usb3_pcd_t *pcd, volatile dwc_usb3_pcd_ep_t *ep)
 
void dwc_enter_hibernation (volatile 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 (volatile dwc_usb3_pcd_t *pcd, int connected)
 This routine finishes exiting from hibernation once the device is connected. More...
 
int dwc_exit_hibernation (volatile 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 ( volatile dwc_usb3_pcd_t pcd,
volatile dwc_usb3_pcd_ep_t ep 
)
static

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