[−][src]Struct ublox::CfgPrtSpiBuilder
Port Configuration for SPI Port Struct that is used to construct packets, see the crate-level documentation for more information
Fields
portid: SpiPortId
reserved0: u8
tx_ready: u16
TX ready PIN configuration
mode: u32
SPI Mode Flags
reserved3: u32
in_proto_mask: InProtoMask
out_proto_mask: OutProtoMask
flags: u16
reserved5: u16
Implementations
impl CfgPrtSpiBuilder
[src]
pub const PACKET_LEN: usize
[src]
pub fn into_packet_bytes(self) -> [u8; 28]
[src]
Trait Implementations
impl Default for CfgPrtSpiBuilder
[src]
pub fn default() -> CfgPrtSpiBuilder
[src]
impl From<CfgPrtSpiBuilder> for [u8; 28]
[src]
pub fn from(x: CfgPrtSpiBuilder) -> Self
[src]
impl UbxPacketCreator for CfgPrtSpiBuilder
[src]
pub fn create_packet<T: MemWriter>(
self,
out: &mut T
) -> Result<(), MemWriterError<T::Error>>
[src]
self,
out: &mut T
) -> Result<(), MemWriterError<T::Error>>
Auto Trait Implementations
impl RefUnwindSafe for CfgPrtSpiBuilder
impl Send for CfgPrtSpiBuilder
impl Sync for CfgPrtSpiBuilder
impl Unpin for CfgPrtSpiBuilder
impl UnwindSafe for CfgPrtSpiBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,