- 
 
- 
  Notifications
 You must be signed in to change notification settings 
- Fork 9
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
- Ask questions you’re wondering about.
- Share ideas.
- Engage with other community members.
- Welcome others and are open-minded. Remember that this is a community we
 build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
Hi, onelife,thank you for you good work!
could you pls provide an interrupt function sample for rt-thread? my hardware is Arduino DUE board. I found there's no interrupt in all the samples.
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi @danilliu-sudo,
Thanks for your interest in the Arduino RT-Thread library project!
The library is trying to utilize as much of the Arduino framework and libraries as possible (to reduce maintenance costs), and most of the common interrupts are handled by the framework. Therefore only a few interrupts are directly handled by the library.
You may find the examples in the driver code. E.g.,
Arduino_RT-Thread/src/bsp/LonganNano/drv_usart.c
Lines 208 to 242 in a56779a
Beta Was this translation helpful? Give feedback.