Enum svd_generator::tree::Compatible
source · pub enum Compatible {
Show 32 variants
CdnsQspiNor,
DwApbI2c,
DwApbUart,
DwAxiDmac,
DwMac,
Jh7110AonCrg,
Jh7110AonPinctrl,
Jh7110AonSyscon,
Jh7110Crypto,
Jh7110IspCrg,
Jh7110IspSyscon,
Jh7110MipiTxDphy,
Jh7110Pmu,
Jh7110StgCrg,
Jh7110StgSyscon,
Jh7110SysCrg,
Jh7110SysPinctrl,
Jh7110SysSyscon,
Jh7110Tdm,
Jh7110Trng,
Jh7110VoutCrg,
Jh7110VoutSyscon,
Jh7110Wdt,
Pl022SspSpi,
Pl080Dmac,
RiscvClint,
RiscvPlic,
OcPwm,
OeOmc,
OeOphy,
Unknown(String),
None,
}Expand description
Represents the compatible property of a DeviceTree [Node].
Variants§
CdnsQspiNor
Cadence QSPI NOR peripherals
DwApbI2c
Synopsys DesignWare APB I2C peripherals
DwApbUart
Synopsys DesignWare APB UART peripherals
DwAxiDmac
Synopsys DesignWare AXI DMAC peripherals
DwMac
Synopsys DesignWare Ethernet MAC peripherals
Jh7110AonCrg
Starfive JH7110 AON CRG peripherals
Jh7110AonPinctrl
Starfive JH7110 AON Pinctrl peripherals
Jh7110AonSyscon
Starfive JH7110 AON Syscon peripherals
Jh7110Crypto
Starfive JH7110 Crypto peripherals
Jh7110IspCrg
Starfive JH7110 ISP CRG peripherals
Jh7110IspSyscon
Starfive JH7110 ISP SYSCON peripherals
Jh7110MipiTxDphy
Starfive JH7110 MIPI TX DPHY peripherals
Jh7110Pmu
Starfive JH7110 PMU peripherals
Jh7110StgCrg
Starfive JH7110 STG CRG peripherals
Jh7110StgSyscon
Starfive JH7110 STG Syscon peripherals
Jh7110SysCrg
Starfive JH7110 SYS CRG peripherals
Jh7110SysPinctrl
Starfive JH7110 SYS Pinctrl peripherals
Jh7110SysSyscon
Starfive JH7110 SYS Syscon peripherals
Jh7110Tdm
Starfive JH7110 TDM peripherals
Jh7110Trng
Starfive JH7110 TRNG peripherals
Jh7110VoutCrg
Starfive JH7110 VOUTCRG peripherals
Jh7110VoutSyscon
Starfive JH7110 VOUT Syscon peripherals
Jh7110Wdt
Starfive JH7110 WDT peripherals
Pl022SspSpi
ARM pl022 SSP SPI peripherals
Pl080Dmac
ARM PL080 DMAC peripherals
RiscvClint
RISC-V CLINT (Core-local Interrupt Controller)
RiscvPlic
RISC-V PLIC (Platform-level Interrupt Controller)
OcPwm
Opencores PTC PWM v1 (PWM/Timer/Counter)
OeOmc
OpenEdges Orbit Memory Controller
OeOphy
OpenEdges Orbit PHY
Unknown(String)
Unknown compatibility string
None
No compatible property
Implementations§
source§impl Compatible
impl Compatible
sourcepub const fn is_known(&self) -> bool
pub const fn is_known(&self) -> bool
Gets whether this is a known Compatible peripheral.
Trait Implementations§
source§impl Clone for Compatible
impl Clone for Compatible
source§fn clone(&self) -> Compatible
fn clone(&self) -> Compatible
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Compatible
impl Debug for Compatible
source§impl From<&Node> for Compatible
impl From<&Node> for Compatible
source§impl From<&str> for Compatible
impl From<&str> for Compatible
source§impl From<Node> for Compatible
impl From<Node> for Compatible
source§impl PartialEq for Compatible
impl PartialEq for Compatible
source§fn eq(&self, other: &Compatible) -> bool
fn eq(&self, other: &Compatible) -> bool
self and other values to be equal, and is used
by ==.impl Eq for Compatible
impl StructuralPartialEq for Compatible
Auto Trait Implementations§
impl Freeze for Compatible
impl RefUnwindSafe for Compatible
impl Send for Compatible
impl Sync for Compatible
impl Unpin for Compatible
impl UnwindSafe for Compatible
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.