#[repr(transparent)]pub struct MacLpiControlStatus(pub u32);Expand description
LPI Control and Status.
Tuple Fields§
§0: u32Implementations§
Source§impl MacLpiControlStatus
impl MacLpiControlStatus
Sourcepub const fn tlpien(&self) -> bool
pub const fn tlpien(&self) -> bool
Transmit LPI Entry. Raw bit values: false (0) = Inactive: Transmit LPI entry not detected.; true (1) = Active: Transmit LPI entry detected.
Sourcepub const fn set_tlpien(&mut self, val: bool)
pub const fn set_tlpien(&mut self, val: bool)
Transmit LPI Entry. Raw bit values: false (0) = Inactive: Transmit LPI entry not detected.; true (1) = Active: Transmit LPI entry detected.
Sourcepub const fn tlpiex(&self) -> bool
pub const fn tlpiex(&self) -> bool
Transmit LPI Exit. Raw bit values: false (0) = Inactive: Transmit LPI exit not detected.; true (1) = Active: Transmit LPI exit detected.
Sourcepub const fn set_tlpiex(&mut self, val: bool)
pub const fn set_tlpiex(&mut self, val: bool)
Transmit LPI Exit. Raw bit values: false (0) = Inactive: Transmit LPI exit not detected.; true (1) = Active: Transmit LPI exit detected.
Sourcepub const fn rlpien(&self) -> bool
pub const fn rlpien(&self) -> bool
Receive LPI Entry. Raw bit values: false (0) = Inactive: Receive LPI entry not detected.; true (1) = Active: Receive LPI entry detected.
Sourcepub const fn set_rlpien(&mut self, val: bool)
pub const fn set_rlpien(&mut self, val: bool)
Receive LPI Entry. Raw bit values: false (0) = Inactive: Receive LPI entry not detected.; true (1) = Active: Receive LPI entry detected.
Sourcepub const fn rlpiex(&self) -> bool
pub const fn rlpiex(&self) -> bool
Receive LPI Exit. Raw bit values: false (0) = Inactive: Receive LPI exit not detected.; true (1) = Active: Receive LPI exit detected.
Sourcepub const fn set_rlpiex(&mut self, val: bool)
pub const fn set_rlpiex(&mut self, val: bool)
Receive LPI Exit. Raw bit values: false (0) = Inactive: Receive LPI exit not detected.; true (1) = Active: Receive LPI exit detected.
Sourcepub const fn tlpist(&self) -> bool
pub const fn tlpist(&self) -> bool
Transmit LPI State. Raw bit values: false (0) = Inactive: Transmit LPI state not detected.; true (1) = Active: Transmit LPI state detected.
Sourcepub const fn set_tlpist(&mut self, val: bool)
pub const fn set_tlpist(&mut self, val: bool)
Transmit LPI State. Raw bit values: false (0) = Inactive: Transmit LPI state not detected.; true (1) = Active: Transmit LPI state detected.
Sourcepub const fn rlpist(&self) -> bool
pub const fn rlpist(&self) -> bool
Receive LPI State. Raw bit values: false (0) = Inactive: Receive LPI state not detected.; true (1) = Active: Receive LPI state detected.
Sourcepub const fn set_rlpist(&mut self, val: bool)
pub const fn set_rlpist(&mut self, val: bool)
Receive LPI State. Raw bit values: false (0) = Inactive: Receive LPI state not detected.; true (1) = Active: Receive LPI state detected.
Sourcepub const fn lpien(&self) -> bool
pub const fn lpien(&self) -> bool
LPI Enable. Raw bit values: false (0) = Disable: LPI state is disabled.; true (1) = Enable: LPI state is enabled.
Sourcepub const fn set_lpien(&mut self, val: bool)
pub const fn set_lpien(&mut self, val: bool)
LPI Enable. Raw bit values: false (0) = Disable: LPI state is disabled.; true (1) = Enable: LPI state is enabled.
Sourcepub const fn pls(&self) -> bool
pub const fn pls(&self) -> bool
PHY Link Status. Raw bit values: false (0) = Disable: link is down.; true (1) = Enable: link is okay (UP).
Sourcepub const fn set_pls(&mut self, val: bool)
pub const fn set_pls(&mut self, val: bool)
PHY Link Status. Raw bit values: false (0) = Disable: link is down.; true (1) = Enable: link is okay (UP).
Sourcepub const fn lpitxa(&self) -> bool
pub const fn lpitxa(&self) -> bool
LPI Tx Automate. Raw bit values: false (0) = Disable: LPI Tx Automate is disabled.; true (1) = Enable: LPI Tx Automate is enabled.
Sourcepub const fn set_lpitxa(&mut self, val: bool)
pub const fn set_lpitxa(&mut self, val: bool)
LPI Tx Automate. Raw bit values: false (0) = Disable: LPI Tx Automate is disabled.; true (1) = Enable: LPI Tx Automate is enabled.
Sourcepub const fn lpiate(&self) -> bool
pub const fn lpiate(&self) -> bool
LPI Timer Enable. Raw bit values: false (0) = Disable: LPI Timer is disabled.; true (1) = Enable: LPI Timer is enabled.
Sourcepub const fn set_lpiate(&mut self, val: bool)
pub const fn set_lpiate(&mut self, val: bool)
LPI Timer Enable. Raw bit values: false (0) = Disable: LPI Timer is disabled.; true (1) = Enable: LPI Timer is enabled.
Sourcepub const fn lpitcse(&self) -> bool
pub const fn lpitcse(&self) -> bool
LPI Tx Clock Stop Enable. Raw bit values: false (0) = Disable: LPI Tx Clock Stop is disabled.; true (1) = Enable: LPI Tx Clock Stop is enabled.
Sourcepub const fn set_lpitcse(&mut self, val: bool)
pub const fn set_lpitcse(&mut self, val: bool)
LPI Tx Clock Stop Enable. Raw bit values: false (0) = Disable: LPI Tx Clock Stop is disabled.; true (1) = Enable: LPI Tx Clock Stop is enabled.
Trait Implementations§
Source§impl Clone for MacLpiControlStatus
impl Clone for MacLpiControlStatus
Source§fn clone(&self) -> MacLpiControlStatus
fn clone(&self) -> MacLpiControlStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more