#[repr(transparent)]pub struct NModir(pub u32);Expand description
MODEM IrDA with three-bit receive RTS threshold.
Tuple Fields§
§0: u32Implementations§
Source§impl NModir
impl NModir
Sourcepub const fn set_txctse(&mut self, val: bool)
pub const fn set_txctse(&mut self, val: bool)
Transmitter CTS Enable.
Sourcepub const fn set_txrtse(&mut self, val: bool)
pub const fn set_txrtse(&mut self, val: bool)
Transmitter RTS Enable.
Sourcepub const fn txrtspol(&self) -> bool
pub const fn txrtspol(&self) -> bool
Transmitter RTS Polarity. Raw bit values: false (0) = Low: Active low.; true (1) = High: Active high.
Sourcepub const fn set_txrtspol(&mut self, val: bool)
pub const fn set_txrtspol(&mut self, val: bool)
Transmitter RTS Polarity. Raw bit values: false (0) = Low: Active low.; true (1) = High: Active high.
Sourcepub const fn set_rxrtse(&mut self, val: bool)
pub const fn set_rxrtse(&mut self, val: bool)
Receiver RTS Enable.
Sourcepub const fn txctsc(&self) -> bool
pub const fn txctsc(&self) -> bool
Transmit CTS Configuration. Raw bit values: false (0) = Start: Sampled at the start of each character.; true (1) = Idle: Sampled when the transmitter is idle.
Sourcepub const fn set_txctsc(&mut self, val: bool)
pub const fn set_txctsc(&mut self, val: bool)
Transmit CTS Configuration. Raw bit values: false (0) = Start: Sampled at the start of each character.; true (1) = Idle: Sampled when the transmitter is idle.
Sourcepub const fn txctssrc(&self) -> bool
pub const fn txctssrc(&self) -> bool
Transmit CTS Source. Raw bit values: false (0) = Cts: The CTS_B pin.; true (1) = Match: An internal connection to the receiver address match result.
Sourcepub const fn set_txctssrc(&mut self, val: bool)
pub const fn set_txctssrc(&mut self, val: bool)
Transmit CTS Source. Raw bit values: false (0) = Cts: The CTS_B pin.; true (1) = Match: An internal connection to the receiver address match result.
Sourcepub const fn rtswater(&self) -> u8
pub const fn rtswater(&self) -> u8
Receive RTS Configuration. Change only with receiver disabled.
Sourcepub const fn set_rtswater(&mut self, val: u8)
pub const fn set_rtswater(&mut self, val: u8)
Receive RTS Configuration. Change only with receiver disabled.
Sourcepub const fn tnp(&self) -> Tnp
pub const fn tnp(&self) -> Tnp
Transmitter Narrow Pulse. Change only with transmitter and receiver disabled.
Sourcepub const fn set_tnp(&mut self, val: Tnp)
pub const fn set_tnp(&mut self, val: Tnp)
Transmitter Narrow Pulse. Change only with transmitter and receiver disabled.