Struct sbp::messages::piksi::msg_device_monitor::MsgDeviceMonitor
source · [−]pub struct MsgDeviceMonitor {
pub sender_id: Option<u16>,
pub dev_vin: i16,
pub cpu_vint: i16,
pub cpu_vaux: i16,
pub cpu_temperature: i16,
pub fe_temperature: i16,
}
Expand description
Device temperature and voltage levels
This message contains temperature and voltage level measurements from the processor’s monitoring system and the RF frontend die temperature if available.
Fields
sender_id: Option<u16>
The message sender_id
dev_vin: i16
Device V_in
cpu_vint: i16
Processor V_int
cpu_vaux: i16
Processor V_aux
cpu_temperature: i16
Processor temperature
fe_temperature: i16
Frontend temperature (if available)
Trait Implementations
sourceimpl Clone for MsgDeviceMonitor
impl Clone for MsgDeviceMonitor
sourcefn clone(&self) -> MsgDeviceMonitor
fn clone(&self) -> MsgDeviceMonitor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ConcreteMessage for MsgDeviceMonitor
impl ConcreteMessage for MsgDeviceMonitor
sourceconst MESSAGE_TYPE: u16 = 181u16
const MESSAGE_TYPE: u16 = 181u16
The message type.
sourceconst MESSAGE_NAME: &'static str = "MSG_DEVICE_MONITOR"
const MESSAGE_NAME: &'static str = "MSG_DEVICE_MONITOR"
The message name.
sourceimpl Debug for MsgDeviceMonitor
impl Debug for MsgDeviceMonitor
sourceimpl From<MsgDeviceMonitor> for Sbp
impl From<MsgDeviceMonitor> for Sbp
sourcefn from(msg: MsgDeviceMonitor) -> Self
fn from(msg: MsgDeviceMonitor) -> Self
Converts to this type from the input type.
sourceimpl SbpMessage for MsgDeviceMonitor
impl SbpMessage for MsgDeviceMonitor
sourcefn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
sourcefn message_type(&self) -> u16
fn message_type(&self) -> u16
Get the message type.
sourcefn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgDeviceMonitor
impl Send for MsgDeviceMonitor
impl Sync for MsgDeviceMonitor
impl Unpin for MsgDeviceMonitor
impl UnwindSafe for MsgDeviceMonitor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more