# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ra4m1-pac"
version = "0.2.0"
authors = ["Tri Nguyen <trongtribk06@gmail.com>"]
build = "build.rs"
include = [
    "src/*",
    "Cargo.toml",
    "README.md",
    "build.rs",
    "device.x",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Peripheral Access Crate (PAC) for R7FAA4M1."
documentation = "https://docs.rs/crate/ra4m1-pac/latest"
readme = "README.md"
keywords = [
    "ra4m1",
    "ra",
    "arm",
    "cortex-m",
    "renesas",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nguyentri/ra-pac"

[package.metadata.docs.rs]
features = [
    "all",
    "rt",
]

[features]
acmplp = []
adc140 = []
agt0 = []
agt1 = ["agt0"]
all = [
    "system",
    "bus",
    "cac",
    "can0",
    "dbg",
    "crc",
    "ctsu",
    "dac12",
    "dac8",
    "dmac0",
    "dmac1",
    "dmac2",
    "dmac3",
    "dma",
    "doc",
    "dtc",
    "elc",
    "fcache",
    "port0",
    "port1",
    "port2",
    "port3",
    "port4",
    "port5",
    "port6",
    "port7",
    "port8",
    "port9",
    "pfs",
    "pmisc",
    "icu",
    "iic0",
    "iic1",
    "iwdt",
    "kint",
    "mstp",
    "mmpu",
    "smpu",
    "spmon",
    "opamp",
    "poeg",
    "sram",
    "rtc",
    "sci0",
    "sci1",
    "sci2",
    "sci9",
    "slcdc",
    "spi0",
    "spi1",
    "ssie0",
    "tsn",
    "usbfs",
    "wdt",
    "acmplp",
    "adc140",
    "agt0",
    "agt1",
    "gpt320",
    "gpt321",
    "gpt162",
    "gpt163",
    "gpt164",
    "gpt165",
    "gpt166",
    "gpt167",
    "gpt_ops",
]
bus = []
cac = []
can0 = []
crc = []
ctsu = []
dac12 = []
dac8 = []
dbg = []
dma = []
dmac0 = []
dmac1 = ["dmac0"]
dmac2 = ["dmac0"]
dmac3 = ["dmac0"]
doc = []
dtc = []
elc = []
fcache = []
gpt162 = []
gpt163 = ["gpt162"]
gpt164 = ["gpt162"]
gpt165 = ["gpt162"]
gpt166 = ["gpt162"]
gpt167 = ["gpt162"]
gpt320 = []
gpt321 = ["gpt320"]
gpt_ops = []
icu = []
iic0 = []
iic1 = []
iwdt = []
kint = []
mmpu = []
mstp = []
opamp = []
pfs = []
pmisc = []
poeg = []
port0 = []
port1 = []
port2 = ["port1"]
port3 = ["port1"]
port4 = ["port1"]
port5 = ["port0"]
port6 = ["port0"]
port7 = ["port0"]
port8 = ["port0"]
port9 = ["port0"]
rt = ["cortex-m-rt/device"]
rtc = []
sci0 = []
sci1 = ["sci0"]
sci2 = []
sci9 = ["sci2"]
slcdc = []
smpu = []
spi0 = []
spi1 = []
spmon = []
sram = []
ssie0 = []
system = []
tracing = ["dep:phf"]
tracing_dummy = []
tsn = []
usbfs = []
wdt = []

[lib]
name = "ra4m1_pac"
path = "src/lib.rs"
test = false
bench = false

[dependencies.cortex-m]
version = "0.7.6"

[dependencies.cortex-m-rt]
version = "0.7"
optional = true

[dependencies.phf]
version = "0.12.1"
features = ["macros"]
optional = true
