This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Specific setting method of "INTEN"

Hello

I am trying to understand interrupt handling.

I saw this page.

How can I enable the "INTEN" set?

Thank you!

Parents
  • Hello,

    You can set INTENSET registers directly if you want, but it's usually done inside the SDK drivers. The code line below is an example of this. It enables interrupt on the COMPARE[5] TIMER 1 event

    NRF_TIMER1->INTENSET |= TIMER_INTENSET_COMPARE5_Msk;

  • Thank you for reply!

    What you tell me is useful

    Thank you so much!

Reply Children
No Data