You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/03.nano/boards/nano-r4/tutorials/01.user-manual/content.md
+131Lines changed: 131 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2290,6 +2290,137 @@ When working with HID on the Nano R4, there are several key points to keep in mi
2290
2290
- The Nano R4 can function as both a keyboard and mouse simultaneously, allowing for complex automation sequences that combine typing, shortcuts and mouse control.
2291
2291
- Remember that different operating systems may have slightly different keyboard layouts and shortcuts, so test your HID projects on your target platform to ensure compatibility.
2292
2292
2293
+
## External Interrupts
2294
+
2295
+
The Nano R4 features external interrupt capability through the RA4M1 microcontroller's ICU (Interrupt Control Unit). Interrupts allow your Nano R4 board to immediately respond to pin state changes by temporarily pausing the main program to execute an Interrupt Service Routine (ISR), then returning to where it left off. This makes interrupts essential for time-critical applications like button detection, encoder reading, and sensor monitoring.
2296
+
2297
+
### Interrupt Specifications
2298
+
2299
+
The Nano R4 board's external interrupt capabilities offer the following technical specifications:
|`A6`| Channel 3 | Analog input | Shares channel with `D12`|
2327
+
2328
+
***__Important note__: Pins sharing the same interrupt channel cannot be used for interrupts simultaneously. For example, `D3` and `A4` both use channel 1, so only one can be configured for interrupt functionality at a time.***
2329
+
2330
+
### Interrupt Trigger Modes
2331
+
2332
+
The Nano R4 board supports four interrupt trigger modes:
2333
+
2334
+
|**Mode**|**Trigger Condition**|**Typical Use Cases**|
|`LOW`| Pin remains at `LOW` level | Level-triggered events |
2340
+
2341
+
***__Important note__: The `HIGH` trigger mode is not supported by the hardware. If specified, it will behave as `RISING` mode (detecting only the `LOW`-to-`HIGH` transition, not the continuous `HIGH` state). For continuous `HIGH` level detection, use polling with `digitalRead()` instead.***
2342
+
2343
+
You can attach interrupts using the dedicated Arduino functions:
The Nano R4 board features an onboard Qwiic connector that provides a simple, tool-free solution for connecting I²C devices. The Qwiic ecosystem, developed by SparkFun Electronics, has become an industry standard for rapid prototyping with I²C devices, allowing you to connect sensors, displays, and other peripherals without soldering or complex wiring. This makes it perfect for quickly building sensor networks, adding displays, or expanding your project's capabilities with minimal effort.
0 commit comments