[package] name = "sam3-hal" version = "0.1.0" authors = [ "Aurorans Solis ", ] description = "HAL and PAC API for SAM3A, SAM3N, SAM3S, SAM3U, and SAM3X microcontrollers." keywords = ["no-std", "arm", "cortex-m3", "embedded-hal"] license = "EUPL-1.2" repository = "https://github.com/AuroransSolis/sam3" readme = "README.md" # documentation = "" edition = "2021" [package.metadata.docs.rs] features = ["sam3x8e-rt", "unproven"] [dev-dependencies.embedded-test] version = "0.3" features = ["log"] [dependencies] paste = "1" seq-macro = "0.3" # It may be useful in the future to add in extra features to group together smaller groups of MCUs, # for instance adding the feature `sam3n2` to group together `sam3n2a`, `sam3n2b`, and `sam3n2c` so # that common functionality between them is gated behind only a single feature. [features] unproven = [] device = [] pioc = [] piod = [] pioe = [] piof = [] 2fn = [] 3fn = [] 4fn = [] ppd = [] schmitt = [] sam3a100 = [] sam3n48 = [] sam3n64 = [] sam3n100 = [] sam3s48 = [] sam3s64 = [] sam3s100 = [] sam3s864 = [] sam3s8100 = [] sam3u100 = [] sam3u144 = [] sam3x100 = [] sam3x144 = [] sam3x217 = [] sam3a = ["device", "2fn"] sam3a4c = ["atsam3a4c", "sam3a", "sam3a100"] sam3a4c-rt = ["sam3a4c", "atsam3a4c/rt"] sam3a8c = ["atsam3a8c", "sam3a", "sam3a100"] sam3a8c-rt = ["sam3a8c", "atsam3a8c/rt"] sam3n = ["device", "3fn", "ppd", "schmitt"] sam3n00a = ["atsam3n00a", "sam3n", "sam3n48"] sam3n00a-rt = ["sam3n00a", "atsam3n00a/rt"] sam3n00b = ["atsam3n00b", "sam3n", "sam3n64"] sam3n00b-rt = ["sam3n00b", "atsam3n00b/rt"] sam3n0a = ["atsam3n0a", "sam3n", "sam3n48"] sam3n0a-rt = ["sam3n0a", "atsam3n0a/rt"] sam3n0b = ["atsam3n0b", "sam3n", "sam3n64"] sam3n0b-rt = ["sam3n0b", "atsam3n0b/rt"] sam3n0c = ["atsam3n0c", "sam3n", "pioc", "sam3n100"] sam3n0c-rt = ["sam3n0c", "atsam3n0c/rt"] sam3n1a = ["atsam3n1a", "sam3n", "sam3n48"] sam3n1a-rt = ["sam3n1a", "atsam3n1a/rt"] sam3n1b = ["atsam3n1b", "sam3n", "sam3n64"] sam3n1b-rt = ["sam3n1b", "atsam3n1b/rt"] sam3n1c = ["atsam3n1c", "sam3n", "pioc", "sam3n100"] sam3n1c-rt = ["sam3n1c", "atsam3n1c/rt"] sam3n2a = ["atsam3n2a", "sam3n", "sam3n48"] sam3n2a-rt = ["sam3n2a", "atsam3n2a/rt"] sam3n2b = ["atsam3n2b", "sam3n", "sam3n64"] sam3n2b-rt = ["sam3n2b", "atsam3n2b/rt"] sam3n2c = ["atsam3n2c", "sam3n", "pioc", "sam3n100"] sam3n2c-rt = ["sam3n2c", "atsam3n2c/rt"] sam3n4a = ["atsam3n4a", "sam3n", "sam3n48"] sam3n4a-rt = ["sam3n4a", "atsam3n4a/rt"] sam3n4b = ["atsam3n4b", "sam3n", "sam3n64"] sam3n4b-rt = ["sam3n4b", "atsam3n4b/rt"] sam3n4c = ["atsam3n4c", "sam3n", "pioc", "sam3n100"] sam3n4c-rt = ["sam3n4c", "atsam3n4c/rt"] sam3s = ["device", "3fn", "ppd", "schmitt"] sam3s1a = ["atsam3s1a", "sam3s", "sam3s48"] sam3s1a-rt = ["sam3s1a", "atsam3s1a/rt"] sam3s1b = ["atsam3s1b", "sam3s", "sam3s64"] sam3s1b-rt = ["sam3s1b", "atsam3s1b/rt"] sam3s1c = ["atsam3s1c", "sam3s", "pioc", "sam3s100"] sam3s1c-rt = ["sam3s1c", "atsam3s1c/rt"] sam3s2a = ["atsam3s2a", "sam3s", "sam3s48"] sam3s2a-rt = ["sam3s2a", "atsam3s2a/rt"] sam3s2b = ["atsam3s2b", "sam3s", "sam3s64"] sam3s2b-rt = ["sam3s2b", "atsam3s2b/rt"] sam3s2c = ["atsam3s2c", "sam3s", "pioc", "sam3s100"] sam3s2c-rt = ["sam3s2c", "atsam3s2c/rt"] sam3s4a = ["atsam3s4a", "sam3s", "sam3s48"] sam3s4a-rt = ["sam3s4a", "atsam3s4a/rt"] sam3s4b = ["atsam3s4b", "sam3s", "sam3s64"] sam3s4b-rt = ["sam3s4b", "atsam3s4b/rt"] sam3s4c = ["atsam3s4c", "sam3s", "pioc", "sam3s100"] sam3s4c-rt = ["sam3s4c", "atsam3s4c/rt"] sam3s8 = ["device", "3fn", "4fn", "ppd", "schmitt"] sam3s8b = ["atsam3s8b", "sam3s8", "sam3s864"] sam3s8b-rt = ["sam3s8b", "atsam3s8b/rt"] sam3s8c = ["atsam3s8c", "sam3s8", "pioc", "sam3s8100"] sam3s8c-rt = ["sam3s8c", "atsam3s8c/rt"] sam3sd8b = ["atsam3sd8b", "sam3s8", "sam3s864"] sam3sd8b-rt = ["sam3sd8b", "atsam3sd8b/rt"] sam3sd8c = ["atsam3sd8c", "sam3s8", "pioc", "sam3s8100"] sam3sd8c-rt = ["sam3sd8c", "atsam3sd8c/rt"] sam3u = ["device", "2fn"] sam3u1c = ["atsam3u1c", "sam3u", "sam3u100"] sam3u1c-rt = ["sam3u1c", "atsam3u1c/rt"] sam3u1e = ["atsam3u1e", "sam3u", "pioc", "sam3u144"] sam3u1e-rt = ["sam3u1e", "atsam3u1e/rt"] sam3u2c = ["atsam3u2c", "sam3u", "sam3u100"] sam3u2c-rt = ["sam3u2c", "atsam3u2c/rt"] sam3u2e = ["atsam3u2e", "sam3u", "pioc", "sam3u144"] sam3u2e-rt = ["sam3u2e", "atsam3u2e/rt"] sam3u4c = ["atsam3u4c", "sam3u", "sam3u100"] sam3u4c-rt = ["sam3u4c", "atsam3u4c/rt"] sam3u4e = ["atsam3u4e", "sam3u", "pioc", "sam3u144"] sam3u4e-rt = ["sam3u4e", "atsam3u4e/rt"] sam3x = ["device", "2fn"] sam3x4c = ["atsam3x4c", "sam3x", "sam3x100"] sam3x4c-rt = ["sam3x4c", "atsam3x4c/rt"] sam3x4e = ["atsam3x4e", "sam3x", "pioc", "piod", "sam3x144"] sam3x4e-rt = ["sam3x4e", "atsam3x4e/rt"] sam3x8c = ["atsam3x8c", "sam3x", "sam3x100"] sam3x8c-rt = ["sam3x8c", "atsam3x8c/rt"] sam3x8e = ["atsam3x8e", "sam3x", "pioc", "piod", "sam3x144"] sam3x8e-rt = ["sam3x8e", "atsam3x8e/rt"] # The ATSAM3X8H chip is not commercially available - it's only mounted on the SAM3X-EK evaluation # kit, but I'm still including it for the sake of completeness. sam3x8h = ["atsam3x8h", "sam3x", "pioc", "piod", "pioe", "piof", "sam3x217"] sam3x8h-rt = ["sam3x8h", "atsam3x8h/rt"] [dependencies.atsam3a4c] path = "../pac/atsam3a4c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3a8c] path = "../pac/atsam3a8c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n0a] path = "../pac/atsam3n0a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n0b] path = "../pac/atsam3n0b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n0c] path = "../pac/atsam3n0c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n00a] path = "../pac/atsam3n00a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n00b] path = "../pac/atsam3n00b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n1a] path = "../pac/atsam3n1a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n1b] path = "../pac/atsam3n1b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n1c] path = "../pac/atsam3n1c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n2a] path = "../pac/atsam3n2a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n2b] path = "../pac/atsam3n2b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n2c] path = "../pac/atsam3n2c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n4a] path = "../pac/atsam3n4a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n4b] path = "../pac/atsam3n4b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3n4c] path = "../pac/atsam3n4c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s1a] path = "../pac/atsam3s1a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s1b] path = "../pac/atsam3s1b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s1c] path = "../pac/atsam3s1c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s2a] path = "../pac/atsam3s2a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s2b] path = "../pac/atsam3s2b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s2c] path = "../pac/atsam3s2c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s4a] path = "../pac/atsam3s4a/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s4b] path = "../pac/atsam3s4b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s4c] path = "../pac/atsam3s4c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s8b] path = "../pac/atsam3s8b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3s8c] path = "../pac/atsam3s8c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3sd8b] path = "../pac/atsam3sd8b/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3sd8c] path = "../pac/atsam3sd8c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3u1c] path = "../pac/atsam3u1c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3u1e] path = "../pac/atsam3u1e/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3u2c] path = "../pac/atsam3u2c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3u2e] path = "../pac/atsam3u2e/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3u4c] path = "../pac/atsam3u4c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3u4e] path = "../pac/atsam3u4e/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3x4c] path = "../pac/atsam3x4c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3x4e] path = "../pac/atsam3x4e/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3x8c] path = "../pac/atsam3x8c/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3x8e] path = "../pac/atsam3x8e/" features = ["critical-section"] version = "0.1.0" optional = true [dependencies.atsam3x8h] path = "../pac/atsam3x8h/" features = ["critical-section"] version = "0.1.0" optional = true