AN6077

EZUSB_IRQ_CLEAR( );

// Clear URES IRQ

USBIRQ = bmURES;

}

 

void ISR_Susp( void ) interrupt 0

{

Sleep = TRUE; EZUSB_IRQ_CLEAR( ); USBIRQ = bmSUSP;

}

void ISR_Highspeed( void ) interrupt 0

{

if ( EZUSB_HIGHSPEED( ) )

{

pConfigDscr = pHighSpeedConfigDscr; pOtherConfigDscr = pFullSpeedConfigDscr;

}

else

{

pConfigDscr = pFullSpeedConfigDscr; pOtherConfigDscr = pHighSpeedConfigDscr;

}

EZUSB_IRQ_CLEAR( ); USBIRQ = bmHSGRANT;

}

void ISR_Ep0ack( void ) interrupt 0

{

}

void ISR_Stub( void ) interrupt 0

{

}

void ISR_Ep0in( void ) interrupt 0

{

}

void ISR_Ep0out( void ) interrupt 0

{

}

void ISR_Ep1in( void ) interrupt 0

{

}

void ISR_Ep1out( void ) interrupt 0

{

}

void ISR_Ep2inout( void ) interrupt 0

{

}

void ISR_Ep4inout( void ) interrupt 0

{

}

void ISR_Ep6inout( void ) interrupt 0

{

}

void ISR_Ep8inout( void ) interrupt 0

{

}

void ISR_Ibn( void ) interrupt 0

{

}

void ISR_Ep0pingnak( void ) interrupt 0

{

February 19, 2008

Document No. 001-15342 Rev. **

15

[+] Feedback

Page 15
Image 15
Cypress FX2LP, AN6077 manual Clear Ures IRQ