You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2023/01/19 10:14:38 UTC

[GitHub] [nuttx] davids5 commented on pull request #8185: Acknowledge interrupt before installing callback

davids5 commented on PR #8185:
URL: https://github.com/apache/nuttx/pull/8185#issuecomment-1396733765

   It is service and device dependent. The normal sequence is to enable from NVIC outward. (Disable in the opposite direction)
   
   1. attach
   2. enable NVIC
   3. enable device.
   4. 
   
   If this change were to come in it would break async code. Like in the SDMMC driver switching to event wait on D0 for write completion. We want to service the interrupt if it happens before we switch modes. The service should deal with it.
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org