Enum svd_generator::tree::Compatible
source · pub enum Compatible {
Show 21 variants
CdnsQspiNor,
DwApbI2c,
DwApbUart,
Jh7110AonCrg,
Jh7110AonPinctrl,
Jh7110AonSyscon,
Jh7110Pmu,
Jh7110StgCrg,
Jh7110StgSyscon,
Jh7110SysCrg,
Jh7110SysPinctrl,
Jh7110SysSyscon,
Jh7110Trng,
Pl022SspSpi,
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
Jh7110AonCrg
Starfive JH7110 AON CRG peripherals
Jh7110AonPinctrl
Starfive JH7110 AON Pinctrl peripherals
Jh7110AonSyscon
Starfive JH7110 AON Syscon 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
Jh7110Trng
Starfive JH7110 TRNG peripherals
Pl022SspSpi
ARM pl022 SSP SPI 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 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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.