#[cfg(feature = "port-cortex-m0")]
mod cortex_m0;
#[cfg(feature = "port-cortex-m0")]
pub use cortex_m0::*;
#[cfg(all(feature = "port-cortex-m3", not(feature = "port-cortex-m0")))]
mod cortex_m3;
#[cfg(all(feature = "port-cortex-m3", not(feature = "port-cortex-m0")))]
pub use cortex_m3::*;
#[cfg(all(
any(feature = "port-cortex-m4f", feature = "port-cortex-m7"),
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3")
))]
mod cortex_m4f;
#[cfg(all(
feature = "port-cortex-m4f",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3")
))]
pub use cortex_m4f::*;
#[cfg(all(
feature = "port-cortex-m7",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f")
))]
mod cortex_m7;
#[cfg(all(
feature = "port-cortex-m7",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f")
))]
pub use cortex_m7::*;
#[cfg(all(
feature = "port-riscv32",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7")
))]
mod riscv32;
#[cfg(all(
feature = "port-riscv32",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7")
))]
pub use riscv32::*;
#[cfg(all(
feature = "port-cortex-a9",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32")
))]
mod cortex_a9;
#[cfg(all(
feature = "port-cortex-a9",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32")
))]
pub use cortex_a9::*;
#[cfg(all(
feature = "port-cortex-a53",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32"),
not(feature = "port-cortex-a9")
))]
mod cortex_a53;
#[cfg(all(
feature = "port-cortex-a53",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32"),
not(feature = "port-cortex-a9")
))]
pub use cortex_a53::*;
#[cfg(all(
feature = "port-test",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32"),
not(feature = "port-cortex-a9"),
not(feature = "port-cortex-a53")
))]
mod test;
#[cfg(all(
feature = "port-test",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32"),
not(feature = "port-cortex-a9"),
not(feature = "port-cortex-a53")
))]
pub use test::*;
#[cfg(all(
feature = "port-dummy",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32"),
not(feature = "port-cortex-a9"),
not(feature = "port-cortex-a53"),
not(feature = "port-test")
))]
mod dummy;
#[cfg(all(
feature = "port-dummy",
not(feature = "port-cortex-m0"),
not(feature = "port-cortex-m3"),
not(feature = "port-cortex-m4f"),
not(feature = "port-cortex-m7"),
not(feature = "port-riscv32"),
not(feature = "port-cortex-a9"),
not(feature = "port-cortex-a53"),
not(feature = "port-test")
))]
pub use dummy::*;
use crate::types::*;
#[inline(always)]
pub const fn portBYTE_ALIGNMENT_MASK() -> usize {
portBYTE_ALIGNMENT - 1
}
#[inline(always)]
pub const fn portTICK_PERIOD_MS() -> TickType_t {
1000 / crate::config::configTICK_RATE_HZ
}
#[macro_export]
macro_rules! PRIVILEGED_FUNCTION {
() => {};
}