# 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 = "ra6m2-pac"
version = "0.3.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 R7FAA6M2."
documentation = "https://docs.rs/crate/ra6m2-pac/latest"
readme = "README.md"
keywords = [
    "ra6m2",
    "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]
acmphs0 = []
acmphs1 = []
acmphs2 = ["acmphs1"]
acmphs3 = ["acmphs1"]
acmphs4 = ["acmphs1"]
acmphs5 = ["acmphs1"]
adc120 = []
adc121 = []
agt0 = []
agt1 = ["agt0"]
all = [
    "port0",
    "port1",
    "port2",
    "port3",
    "port4",
    "port5",
    "port6",
    "port7",
    "port8",
    "port9",
    "porta",
    "portb",
    "pfs",
    "pmisc",
    "spi0",
    "spi1",
    "gpt_ops",
    "gpt32eh0",
    "gpt32eh1",
    "gpt32eh2",
    "gpt32eh3",
    "gpt32e4",
    "gpt32e5",
    "gpt32e6",
    "gpt32e7",
    "usbhs",
    "sci0",
    "sci1",
    "sci2",
    "sci3",
    "sci4",
    "sci5",
    "sci6",
    "sci7",
    "sci8",
    "sci9",
    "iic0",
    "iic1",
    "iic2",
    "system",
    "edmac0",
    "etherc0",
    "sdhi0",
    "sdhi1",
    "crc",
    "ctsu",
    "mmpu",
    "smpu",
    "spmon",
    "adc120",
    "adc121",
    "mstp",
    "gpt328",
    "gpt329",
    "gpt3210",
    "gpt3211",
    "gpt3212",
    "gpt3213",
    "rtc",
    "ssie0",
    "ssie1",
    "usbfs",
    "srcram",
    "src",
    "icu",
    "sram",
    "gpt_odc",
    "agt0",
    "agt1",
    "fcache",
    "bus",
    "dac12",
    "ami",
    "poeg",
    "irda",
    "can0",
    "can1",
    "pdc",
    "qspi",
    "mmf",
    "dmac0",
    "dmac1",
    "dmac2",
    "dmac3",
    "dmac4",
    "dmac5",
    "dmac6",
    "dmac7",
    "dma",
    "dtc",
    "dbg",
    "tsn",
    "acmphs0",
    "acmphs1",
    "acmphs2",
    "acmphs3",
    "acmphs4",
    "acmphs5",
    "elc",
    "wdt",
    "iwdt",
    "kint",
    "doc",
    "cac",
]
ami = []
bus = []
cac = []
can0 = []
can1 = ["can0"]
crc = []
ctsu = []
dac12 = []
dbg = []
dma = []
dmac0 = []
dmac1 = ["dmac0"]
dmac2 = ["dmac0"]
dmac3 = ["dmac0"]
dmac4 = ["dmac0"]
dmac5 = ["dmac0"]
dmac6 = ["dmac0"]
dmac7 = ["dmac0"]
doc = []
dtc = []
edmac0 = []
elc = []
etherc0 = []
fcache = []
gpt3210 = ["gpt328"]
gpt3211 = ["gpt328"]
gpt3212 = ["gpt328"]
gpt3213 = ["gpt328"]
gpt328 = []
gpt329 = ["gpt328"]
gpt32e4 = ["gpt32eh0"]
gpt32e5 = ["gpt32eh0"]
gpt32e6 = ["gpt32eh0"]
gpt32e7 = ["gpt32eh0"]
gpt32eh0 = []
gpt32eh1 = ["gpt32eh0"]
gpt32eh2 = ["gpt32eh0"]
gpt32eh3 = ["gpt32eh0"]
gpt_odc = []
gpt_ops = []
icu = []
iic0 = []
iic1 = []
iic2 = ["iic1"]
irda = []
iwdt = []
kint = []
mmf = []
mmpu = []
mstp = []
pdc = []
pfs = []
pmisc = []
poeg = []
port0 = []
port1 = []
port2 = ["port1"]
port3 = ["port1"]
port4 = ["port1"]
port5 = ["port0"]
port6 = ["port0"]
port7 = ["port0"]
port8 = ["port0"]
port9 = ["port0"]
porta = ["port0"]
portb = ["port0"]
qspi = []
rt = ["cortex-m-rt/device"]
rtc = []
sci0 = []
sci1 = ["sci0"]
sci2 = ["sci0"]
sci3 = ["sci0"]
sci4 = ["sci0"]
sci5 = ["sci0"]
sci6 = ["sci0"]
sci7 = ["sci0"]
sci8 = ["sci0"]
sci9 = ["sci0"]
sdhi0 = []
sdhi1 = ["sdhi0"]
smpu = []
spi0 = []
spi1 = ["spi0"]
spmon = []
sram = []
src = []
srcram = []
ssie0 = []
ssie1 = ["ssie0"]
system = []
tracing = ["dep:phf"]
tracing_dummy = []
tsn = []
usbfs = []
usbhs = []
wdt = []

[lib]
name = "ra6m2_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.11"
features = ["macros"]
optional = true
