Enum bluerobotics_ping::bluebps::Messages
source · pub enum Messages {
-Show 20 variants
ResetDefaults(ResetDefaultsStruct),
+Messages in bluerobotics_ping::bluebps - Rust Enum bluerobotics_ping::bluebps::Messages
source · pub enum Messages {
+Show 20 variants
TemperatureMax(TemperatureMaxStruct),
+ SetCellVoltageMinimum(SetCellVoltageMinimumStruct),
CellVoltageMin(CellVoltageMinStruct),
+ SetCurrentTimeout(SetCurrentTimeoutStruct),
+ Reboot(RebootStruct),
+ CellTimeout(CellTimeoutStruct),
SetCellVoltageTimeout(SetCellVoltageTimeoutStruct),
- SetLpfSampleFrequency(SetLpfSampleFrequencyStruct),
- SetCurrentMax(SetCurrentMaxStruct),
- SetCellVoltageMinimum(SetCellVoltageMinimumStruct),
- EraseFlash(EraseFlashStruct),
+ Events(EventsStruct),
+ SetStreamRate(SetStreamRateStruct),
+ CurrentMax(CurrentMaxStruct),
SetTemperatureMax(SetTemperatureMaxStruct),
TemperatureTimeout(TemperatureTimeoutStruct),
- SetTemperatureTimeout(SetTemperatureTimeoutStruct),
- CellTimeout(CellTimeoutStruct),
- Reboot(RebootStruct),
- CurrentMax(CurrentMaxStruct),
- State(StateStruct),
CurrentTimeout(CurrentTimeoutStruct),
- SetCurrentTimeout(SetCurrentTimeoutStruct),
+ ResetDefaults(ResetDefaultsStruct),
+ State(StateStruct),
+ SetTemperatureTimeout(SetTemperatureTimeoutStruct),
+ SetCurrentMax(SetCurrentMaxStruct),
SetLpfSetting(SetLpfSettingStruct),
- TemperatureMax(TemperatureMaxStruct),
- Events(EventsStruct),
- SetStreamRate(SetStreamRateStruct),
-}
Variants§
§ResetDefaults(ResetDefaultsStruct)
§CellVoltageMin(CellVoltageMinStruct)
§SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)
§SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)
§SetCurrentMax(SetCurrentMaxStruct)
§SetCellVoltageMinimum(SetCellVoltageMinimumStruct)
§EraseFlash(EraseFlashStruct)
§SetTemperatureMax(SetTemperatureMaxStruct)
§TemperatureTimeout(TemperatureTimeoutStruct)
§SetTemperatureTimeout(SetTemperatureTimeoutStruct)
§CellTimeout(CellTimeoutStruct)
§Reboot(RebootStruct)
§CurrentMax(CurrentMaxStruct)
§State(StateStruct)
§CurrentTimeout(CurrentTimeoutStruct)
§SetCurrentTimeout(SetCurrentTimeoutStruct)
§SetLpfSetting(SetLpfSettingStruct)
§TemperatureMax(TemperatureMaxStruct)
§Events(EventsStruct)
§SetStreamRate(SetStreamRateStruct)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Messages
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializeGenericMessage for Messages
source§impl PartialEq for Messages
source§fn eq(&self, other: &Messages) -> bool
This method tests for self
and other
values to be equal, and is used
+ SetLpfSampleFrequency(SetLpfSampleFrequencyStruct),
+ EraseFlash(EraseFlashStruct),
+}Variants§
§TemperatureMax(TemperatureMaxStruct)
§SetCellVoltageMinimum(SetCellVoltageMinimumStruct)
§CellVoltageMin(CellVoltageMinStruct)
§SetCurrentTimeout(SetCurrentTimeoutStruct)
§Reboot(RebootStruct)
§CellTimeout(CellTimeoutStruct)
§SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)
§Events(EventsStruct)
§SetStreamRate(SetStreamRateStruct)
§CurrentMax(CurrentMaxStruct)
§SetTemperatureMax(SetTemperatureMaxStruct)
§TemperatureTimeout(TemperatureTimeoutStruct)
§CurrentTimeout(CurrentTimeoutStruct)
§ResetDefaults(ResetDefaultsStruct)
§State(StateStruct)
§SetTemperatureTimeout(SetTemperatureTimeoutStruct)
§SetCurrentMax(SetCurrentMaxStruct)
§SetLpfSetting(SetLpfSettingStruct)
§SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)
§EraseFlash(EraseFlashStruct)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Messages
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializeGenericMessage for Messages
source§impl PartialEq for Messages
source§impl PingMessage for Messages
source§fn message_name(&self) -> &'static str
source§fn message_id(&self) -> u16
source§fn message_id_from_name(name: &str) -> Result<u16, String>
source§impl StructuralPartialEq for Messages
Auto Trait Implementations§
§impl Freeze for Messages
§impl RefUnwindSafe for Messages
§impl Send for Messages
§impl Sync for Messages
§impl Unpin for Messages
§impl UnwindSafe for Messages
Blanket Implementations§
source§impl PingMessage for Messages
source§fn message_name(&self) -> &'static str
source§fn message_id(&self) -> u16
source§fn message_id_from_name(name: &str) -> Result<u16, String>
source§impl StructuralPartialEq for Messages
Auto Trait Implementations§
§impl Freeze for Messages
§impl RefUnwindSafe for Messages
§impl Send for Messages
§impl Sync for Messages
§impl Unpin for Messages
§impl UnwindSafe for Messages
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/index.html b/bluerobotics_ping/bluebps/index.html
index f99365651..4969dafa6 100644
--- a/bluerobotics_ping/bluebps/index.html
+++ b/bluerobotics_ping/bluebps/index.html
@@ -1 +1 @@
-bluerobotics_ping::bluebps - Rust Module bluerobotics_ping::bluebps
source · Structs§
- Get the undervoltage timeout
- Get the minimum allowed cell voltage
- get the maximum allowed battery current
- Get the over-current timeout
- Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!
- A record of events causing a power lock-out. These numbers are non-volatile and reset only with the erase_flash control message.
- reboot the system
- Reset parameter configuration to default values.
- Set the minimum allowed cell voltage
- Set the under-voltage timeout
- Set the maximum allowed battery current
- Set the over-current timeout
- the frequency to take adc samples and run the filter.
- Low pass filter setting. This value represents x in the equation
value = value * x + sample * (1-x)
. 0.0 = no filtering, 0.99 = heavy filtering. - Set the frequency to automatically output state messages.
- Set the maximum allowed battery temperature
- Set the over-temperature timeout
- Get the current state of the device
- Get the maximum allowed battery temperature
- Get the over-temperature timeout
Enums§
\ No newline at end of file
+bluerobotics_ping::bluebps - Rust Module bluerobotics_ping::bluebps
source · Structs§
- Get the undervoltage timeout
- Get the minimum allowed cell voltage
- get the maximum allowed battery current
- Get the over-current timeout
- Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!
- A record of events causing a power lock-out. These numbers are non-volatile and reset only with the erase_flash control message.
- reboot the system
- Reset parameter configuration to default values.
- Set the minimum allowed cell voltage
- Set the under-voltage timeout
- Set the maximum allowed battery current
- Set the over-current timeout
- the frequency to take adc samples and run the filter.
- Low pass filter setting. This value represents x in the equation
value = value * x + sample * (1-x)
. 0.0 = no filtering, 0.99 = heavy filtering. - Set the frequency to automatically output state messages.
- Set the maximum allowed battery temperature
- Set the over-temperature timeout
- Get the current state of the device
- Get the maximum allowed battery temperature
- Get the over-temperature timeout
Enums§
\ No newline at end of file
diff --git a/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
index c44c82b78..d5abce79d 100644
--- a/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
@@ -1,12 +1,12 @@
-CellTimeoutStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CellTimeoutStruct
source · pub struct CellTimeoutStruct {
+CellTimeoutStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CellTimeoutStruct
source · pub struct CellTimeoutStruct {
pub timeout: u16,
}
Expand description
Get the undervoltage timeout
Fields§
§timeout: u16
If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
-Trait Implementations§
source§impl Clone for CellTimeoutStruct
source§fn clone(&self) -> CellTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CellTimeoutStruct
source§impl Default for CellTimeoutStruct
source§fn default() -> CellTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CellTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CellTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CellTimeoutStruct
source§impl PartialEq for CellTimeoutStruct
source§fn eq(&self, other: &CellTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CellTimeoutStruct
source§fn clone(&self) -> CellTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CellTimeoutStruct
source§impl Default for CellTimeoutStruct
source§fn default() -> CellTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CellTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CellTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CellTimeoutStruct
source§impl PartialEq for CellTimeoutStruct
source§fn eq(&self, other: &CellTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CellTimeoutStruct
source§impl SerializePayload for CellTimeoutStruct
source§impl StructuralPartialEq for CellTimeoutStruct
Auto Trait Implementations§
§impl Freeze for CellTimeoutStruct
§impl RefUnwindSafe for CellTimeoutStruct
§impl Send for CellTimeoutStruct
§impl Sync for CellTimeoutStruct
§impl Unpin for CellTimeoutStruct
§impl UnwindSafe for CellTimeoutStruct
Blanket Implementations§
source§impl Serialize for CellTimeoutStruct
source§impl SerializePayload for CellTimeoutStruct
source§impl StructuralPartialEq for CellTimeoutStruct
Auto Trait Implementations§
§impl Freeze for CellTimeoutStruct
§impl RefUnwindSafe for CellTimeoutStruct
§impl Send for CellTimeoutStruct
§impl Sync for CellTimeoutStruct
§impl Unpin for CellTimeoutStruct
§impl UnwindSafe for CellTimeoutStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
index d13442aec..47aa72ae9 100644
--- a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
@@ -1,12 +1,12 @@
-CellVoltageMinStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CellVoltageMinStruct
source · pub struct CellVoltageMinStruct {
+CellVoltageMinStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CellVoltageMinStruct
source · pub struct CellVoltageMinStruct {
pub limit: u16,
}
Expand description
Get the minimum allowed cell voltage
Fields§
§limit: u16
The minimum voltage allowed for any individual cell. 0~5000: 0~5V
-Trait Implementations§
source§impl Clone for CellVoltageMinStruct
source§fn clone(&self) -> CellVoltageMinStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CellVoltageMinStruct
source§impl Default for CellVoltageMinStruct
source§fn default() -> CellVoltageMinStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CellVoltageMinStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CellVoltageMinStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CellVoltageMinStruct
source§impl PartialEq for CellVoltageMinStruct
source§fn eq(&self, other: &CellVoltageMinStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CellVoltageMinStruct
source§fn clone(&self) -> CellVoltageMinStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CellVoltageMinStruct
source§impl Default for CellVoltageMinStruct
source§fn default() -> CellVoltageMinStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CellVoltageMinStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CellVoltageMinStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CellVoltageMinStruct
source§impl PartialEq for CellVoltageMinStruct
source§fn eq(&self, other: &CellVoltageMinStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CellVoltageMinStruct
source§impl StructuralPartialEq for CellVoltageMinStruct
Auto Trait Implementations§
§impl Freeze for CellVoltageMinStruct
§impl RefUnwindSafe for CellVoltageMinStruct
§impl Send for CellVoltageMinStruct
§impl Sync for CellVoltageMinStruct
§impl Unpin for CellVoltageMinStruct
§impl UnwindSafe for CellVoltageMinStruct
Blanket Implementations§
source§impl Serialize for CellVoltageMinStruct
source§impl StructuralPartialEq for CellVoltageMinStruct
Auto Trait Implementations§
§impl Freeze for CellVoltageMinStruct
§impl RefUnwindSafe for CellVoltageMinStruct
§impl Send for CellVoltageMinStruct
§impl Sync for CellVoltageMinStruct
§impl Unpin for CellVoltageMinStruct
§impl UnwindSafe for CellVoltageMinStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
index 7a400dad4..733acb710 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
@@ -1,12 +1,12 @@
-CurrentMaxStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CurrentMaxStruct
source · pub struct CurrentMaxStruct {
+CurrentMaxStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CurrentMaxStruct
source · pub struct CurrentMaxStruct {
pub limit: u16,
}
Expand description
get the maximum allowed battery current
Fields§
§limit: u16
The maximum allowed battery current 0~20000 = 0~200A
-Trait Implementations§
source§impl Clone for CurrentMaxStruct
source§fn clone(&self) -> CurrentMaxStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CurrentMaxStruct
source§impl Default for CurrentMaxStruct
source§fn default() -> CurrentMaxStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CurrentMaxStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CurrentMaxStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CurrentMaxStruct
source§impl PartialEq for CurrentMaxStruct
source§fn eq(&self, other: &CurrentMaxStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CurrentMaxStruct
source§fn clone(&self) -> CurrentMaxStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CurrentMaxStruct
source§impl Default for CurrentMaxStruct
source§fn default() -> CurrentMaxStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CurrentMaxStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CurrentMaxStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CurrentMaxStruct
source§impl PartialEq for CurrentMaxStruct
source§fn eq(&self, other: &CurrentMaxStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CurrentMaxStruct
source§impl SerializePayload for CurrentMaxStruct
source§impl StructuralPartialEq for CurrentMaxStruct
Auto Trait Implementations§
§impl Freeze for CurrentMaxStruct
§impl RefUnwindSafe for CurrentMaxStruct
§impl Send for CurrentMaxStruct
§impl Sync for CurrentMaxStruct
§impl Unpin for CurrentMaxStruct
§impl UnwindSafe for CurrentMaxStruct
Blanket Implementations§
source§impl Serialize for CurrentMaxStruct
source§impl SerializePayload for CurrentMaxStruct
source§impl StructuralPartialEq for CurrentMaxStruct
Auto Trait Implementations§
§impl Freeze for CurrentMaxStruct
§impl RefUnwindSafe for CurrentMaxStruct
§impl Send for CurrentMaxStruct
§impl Sync for CurrentMaxStruct
§impl Unpin for CurrentMaxStruct
§impl UnwindSafe for CurrentMaxStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
index f053b0d49..24049b182 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
@@ -1,12 +1,12 @@
-CurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CurrentTimeoutStruct
source · pub struct CurrentTimeoutStruct {
+CurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::CurrentTimeoutStruct
source · pub struct CurrentTimeoutStruct {
pub timeout: u16,
}
Expand description
Get the over-current timeout
Fields§
§timeout: u16
If the battery current exceeds the configured limit for this duration of time, the power will be locked-out
-Trait Implementations§
source§impl Clone for CurrentTimeoutStruct
source§fn clone(&self) -> CurrentTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CurrentTimeoutStruct
source§impl Default for CurrentTimeoutStruct
source§fn default() -> CurrentTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CurrentTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CurrentTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CurrentTimeoutStruct
source§impl PartialEq for CurrentTimeoutStruct
source§fn eq(&self, other: &CurrentTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for CurrentTimeoutStruct
source§fn clone(&self) -> CurrentTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CurrentTimeoutStruct
source§impl Default for CurrentTimeoutStruct
source§fn default() -> CurrentTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for CurrentTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for CurrentTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for CurrentTimeoutStruct
source§impl PartialEq for CurrentTimeoutStruct
source§fn eq(&self, other: &CurrentTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CurrentTimeoutStruct
source§impl StructuralPartialEq for CurrentTimeoutStruct
Auto Trait Implementations§
§impl Freeze for CurrentTimeoutStruct
§impl RefUnwindSafe for CurrentTimeoutStruct
§impl Send for CurrentTimeoutStruct
§impl Sync for CurrentTimeoutStruct
§impl Unpin for CurrentTimeoutStruct
§impl UnwindSafe for CurrentTimeoutStruct
Blanket Implementations§
source§impl Serialize for CurrentTimeoutStruct
source§impl StructuralPartialEq for CurrentTimeoutStruct
Auto Trait Implementations§
§impl Freeze for CurrentTimeoutStruct
§impl RefUnwindSafe for CurrentTimeoutStruct
§impl Send for CurrentTimeoutStruct
§impl Sync for CurrentTimeoutStruct
§impl Unpin for CurrentTimeoutStruct
§impl UnwindSafe for CurrentTimeoutStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.Device.html b/bluerobotics_ping/bluebps/struct.Device.html
index 8859422e5..2b8e54f4f 100644
--- a/bluerobotics_ping/bluebps/struct.Device.html
+++ b/bluerobotics_ping/bluebps/struct.Device.html
@@ -1,47 +1,54 @@
-Device in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::Device
source · pub struct Device {
+Device in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::Device
source · pub struct Device {
pub common: Common,
-}
Fields§
§common: Common
Implementations§
source§impl Device
sourcepub fn new<T>(io: T) -> Self
sourcepub async fn reset_defaults(&self) -> Result<(), PingError>
Reset parameter configuration to default values.
-§Arguments
sourcepub async fn cell_voltage_min(&self) -> Result<CellVoltageMinStruct, PingError>
Get the minimum allowed cell voltage
-sourcepub async fn set_cell_voltage_timeout(
+}Fields§
§common: Common
Implementations§
source§impl Device
sourcepub fn new<T>(io: T) -> Self
sourcepub async fn temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
+sourcepub async fn set_cell_voltage_minimum(
&self,
- timeout: u16,
-) -> Result<(), PingError>
Set the under-voltage timeout
+ limit: u16,
+) -> Result<(), PingError>Set the minimum allowed cell voltage
+§Arguments
+
+limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
+
+sourcepub async fn cell_voltage_min(&self) -> Result<CellVoltageMinStruct, PingError>
Get the minimum allowed cell voltage
+sourcepub async fn set_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
§Arguments
-timeout
[millisecond] - If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
+timeout
[millisecond] - If the battery current exceeds the configured limit for this duration of time, the power will be locked-out
-sourcepub async fn set_lpf_sample_frequency(
- &self,
- sample_frequency: u32,
-) -> Result<(), PingError>
the frequency to take adc samples and run the filter.
+sourcepub async fn reboot(&self, goto_bootloader: u8) -> Result<(), PingError>
reboot the system
§Arguments
-sample_frequency
- sample frequency in Hz. 1~100000
+goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
-sourcepub async fn set_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
+sourcepub async fn cell_timeout(&self) -> Result<CellTimeoutStruct, PingError>
Get the undervoltage timeout
+sourcepub async fn set_cell_voltage_timeout(
+ &self,
+ timeout: u16,
+) -> Result<(), PingError>
Set the under-voltage timeout
§Arguments
-limit
[centiampere] - The maximum allowed battery current 0~20000 = 0~200A
+timeout
[millisecond] - If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
-sourcepub async fn set_cell_voltage_minimum(
- &self,
- limit: u16,
-) -> Result<(), PingError>
Set the minimum allowed cell voltage
+sourcepub async fn events(&self) -> Result<EventsStruct, PingError>
A record of events causing a power lock-out. These numbers are non-volatile and reset only with the erase_flash control message.
+sourcepub async fn set_stream_rate(&self, rate: u32) -> Result<(), PingError>
Set the frequency to automatically output state messages.
§Arguments
-limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
+rate
[Hz] - Rate to stream state
messages. 0~100000Hz
-sourcepub async fn erase_flash(&self) -> Result<(), PingError>
Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!
-§Arguments
sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery temperature
-§Arguments
+sourcepub async fn current_max(&self) -> Result<CurrentMaxStruct, PingError>
get the maximum allowed battery current
+sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery temperature
+§Arguments
limit
[centidegrees Centigrade] - The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
-sourcepub async fn temperature_timeout(
+
sourcepub async fn temperature_timeout(
&self,
) -> Result<TemperatureTimeoutStruct, PingError>
Get the over-temperature timeout
-sourcepub async fn set_temperature_timeout(
+
sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
+sourcepub async fn reset_defaults(&self) -> Result<(), PingError>
Reset parameter configuration to default values.
+§Arguments
sourcepub async fn state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
+sourcepub async fn set_temperature_timeout(
&self,
timeout: u16,
) -> Result<(), PingError>
Set the over-temperature timeout
@@ -49,33 +56,26 @@ §Arguments
timeout
[millisecond] - If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out
-
sourcepub async fn cell_timeout(&self) -> Result<CellTimeoutStruct, PingError>
Get the undervoltage timeout
-sourcepub async fn set_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
§Arguments
-goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
+limit
[centiampere] - The maximum allowed battery current 0~20000 = 0~200A
-sourcepub async fn current_max(&self) -> Result<CurrentMaxStruct, PingError>
get the maximum allowed battery current
-sourcepub async fn state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
-sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
-sourcepub async fn set_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
+sourcepub async fn set_lpf_setting(&self, setting: u16) -> Result<(), PingError>
Low pass filter setting. This value represents x in the equation value = value * x + sample * (1-x)
. 0.0 = no filtering, 0.99 = heavy filtering.
§Arguments
-timeout
[millisecond] - If the battery current exceeds the configured limit for this duration of time, the power will be locked-out
-
-sourcepub async fn set_lpf_setting(&self, setting: u16) -> Result<(), PingError>
Low pass filter setting. This value represents x in the equation value = value * x + sample * (1-x)
. 0.0 = no filtering, 0.99 = heavy filtering.
-§Arguments
-
setting
- 0~999: x = 0~0.999
-sourcepub async fn temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
-sourcepub async fn events(&self) -> Result<EventsStruct, PingError>
A record of events causing a power lock-out. These numbers are non-volatile and reset only with the erase_flash control message.
-
Trait Implementations§
source§impl PingDevice for Device
source§fn get_common(&self) -> &Common
source§fn get_mut_common(&mut self) -> &mut Common
source§fn subscribe(&self) -> Receiver<ProtocolMessage>
source§async fn send_general_request(&self, requested_id: u16) -> Result<(), PingError>
source§async fn wait_for_message<T>(
+
Trait Implementations§
source§impl PingDevice for Device
source§fn get_common(&self) -> &Common
source§fn get_mut_common(&mut self) -> &mut Common
source§fn subscribe(&self) -> Receiver<ProtocolMessage>
source§async fn send_general_request(&self, requested_id: u16) -> Result<(), PingError>
source§async fn wait_for_message<T>(
&self,
receiver: Receiver<ProtocolMessage>,
) -> Result<T, PingError>where
diff --git a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
index 84910d168..d5632f595 100644
--- a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
@@ -1,9 +1,9 @@
-EraseFlashStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::EraseFlashStruct
source · pub struct EraseFlashStruct {}
Expand description
Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!
-Trait Implementations§
source§impl Clone for EraseFlashStruct
source§fn clone(&self) -> EraseFlashStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for EraseFlashStruct
source§impl Default for EraseFlashStruct
source§fn default() -> EraseFlashStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for EraseFlashStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for EraseFlashStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for EraseFlashStruct
source§impl PartialEq for EraseFlashStruct
source§fn eq(&self, other: &EraseFlashStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+EraseFlashStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::EraseFlashStruct
source · pub struct EraseFlashStruct {}
Expand description
Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!
+Trait Implementations§
source§impl Clone for EraseFlashStruct
source§fn clone(&self) -> EraseFlashStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for EraseFlashStruct
source§impl Default for EraseFlashStruct
source§fn default() -> EraseFlashStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for EraseFlashStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for EraseFlashStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for EraseFlashStruct
source§impl PartialEq for EraseFlashStruct
source§fn eq(&self, other: &EraseFlashStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EraseFlashStruct
source§impl SerializePayload for EraseFlashStruct
source§impl StructuralPartialEq for EraseFlashStruct
Auto Trait Implementations§
§impl Freeze for EraseFlashStruct
§impl RefUnwindSafe for EraseFlashStruct
§impl Send for EraseFlashStruct
§impl Sync for EraseFlashStruct
§impl Unpin for EraseFlashStruct
§impl UnwindSafe for EraseFlashStruct
Blanket Implementations§
source§impl Serialize for EraseFlashStruct
source§impl SerializePayload for EraseFlashStruct
source§impl StructuralPartialEq for EraseFlashStruct
Auto Trait Implementations§
§impl Freeze for EraseFlashStruct
§impl RefUnwindSafe for EraseFlashStruct
§impl Send for EraseFlashStruct
§impl Sync for EraseFlashStruct
§impl Unpin for EraseFlashStruct
§impl UnwindSafe for EraseFlashStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.EventsStruct.html b/bluerobotics_ping/bluebps/struct.EventsStruct.html
index 57363e649..97becb6e6 100644
--- a/bluerobotics_ping/bluebps/struct.EventsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EventsStruct.html
@@ -1,4 +1,4 @@
-EventsStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
+EventsStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
pub voltage: u16,
pub current: u16,
pub temperature: u16,
@@ -6,11 +6,11 @@
Fields§
§voltage: u16
The number of under-voltage events
§current: u16
The number of over-current events
§temperature: u16
The number of over-temperature events
-Trait Implementations§
source§impl Clone for EventsStruct
source§fn clone(&self) -> EventsStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for EventsStruct
source§impl Default for EventsStruct
source§fn default() -> EventsStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for EventsStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for EventsStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for EventsStruct
source§impl PartialEq for EventsStruct
source§fn eq(&self, other: &EventsStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for EventsStruct
source§fn clone(&self) -> EventsStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for EventsStruct
source§impl Default for EventsStruct
source§fn default() -> EventsStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for EventsStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for EventsStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for EventsStruct
source§impl PartialEq for EventsStruct
source§fn eq(&self, other: &EventsStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventsStruct
source§impl SerializePayload for EventsStruct
source§impl StructuralPartialEq for EventsStruct
Auto Trait Implementations§
§impl Freeze for EventsStruct
§impl RefUnwindSafe for EventsStruct
§impl Send for EventsStruct
§impl Sync for EventsStruct
§impl Unpin for EventsStruct
§impl UnwindSafe for EventsStruct
Blanket Implementations§
source§impl Serialize for EventsStruct
source§impl SerializePayload for EventsStruct
source§impl StructuralPartialEq for EventsStruct
Auto Trait Implementations§
§impl Freeze for EventsStruct
§impl RefUnwindSafe for EventsStruct
§impl Send for EventsStruct
§impl Sync for EventsStruct
§impl Unpin for EventsStruct
§impl UnwindSafe for EventsStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.PingProtocolHead.html b/bluerobotics_ping/bluebps/struct.PingProtocolHead.html
index 2183ef46f..54968184e 100644
--- a/bluerobotics_ping/bluebps/struct.PingProtocolHead.html
+++ b/bluerobotics_ping/bluebps/struct.PingProtocolHead.html
@@ -1,11 +1,11 @@
-PingProtocolHead in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::PingProtocolHead
source · pub struct PingProtocolHead {
+PingProtocolHead in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::PingProtocolHead
source · pub struct PingProtocolHead {
pub source_device_id: u8,
pub destiny_device_id: u8,
-}
Fields§
§source_device_id: u8
§destiny_device_id: u8
Trait Implementations§
source§impl Clone for PingProtocolHead
source§fn clone(&self) -> PingProtocolHead
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PingProtocolHead
source§impl Default for PingProtocolHead
source§fn default() -> PingProtocolHead
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for PingProtocolHead
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for PingProtocolHead
source§fn eq(&self, other: &PingProtocolHead) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields§
§source_device_id: u8
§destiny_device_id: u8
Trait Implementations§
source§impl Clone for PingProtocolHead
source§fn clone(&self) -> PingProtocolHead
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for PingProtocolHead
source§impl Default for PingProtocolHead
source§fn default() -> PingProtocolHead
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for PingProtocolHead
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for PingProtocolHead
source§fn eq(&self, other: &PingProtocolHead) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PingProtocolHead
source§impl StructuralPartialEq for PingProtocolHead
Auto Trait Implementations§
§impl Freeze for PingProtocolHead
§impl RefUnwindSafe for PingProtocolHead
§impl Send for PingProtocolHead
§impl Sync for PingProtocolHead
§impl Unpin for PingProtocolHead
§impl UnwindSafe for PingProtocolHead
Blanket Implementations§
source§impl Serialize for PingProtocolHead
source§impl StructuralPartialEq for PingProtocolHead
Auto Trait Implementations§
§impl Freeze for PingProtocolHead
§impl RefUnwindSafe for PingProtocolHead
§impl Send for PingProtocolHead
§impl Sync for PingProtocolHead
§impl Unpin for PingProtocolHead
§impl UnwindSafe for PingProtocolHead
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.RebootStruct.html b/bluerobotics_ping/bluebps/struct.RebootStruct.html
index 145fae0ab..b93aa50e8 100644
--- a/bluerobotics_ping/bluebps/struct.RebootStruct.html
+++ b/bluerobotics_ping/bluebps/struct.RebootStruct.html
@@ -1,12 +1,12 @@
-RebootStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::RebootStruct
source · pub struct RebootStruct {
+RebootStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::RebootStruct
source · pub struct RebootStruct {
pub goto_bootloader: u8,
}
Expand description
reboot the system
Fields§
§goto_bootloader: u8
0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
-Trait Implementations§
source§impl Clone for RebootStruct
source§fn clone(&self) -> RebootStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RebootStruct
source§impl Default for RebootStruct
source§fn default() -> RebootStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RebootStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for RebootStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for RebootStruct
source§impl PartialEq for RebootStruct
source§fn eq(&self, other: &RebootStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for RebootStruct
source§fn clone(&self) -> RebootStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for RebootStruct
source§impl Default for RebootStruct
source§fn default() -> RebootStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RebootStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for RebootStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for RebootStruct
source§impl PartialEq for RebootStruct
source§fn eq(&self, other: &RebootStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RebootStruct
source§impl SerializePayload for RebootStruct
source§impl StructuralPartialEq for RebootStruct
Auto Trait Implementations§
§impl Freeze for RebootStruct
§impl RefUnwindSafe for RebootStruct
§impl Send for RebootStruct
§impl Sync for RebootStruct
§impl Unpin for RebootStruct
§impl UnwindSafe for RebootStruct
Blanket Implementations§
source§impl Serialize for RebootStruct
source§impl SerializePayload for RebootStruct
source§impl StructuralPartialEq for RebootStruct
Auto Trait Implementations§
§impl Freeze for RebootStruct
§impl RefUnwindSafe for RebootStruct
§impl Send for RebootStruct
§impl Sync for RebootStruct
§impl Unpin for RebootStruct
§impl UnwindSafe for RebootStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
index 695f35e4a..27a6aeac9 100644
--- a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
@@ -1,9 +1,9 @@
-ResetDefaultsStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::ResetDefaultsStruct
source · pub struct ResetDefaultsStruct {}
Expand description
Reset parameter configuration to default values.
-Trait Implementations§
source§impl Clone for ResetDefaultsStruct
source§fn clone(&self) -> ResetDefaultsStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ResetDefaultsStruct
source§impl Default for ResetDefaultsStruct
source§fn default() -> ResetDefaultsStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ResetDefaultsStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for ResetDefaultsStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for ResetDefaultsStruct
source§impl PartialEq for ResetDefaultsStruct
source§fn eq(&self, other: &ResetDefaultsStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+ResetDefaultsStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::ResetDefaultsStruct
source · pub struct ResetDefaultsStruct {}
Expand description
Reset parameter configuration to default values.
+Trait Implementations§
source§impl Clone for ResetDefaultsStruct
source§fn clone(&self) -> ResetDefaultsStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ResetDefaultsStruct
source§impl Default for ResetDefaultsStruct
source§fn default() -> ResetDefaultsStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for ResetDefaultsStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for ResetDefaultsStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for ResetDefaultsStruct
source§impl PartialEq for ResetDefaultsStruct
source§fn eq(&self, other: &ResetDefaultsStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResetDefaultsStruct
source§impl StructuralPartialEq for ResetDefaultsStruct
Auto Trait Implementations§
§impl Freeze for ResetDefaultsStruct
§impl RefUnwindSafe for ResetDefaultsStruct
§impl Send for ResetDefaultsStruct
§impl Sync for ResetDefaultsStruct
§impl Unpin for ResetDefaultsStruct
§impl UnwindSafe for ResetDefaultsStruct
Blanket Implementations§
source§impl Serialize for ResetDefaultsStruct
source§impl StructuralPartialEq for ResetDefaultsStruct
Auto Trait Implementations§
§impl Freeze for ResetDefaultsStruct
§impl RefUnwindSafe for ResetDefaultsStruct
§impl Send for ResetDefaultsStruct
§impl Sync for ResetDefaultsStruct
§impl Unpin for ResetDefaultsStruct
§impl UnwindSafe for ResetDefaultsStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
index c196f6195..bd1954709 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
@@ -1,12 +1,12 @@
-SetCellVoltageMinimumStruct in bluerobotics_ping::bluebps - Rust pub struct SetCellVoltageMinimumStruct {
+SetCellVoltageMinimumStruct in bluerobotics_ping::bluebps - Rust pub struct SetCellVoltageMinimumStruct {
pub limit: u16,
}
Expand description
Set the minimum allowed cell voltage
Fields§
§limit: u16
The minimum voltage allowed for any individual cell. 0~5000: 0~5V
-Trait Implementations§
source§impl Clone for SetCellVoltageMinimumStruct
source§fn clone(&self) -> SetCellVoltageMinimumStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCellVoltageMinimumStruct
source§impl Default for SetCellVoltageMinimumStruct
source§fn default() -> SetCellVoltageMinimumStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCellVoltageMinimumStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCellVoltageMinimumStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetCellVoltageMinimumStruct
source§fn eq(&self, other: &SetCellVoltageMinimumStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetCellVoltageMinimumStruct
source§fn clone(&self) -> SetCellVoltageMinimumStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCellVoltageMinimumStruct
source§impl Default for SetCellVoltageMinimumStruct
source§fn default() -> SetCellVoltageMinimumStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCellVoltageMinimumStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCellVoltageMinimumStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetCellVoltageMinimumStruct
source§fn eq(&self, other: &SetCellVoltageMinimumStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetCellVoltageMinimumStruct
Auto Trait Implementations§
§impl Freeze for SetCellVoltageMinimumStruct
§impl RefUnwindSafe for SetCellVoltageMinimumStruct
§impl Send for SetCellVoltageMinimumStruct
§impl Sync for SetCellVoltageMinimumStruct
§impl Unpin for SetCellVoltageMinimumStruct
§impl UnwindSafe for SetCellVoltageMinimumStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetCellVoltageMinimumStruct
Auto Trait Implementations§
§impl Freeze for SetCellVoltageMinimumStruct
§impl RefUnwindSafe for SetCellVoltageMinimumStruct
§impl Send for SetCellVoltageMinimumStruct
§impl Sync for SetCellVoltageMinimumStruct
§impl Unpin for SetCellVoltageMinimumStruct
§impl UnwindSafe for SetCellVoltageMinimumStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
index f7a2b0f41..d05200a1a 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
@@ -1,12 +1,12 @@
-SetCellVoltageTimeoutStruct in bluerobotics_ping::bluebps - Rust pub struct SetCellVoltageTimeoutStruct {
+SetCellVoltageTimeoutStruct in bluerobotics_ping::bluebps - Rust pub struct SetCellVoltageTimeoutStruct {
pub timeout: u16,
}
Expand description
Set the under-voltage timeout
Fields§
§timeout: u16
If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
-Trait Implementations§
source§impl Clone for SetCellVoltageTimeoutStruct
source§fn clone(&self) -> SetCellVoltageTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCellVoltageTimeoutStruct
source§impl Default for SetCellVoltageTimeoutStruct
source§fn default() -> SetCellVoltageTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCellVoltageTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCellVoltageTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetCellVoltageTimeoutStruct
source§fn eq(&self, other: &SetCellVoltageTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetCellVoltageTimeoutStruct
source§fn clone(&self) -> SetCellVoltageTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCellVoltageTimeoutStruct
source§impl Default for SetCellVoltageTimeoutStruct
source§fn default() -> SetCellVoltageTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCellVoltageTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCellVoltageTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetCellVoltageTimeoutStruct
source§fn eq(&self, other: &SetCellVoltageTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetCellVoltageTimeoutStruct
Auto Trait Implementations§
§impl Freeze for SetCellVoltageTimeoutStruct
§impl RefUnwindSafe for SetCellVoltageTimeoutStruct
§impl Send for SetCellVoltageTimeoutStruct
§impl Sync for SetCellVoltageTimeoutStruct
§impl Unpin for SetCellVoltageTimeoutStruct
§impl UnwindSafe for SetCellVoltageTimeoutStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetCellVoltageTimeoutStruct
Auto Trait Implementations§
§impl Freeze for SetCellVoltageTimeoutStruct
§impl RefUnwindSafe for SetCellVoltageTimeoutStruct
§impl Send for SetCellVoltageTimeoutStruct
§impl Sync for SetCellVoltageTimeoutStruct
§impl Unpin for SetCellVoltageTimeoutStruct
§impl UnwindSafe for SetCellVoltageTimeoutStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
index c9fc5b225..872e79792 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
@@ -1,12 +1,12 @@
-SetCurrentMaxStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::SetCurrentMaxStruct
source · pub struct SetCurrentMaxStruct {
+SetCurrentMaxStruct in bluerobotics_ping::bluebps - Rust Struct bluerobotics_ping::bluebps::SetCurrentMaxStruct
source · pub struct SetCurrentMaxStruct {
pub limit: u16,
}
Expand description
Set the maximum allowed battery current
Fields§
§limit: u16
The maximum allowed battery current 0~20000 = 0~200A
-Trait Implementations§
source§impl Clone for SetCurrentMaxStruct
source§fn clone(&self) -> SetCurrentMaxStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCurrentMaxStruct
source§impl Default for SetCurrentMaxStruct
source§fn default() -> SetCurrentMaxStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCurrentMaxStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCurrentMaxStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetCurrentMaxStruct
source§impl PartialEq for SetCurrentMaxStruct
source§fn eq(&self, other: &SetCurrentMaxStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetCurrentMaxStruct
source§fn clone(&self) -> SetCurrentMaxStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCurrentMaxStruct
source§impl Default for SetCurrentMaxStruct
source§fn default() -> SetCurrentMaxStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCurrentMaxStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCurrentMaxStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetCurrentMaxStruct
source§impl PartialEq for SetCurrentMaxStruct
source§fn eq(&self, other: &SetCurrentMaxStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetCurrentMaxStruct
source§impl StructuralPartialEq for SetCurrentMaxStruct
Auto Trait Implementations§
§impl Freeze for SetCurrentMaxStruct
§impl RefUnwindSafe for SetCurrentMaxStruct
§impl Send for SetCurrentMaxStruct
§impl Sync for SetCurrentMaxStruct
§impl Unpin for SetCurrentMaxStruct
§impl UnwindSafe for SetCurrentMaxStruct
Blanket Implementations§
source§impl Serialize for SetCurrentMaxStruct
source§impl StructuralPartialEq for SetCurrentMaxStruct
Auto Trait Implementations§
§impl Freeze for SetCurrentMaxStruct
§impl RefUnwindSafe for SetCurrentMaxStruct
§impl Send for SetCurrentMaxStruct
§impl Sync for SetCurrentMaxStruct
§impl Unpin for SetCurrentMaxStruct
§impl UnwindSafe for SetCurrentMaxStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
index 03198b637..c9c183d8f 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
@@ -1,12 +1,12 @@
-SetCurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust pub struct SetCurrentTimeoutStruct {
+SetCurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust pub struct SetCurrentTimeoutStruct {
pub timeout: u16,
}
Expand description
Set the over-current timeout
Fields§
§timeout: u16
If the battery current exceeds the configured limit for this duration of time, the power will be locked-out
-Trait Implementations§
source§impl Clone for SetCurrentTimeoutStruct
source§fn clone(&self) -> SetCurrentTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCurrentTimeoutStruct
source§impl Default for SetCurrentTimeoutStruct
source§fn default() -> SetCurrentTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCurrentTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCurrentTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetCurrentTimeoutStruct
source§fn eq(&self, other: &SetCurrentTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetCurrentTimeoutStruct
source§fn clone(&self) -> SetCurrentTimeoutStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetCurrentTimeoutStruct
source§impl Default for SetCurrentTimeoutStruct
source§fn default() -> SetCurrentTimeoutStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetCurrentTimeoutStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl DeserializePayload for SetCurrentTimeoutStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetCurrentTimeoutStruct
source§fn eq(&self, other: &SetCurrentTimeoutStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SetCurrentTimeoutStruct
source§impl StructuralPartialEq for SetCurrentTimeoutStruct
Auto Trait Implementations§
§impl Freeze for SetCurrentTimeoutStruct
§impl RefUnwindSafe for SetCurrentTimeoutStruct
§impl Send for SetCurrentTimeoutStruct
§impl Sync for SetCurrentTimeoutStruct
§impl Unpin for SetCurrentTimeoutStruct
§impl UnwindSafe for SetCurrentTimeoutStruct
Blanket Implementations§
source§impl Serialize for SetCurrentTimeoutStruct
source§impl StructuralPartialEq for SetCurrentTimeoutStruct
Auto Trait Implementations§
§impl Freeze for SetCurrentTimeoutStruct
§impl RefUnwindSafe for SetCurrentTimeoutStruct
§impl Send for SetCurrentTimeoutStruct
§impl Sync for SetCurrentTimeoutStruct
§impl Unpin for SetCurrentTimeoutStruct
§impl UnwindSafe for SetCurrentTimeoutStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
index 20108a114..b4f1f57f4 100644
--- a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
@@ -1,12 +1,12 @@
-SetLpfSampleFrequencyStruct in bluerobotics_ping::bluebps - Rust pub struct SetLpfSampleFrequencyStruct {
+SetLpfSampleFrequencyStruct in bluerobotics_ping::bluebps - Rust pub struct SetLpfSampleFrequencyStruct {
pub sample_frequency: u32,
}
Expand description
the frequency to take adc samples and run the filter.
Fields§
§sample_frequency: u32
sample frequency in Hz. 1~100000
-Trait Implementations§
source§impl Clone for SetLpfSampleFrequencyStruct
source§fn clone(&self) -> SetLpfSampleFrequencyStruct
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SetLpfSampleFrequencyStruct
source§impl Default for SetLpfSampleFrequencyStruct
source§fn default() -> SetLpfSampleFrequencyStruct
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for SetLpfSampleFrequencyStruct
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: