-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAK_Interrupts.swift
More file actions
34 lines (29 loc) · 936 Bytes
/
AK_Interrupts.swift
File metadata and controls
34 lines (29 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// ----------------------------------
// | AK_Interrupts.swift |
// | ArduinoKit (User Project Side) |
// | |
// | Last Update: 2026-02-16 |
// ----------------------------------
// This file is part of the ArduinoKit project, but must be placed in your project directory.
// Library code within S4A Projects cannot define Interrupts, and instead relies on the user to include them in the project.
// Not including this file will cause Interrupt-driven features, such as Serial communication, and timer-related
// functionality to stop working correctly.
import ArduinoKit
@inline(never)
@interruptHandler
@_silgen_name("__vector_16")
func AK_Interrupt16() {
vector16()
}
@inline(never)
@interruptHandler
@_silgen_name("__vector_18")
func AK_Interrupt18() {
vector18()
}
@inline(never)
@interruptHandler
@_silgen_name("__vector_19")
func AK_Interrupt19() {
vector19()
}