This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

interrupt EP_RLZED not work

hi guys
in register USBDevIntEn - i enable EP_RLZED interrupt :

USBDevIntEn |= EP_RLZED;

but this interrupt ( EP_RLZED ) never not occur - for what?
i don't have any problem with other interrupt of this register ( USBDevIntEn )

i don't love use flag of this interrupt ( USBDevIntSt ), i whant use interrupt for EP_RLZED - but i cant.

// use flag :
while( !(*usbREG.USBDevIntSt & USB_DEV_INT__EP_RLZED) ); // wait for EP_RLZED interrupt
*usbREG.USBDevIntClr = USB_DEV_INT__EP_RLZED; // clear EP_RLZED

Parents Reply Children
  • Clearly!

    The important thing is that you need to pay attention!

    * Pay attention to the information in the chip's documentation;

    * Pay attention to the documentation of any support code/libraries you're using;

    * Pay attention to the supporting examples, app notes, etc from the chip manufacturer;

    * Pay attention to what you learn from debugging your code;

    etc, etc, ...