Enum bluerobotics_ping::bluebps::Messages
source · pub enum Messages {
-Show 20 variants
State(StateStruct),
- SetTemperatureMax(SetTemperatureMaxStruct),
- CellTimeout(CellTimeoutStruct),
- EraseFlash(EraseFlashStruct),
- TemperatureMax(TemperatureMaxStruct),
- CellVoltageMin(CellVoltageMinStruct),
+Show 20 variants
SetTemperatureTimeout(SetTemperatureTimeoutStruct),
CurrentTimeout(CurrentTimeoutStruct),
- Reboot(RebootStruct),
+ Events(EventsStruct),
+ SetCurrentTimeout(SetCurrentTimeoutStruct),
+ SetStreamRate(SetStreamRateStruct),
+ SetLpfSampleFrequency(SetLpfSampleFrequencyStruct),
+ CurrentMax(CurrentMaxStruct),
SetCellVoltageTimeout(SetCellVoltageTimeoutStruct),
- SetCellVoltageMinimum(SetCellVoltageMinimumStruct),
+ SetTemperatureMax(SetTemperatureMaxStruct),
SetLpfSetting(SetLpfSettingStruct),
TemperatureTimeout(TemperatureTimeoutStruct),
- SetLpfSampleFrequency(SetLpfSampleFrequencyStruct),
- SetCurrentTimeout(SetCurrentTimeoutStruct),
- ResetDefaults(ResetDefaultsStruct),
- SetTemperatureTimeout(SetTemperatureTimeoutStruct),
- SetStreamRate(SetStreamRateStruct),
+ TemperatureMax(TemperatureMaxStruct),
+ Reboot(RebootStruct),
+ SetCellVoltageMinimum(SetCellVoltageMinimumStruct),
+ EraseFlash(EraseFlashStruct),
SetCurrentMax(SetCurrentMaxStruct),
- CurrentMax(CurrentMaxStruct),
- Events(EventsStruct),
-}
Variants§
State(StateStruct)
SetTemperatureMax(SetTemperatureMaxStruct)
CellTimeout(CellTimeoutStruct)
EraseFlash(EraseFlashStruct)
TemperatureMax(TemperatureMaxStruct)
CellVoltageMin(CellVoltageMinStruct)
CurrentTimeout(CurrentTimeoutStruct)
Reboot(RebootStruct)
SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)
SetCellVoltageMinimum(SetCellVoltageMinimumStruct)
SetLpfSetting(SetLpfSettingStruct)
TemperatureTimeout(TemperatureTimeoutStruct)
SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)
SetCurrentTimeout(SetCurrentTimeoutStruct)
ResetDefaults(ResetDefaultsStruct)
SetTemperatureTimeout(SetTemperatureTimeoutStruct)
SetStreamRate(SetStreamRateStruct)
SetCurrentMax(SetCurrentMaxStruct)
CurrentMax(CurrentMaxStruct)
Events(EventsStruct)
Implementations§
Trait Implementations§
source§impl DeserializeGenericMessage for Messages
impl DeserializeGenericMessage for Messages
source§impl PartialEq for Messages
impl PartialEq for Messages
source§fn eq(&self, other: &Messages) -> bool
fn eq(&self, other: &Messages) -> bool
self
and other
values to be equal, and is used
+ ResetDefaults(ResetDefaultsStruct),
+ CellVoltageMin(CellVoltageMinStruct),
+ State(StateStruct),
+ CellTimeout(CellTimeoutStruct),
+}Variants§
SetTemperatureTimeout(SetTemperatureTimeoutStruct)
CurrentTimeout(CurrentTimeoutStruct)
Events(EventsStruct)
SetCurrentTimeout(SetCurrentTimeoutStruct)
SetStreamRate(SetStreamRateStruct)
SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)
CurrentMax(CurrentMaxStruct)
SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)
SetTemperatureMax(SetTemperatureMaxStruct)
SetLpfSetting(SetLpfSettingStruct)
TemperatureTimeout(TemperatureTimeoutStruct)
TemperatureMax(TemperatureMaxStruct)
Reboot(RebootStruct)
SetCellVoltageMinimum(SetCellVoltageMinimumStruct)
EraseFlash(EraseFlashStruct)
SetCurrentMax(SetCurrentMaxStruct)
ResetDefaults(ResetDefaultsStruct)
CellVoltageMin(CellVoltageMinStruct)
State(StateStruct)
CellTimeout(CellTimeoutStruct)
Implementations§
Trait Implementations§
source§impl DeserializeGenericMessage for Messages
impl DeserializeGenericMessage for Messages
source§impl PartialEq for Messages
impl PartialEq for Messages
source§impl PingMessage for Messages
impl PingMessage for Messages
fn message_name(&self) -> &'static str
fn message_id(&self) -> u16
fn message_id_from_name(name: &str) -> Result<u16, String>
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> Borrow<T> for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
index 443ae048b..08fa79f86 100644
--- a/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
@@ -1,11 +1,11 @@
CellTimeoutStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CellTimeoutStruct
source · pub struct CellTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
index cca422d4e..8e541c4a7 100644
--- a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
@@ -1,11 +1,11 @@
CellVoltageMinStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CellVoltageMinStruct
source · pub struct CellVoltageMinStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
index 20baa7408..70d1e9ab7 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
@@ -1,11 +1,11 @@
CurrentMaxStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CurrentMaxStruct
source · pub struct CurrentMaxStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
index a057d2299..f5b08ec31 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
@@ -1,11 +1,11 @@
CurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CurrentTimeoutStruct
source · pub struct CurrentTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.Device.html b/bluerobotics_ping/bluebps/struct.Device.html
index 064024959..0ff472edb 100644
--- a/bluerobotics_ping/bluebps/struct.Device.html
+++ b/bluerobotics_ping/bluebps/struct.Device.html
@@ -2,80 +2,80 @@
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 state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
-sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
sourcepub async fn set_temperature_timeout(
+ &self,
+ timeout: u16
+) -> Result<(), PingError>
Set the over-temperature timeout
§Arguments
-limit
[centidegrees Centigrade] - The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
+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 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 temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
-sourcepub async fn cell_voltage_min(&self) -> Result<CellVoltageMinStruct, PingError>
Get the minimum allowed cell voltage
-sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
-sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
+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_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
+§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_stream_rate(&self, rate: u32) -> Result<(), PingError>
Set the frequency to automatically output state messages.
§Arguments
-goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
+rate
[Hz] - Rate to stream state
messages. 0~100000Hz
-sourcepub async fn set_cell_voltage_timeout(
+
sourcepub async fn set_lpf_sample_frequency(
&self,
- timeout: u16
-) -> Result<(), PingError>
Set the under-voltage timeout
+ sample_frequency: u32
+) -> Result<(), PingError>the frequency to take adc samples and run the filter.
§Arguments
-timeout
[millisecond] - If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
+sample_frequency
- sample frequency in Hz. 1~100000
-sourcepub async fn set_cell_voltage_minimum(
+
sourcepub async fn current_max(&self) -> Result<CurrentMaxStruct, PingError>
get the maximum allowed battery current
+sourcepub async fn set_cell_voltage_timeout(
&self,
- limit: u16
-) -> Result<(), PingError>
Set the minimum allowed cell voltage
+ timeout: u16
+) -> Result<(), PingError>Set the under-voltage timeout
§Arguments
-limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
+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_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.
+sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery temperature
§Arguments
-setting
- 0~999: x = 0~0.999
+limit
[centidegrees Centigrade] - The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
-sourcepub async fn temperature_timeout(
- &self
-) -> Result<TemperatureTimeoutStruct, PingError>
Get the over-temperature timeout
-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 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
-sample_frequency
- sample frequency in Hz. 1~100000
+setting
- 0~999: x = 0~0.999
-sourcepub async fn set_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
+sourcepub async fn temperature_timeout(
+ &self
+) -> Result<TemperatureTimeoutStruct, PingError>
Get the over-temperature timeout
+sourcepub async fn temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
+sourcepub async fn reboot(&self, goto_bootloader: u8) -> Result<(), PingError>
reboot the system
§Arguments
-timeout
[millisecond] - If the battery current exceeds the configured limit for this duration of time, the power will be locked-out
+goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
-sourcepub async fn reset_defaults(&self) -> Result<(), PingError>
Reset parameter configuration to default values.
-§Arguments
sourcepub async fn set_temperature_timeout(
+
sourcepub async fn set_cell_voltage_minimum(
&self,
- timeout: u16
-) -> Result<(), PingError>
Set the over-temperature timeout
-§Arguments
+ limit: u16
+) -> Result<(), PingError>Set the minimum allowed cell voltage
+§Arguments
-timeout
[millisecond] - If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out
+limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
-sourcepub async fn set_stream_rate(&self, rate: u32) -> Result<(), PingError>
Set the frequency to automatically output state messages.
+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_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
§Arguments
-rate
[Hz] - Rate to stream state
messages. 0~100000Hz
-
-sourcepub async fn set_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
-§Arguments
-
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 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 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 state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
+sourcepub async fn cell_timeout(&self) -> Result<CellTimeoutStruct, PingError>
Get the undervoltage timeout
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>
diff --git a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
index c32f4b24b..4365197ce 100644
--- a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
@@ -1,8 +1,8 @@
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 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
+ 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.EventsStruct.html b/bluerobotics_ping/bluebps/struct.EventsStruct.html
index e3a4cc4d1..32310875a 100644
--- a/bluerobotics_ping/bluebps/struct.EventsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EventsStruct.html
@@ -1,5 +1,5 @@
EventsStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
+ Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
pub voltage: u16,
pub current: u16,
pub temperature: u16,
@@ -7,9 +7,9 @@
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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.RebootStruct.html b/bluerobotics_ping/bluebps/struct.RebootStruct.html
index 3b3747301..c3884b38d 100644
--- a/bluerobotics_ping/bluebps/struct.RebootStruct.html
+++ b/bluerobotics_ping/bluebps/struct.RebootStruct.html
@@ -1,11 +1,11 @@
RebootStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::RebootStruct
source · pub struct RebootStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
index 088343ea3..5f37a6349 100644
--- a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
@@ -1,8 +1,8 @@
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 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
+ 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
index c6e27372c..337d1f4e9 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
@@ -1,11 +1,11 @@
SetCellVoltageMinimumStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCellVoltageMinimumStruct {
+ 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
index 23d6661af..aa4fd8228 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
@@ -1,11 +1,11 @@
SetCellVoltageTimeoutStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCellVoltageTimeoutStruct {
+ 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
index 93187da4b..631650795 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
@@ -1,11 +1,11 @@
SetCurrentMaxStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetCurrentMaxStruct
source · pub struct SetCurrentMaxStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
index eee0d0405..80b1658e5 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
@@ -1,11 +1,11 @@
SetCurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCurrentTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
index e99ed4e25..a9ffef886 100644
--- a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
@@ -1,11 +1,11 @@
SetLpfSampleFrequencyStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetLpfSampleFrequencyStruct {
+ 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 DeserializePayload for SetLpfSampleFrequencyStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetLpfSampleFrequencyStruct
source§fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+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 DeserializePayload for SetLpfSampleFrequencyStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetLpfSampleFrequencyStruct
source§fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetLpfSampleFrequencyStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSampleFrequencyStruct
§impl RefUnwindSafe for SetLpfSampleFrequencyStruct
§impl Send for SetLpfSampleFrequencyStruct
§impl Sync for SetLpfSampleFrequencyStruct
§impl Unpin for SetLpfSampleFrequencyStruct
§impl UnwindSafe for SetLpfSampleFrequencyStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetLpfSampleFrequencyStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSampleFrequencyStruct
§impl RefUnwindSafe for SetLpfSampleFrequencyStruct
§impl Send for SetLpfSampleFrequencyStruct
§impl Sync for SetLpfSampleFrequencyStruct
§impl Unpin for SetLpfSampleFrequencyStruct
§impl UnwindSafe for SetLpfSampleFrequencyStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html b/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
index f6074d763..c1aa294f2 100644
--- a/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
@@ -1,11 +1,11 @@
SetLpfSettingStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetLpfSettingStruct
source · pub struct SetLpfSettingStruct {
+ Struct bluerobotics_ping::bluebps::SetLpfSettingStruct
source · pub struct SetLpfSettingStruct {
pub setting: u16,
}
Expand description
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.
Fields§
§setting: u16
0~999: x = 0~0.999
-Trait Implementations§
source§impl Clone for SetLpfSettingStruct
source§fn clone(&self) -> SetLpfSettingStruct
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 SetLpfSettingStruct
source§impl Default for SetLpfSettingStruct
source§fn default() -> SetLpfSettingStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetLpfSettingStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetLpfSettingStruct
source§impl PartialEq for SetLpfSettingStruct
source§fn eq(&self, other: &SetLpfSettingStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetLpfSettingStruct
source§fn clone(&self) -> SetLpfSettingStruct
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 SetLpfSettingStruct
source§impl Default for SetLpfSettingStruct
source§fn default() -> SetLpfSettingStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetLpfSettingStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetLpfSettingStruct
source§impl PartialEq for SetLpfSettingStruct
source§fn eq(&self, other: &SetLpfSettingStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetLpfSettingStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSettingStruct
§impl RefUnwindSafe for SetLpfSettingStruct
§impl Send for SetLpfSettingStruct
§impl Sync for SetLpfSettingStruct
§impl Unpin for SetLpfSettingStruct
§impl UnwindSafe for SetLpfSettingStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetLpfSettingStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSettingStruct
§impl RefUnwindSafe for SetLpfSettingStruct
§impl Send for SetLpfSettingStruct
§impl Sync for SetLpfSettingStruct
§impl Unpin for SetLpfSettingStruct
§impl UnwindSafe for SetLpfSettingStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html b/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
index d7817f3df..9ab253ff9 100644
--- a/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
@@ -1,11 +1,11 @@
SetStreamRateStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetStreamRateStruct
source · pub struct SetStreamRateStruct {
+ Struct bluerobotics_ping::bluebps::SetStreamRateStruct
source · pub struct SetStreamRateStruct {
pub rate: u32,
}
Expand description
Set the frequency to automatically output state messages.
Fields§
§rate: u32
Rate to stream state
messages. 0~100000Hz
-Trait Implementations§
source§impl Clone for SetStreamRateStruct
source§fn clone(&self) -> SetStreamRateStruct
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 SetStreamRateStruct
source§impl Default for SetStreamRateStruct
source§fn default() -> SetStreamRateStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetStreamRateStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetStreamRateStruct
source§impl PartialEq for SetStreamRateStruct
source§fn eq(&self, other: &SetStreamRateStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetStreamRateStruct
source§fn clone(&self) -> SetStreamRateStruct
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 SetStreamRateStruct
source§impl Default for SetStreamRateStruct
source§fn default() -> SetStreamRateStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetStreamRateStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetStreamRateStruct
source§impl PartialEq for SetStreamRateStruct
source§fn eq(&self, other: &SetStreamRateStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetStreamRateStruct
Auto Trait Implementations§
§impl Freeze for SetStreamRateStruct
§impl RefUnwindSafe for SetStreamRateStruct
§impl Send for SetStreamRateStruct
§impl Sync for SetStreamRateStruct
§impl Unpin for SetStreamRateStruct
§impl UnwindSafe for SetStreamRateStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetStreamRateStruct
Auto Trait Implementations§
§impl Freeze for SetStreamRateStruct
§impl RefUnwindSafe for SetStreamRateStruct
§impl Send for SetStreamRateStruct
§impl Sync for SetStreamRateStruct
§impl Unpin for SetStreamRateStruct
§impl UnwindSafe for SetStreamRateStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html b/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
index 923051098..b686de60b 100644
--- a/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
@@ -1,11 +1,11 @@
SetTemperatureMaxStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetTemperatureMaxStruct {
+ Struct bluerobotics_ping::bluebps::
impl<T> Borrow<T> for Twhere
diff --git a/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
index 443ae048b..08fa79f86 100644
--- a/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CellTimeoutStruct.html
@@ -1,11 +1,11 @@
CellTimeoutStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CellTimeoutStruct
source · pub struct CellTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
index cca422d4e..8e541c4a7 100644
--- a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
@@ -1,11 +1,11 @@
CellVoltageMinStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CellVoltageMinStruct
source · pub struct CellVoltageMinStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
index 20baa7408..70d1e9ab7 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
@@ -1,11 +1,11 @@
CurrentMaxStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CurrentMaxStruct
source · pub struct CurrentMaxStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
index a057d2299..f5b08ec31 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
@@ -1,11 +1,11 @@
CurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CurrentTimeoutStruct
source · pub struct CurrentTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.Device.html b/bluerobotics_ping/bluebps/struct.Device.html
index 064024959..0ff472edb 100644
--- a/bluerobotics_ping/bluebps/struct.Device.html
+++ b/bluerobotics_ping/bluebps/struct.Device.html
@@ -2,80 +2,80 @@
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 state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
-sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
sourcepub async fn set_temperature_timeout(
+ &self,
+ timeout: u16
+) -> Result<(), PingError>
Set the over-temperature timeout
§Arguments
-limit
[centidegrees Centigrade] - The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
+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 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 temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
-sourcepub async fn cell_voltage_min(&self) -> Result<CellVoltageMinStruct, PingError>
Get the minimum allowed cell voltage
-sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
-sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
+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_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
+§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_stream_rate(&self, rate: u32) -> Result<(), PingError>
Set the frequency to automatically output state messages.
§Arguments
-goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
+rate
[Hz] - Rate to stream state
messages. 0~100000Hz
-sourcepub async fn set_cell_voltage_timeout(
+
sourcepub async fn set_lpf_sample_frequency(
&self,
- timeout: u16
-) -> Result<(), PingError>
Set the under-voltage timeout
+ sample_frequency: u32
+) -> Result<(), PingError>the frequency to take adc samples and run the filter.
§Arguments
-timeout
[millisecond] - If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
+sample_frequency
- sample frequency in Hz. 1~100000
-sourcepub async fn set_cell_voltage_minimum(
+
sourcepub async fn current_max(&self) -> Result<CurrentMaxStruct, PingError>
get the maximum allowed battery current
+sourcepub async fn set_cell_voltage_timeout(
&self,
- limit: u16
-) -> Result<(), PingError>
Set the minimum allowed cell voltage
+ timeout: u16
+) -> Result<(), PingError>Set the under-voltage timeout
§Arguments
-limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
+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_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.
+sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery temperature
§Arguments
-setting
- 0~999: x = 0~0.999
+limit
[centidegrees Centigrade] - The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
-sourcepub async fn temperature_timeout(
- &self
-) -> Result<TemperatureTimeoutStruct, PingError>
Get the over-temperature timeout
-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 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
-sample_frequency
- sample frequency in Hz. 1~100000
+setting
- 0~999: x = 0~0.999
-sourcepub async fn set_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
+sourcepub async fn temperature_timeout(
+ &self
+) -> Result<TemperatureTimeoutStruct, PingError>
Get the over-temperature timeout
+sourcepub async fn temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
+sourcepub async fn reboot(&self, goto_bootloader: u8) -> Result<(), PingError>
reboot the system
§Arguments
-timeout
[millisecond] - If the battery current exceeds the configured limit for this duration of time, the power will be locked-out
+goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
-sourcepub async fn reset_defaults(&self) -> Result<(), PingError>
Reset parameter configuration to default values.
-§Arguments
sourcepub async fn set_temperature_timeout(
+
sourcepub async fn set_cell_voltage_minimum(
&self,
- timeout: u16
-) -> Result<(), PingError>
Set the over-temperature timeout
-§Arguments
+ limit: u16
+) -> Result<(), PingError>Set the minimum allowed cell voltage
+§Arguments
-timeout
[millisecond] - If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out
+limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
-sourcepub async fn set_stream_rate(&self, rate: u32) -> Result<(), PingError>
Set the frequency to automatically output state messages.
+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_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
§Arguments
-rate
[Hz] - Rate to stream state
messages. 0~100000Hz
-
-sourcepub async fn set_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
-§Arguments
-
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 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 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 state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
+sourcepub async fn cell_timeout(&self) -> Result<CellTimeoutStruct, PingError>
Get the undervoltage timeout
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>
diff --git a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
index c32f4b24b..4365197ce 100644
--- a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
@@ -1,8 +1,8 @@
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 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
+ 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.EventsStruct.html b/bluerobotics_ping/bluebps/struct.EventsStruct.html
index e3a4cc4d1..32310875a 100644
--- a/bluerobotics_ping/bluebps/struct.EventsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EventsStruct.html
@@ -1,5 +1,5 @@
EventsStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
+ Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
pub voltage: u16,
pub current: u16,
pub temperature: u16,
@@ -7,9 +7,9 @@
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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.RebootStruct.html b/bluerobotics_ping/bluebps/struct.RebootStruct.html
index 3b3747301..c3884b38d 100644
--- a/bluerobotics_ping/bluebps/struct.RebootStruct.html
+++ b/bluerobotics_ping/bluebps/struct.RebootStruct.html
@@ -1,11 +1,11 @@
RebootStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::RebootStruct
source · pub struct RebootStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
index 088343ea3..5f37a6349 100644
--- a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
@@ -1,8 +1,8 @@
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 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
+ 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
index c6e27372c..337d1f4e9 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
@@ -1,11 +1,11 @@
SetCellVoltageMinimumStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCellVoltageMinimumStruct {
+ 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
index 23d6661af..aa4fd8228 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
@@ -1,11 +1,11 @@
SetCellVoltageTimeoutStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCellVoltageTimeoutStruct {
+ 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
index 93187da4b..631650795 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
@@ -1,11 +1,11 @@
SetCurrentMaxStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetCurrentMaxStruct
source · pub struct SetCurrentMaxStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
index eee0d0405..80b1658e5 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
@@ -1,11 +1,11 @@
SetCurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCurrentTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
index e99ed4e25..a9ffef886 100644
--- a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
@@ -1,11 +1,11 @@
SetLpfSampleFrequencyStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetLpfSampleFrequencyStruct {
+ 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 DeserializePayload for SetLpfSampleFrequencyStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetLpfSampleFrequencyStruct
source§fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+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 DeserializePayload for SetLpfSampleFrequencyStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetLpfSampleFrequencyStruct
source§fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetLpfSampleFrequencyStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSampleFrequencyStruct
§impl RefUnwindSafe for SetLpfSampleFrequencyStruct
§impl Send for SetLpfSampleFrequencyStruct
§impl Sync for SetLpfSampleFrequencyStruct
§impl Unpin for SetLpfSampleFrequencyStruct
§impl UnwindSafe for SetLpfSampleFrequencyStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetLpfSampleFrequencyStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSampleFrequencyStruct
§impl RefUnwindSafe for SetLpfSampleFrequencyStruct
§impl Send for SetLpfSampleFrequencyStruct
§impl Sync for SetLpfSampleFrequencyStruct
§impl Unpin for SetLpfSampleFrequencyStruct
§impl UnwindSafe for SetLpfSampleFrequencyStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html b/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
index f6074d763..c1aa294f2 100644
--- a/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
@@ -1,11 +1,11 @@
SetLpfSettingStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetLpfSettingStruct
source · pub struct SetLpfSettingStruct {
+ Struct bluerobotics_ping::bluebps::SetLpfSettingStruct
source · pub struct SetLpfSettingStruct {
pub setting: u16,
}
Expand description
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.
Fields§
§setting: u16
0~999: x = 0~0.999
-Trait Implementations§
source§impl Clone for SetLpfSettingStruct
source§fn clone(&self) -> SetLpfSettingStruct
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 SetLpfSettingStruct
source§impl Default for SetLpfSettingStruct
source§fn default() -> SetLpfSettingStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetLpfSettingStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetLpfSettingStruct
source§impl PartialEq for SetLpfSettingStruct
source§fn eq(&self, other: &SetLpfSettingStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetLpfSettingStruct
source§fn clone(&self) -> SetLpfSettingStruct
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 SetLpfSettingStruct
source§impl Default for SetLpfSettingStruct
source§fn default() -> SetLpfSettingStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetLpfSettingStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetLpfSettingStruct
source§impl PartialEq for SetLpfSettingStruct
source§fn eq(&self, other: &SetLpfSettingStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetLpfSettingStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSettingStruct
§impl RefUnwindSafe for SetLpfSettingStruct
§impl Send for SetLpfSettingStruct
§impl Sync for SetLpfSettingStruct
§impl Unpin for SetLpfSettingStruct
§impl UnwindSafe for SetLpfSettingStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetLpfSettingStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSettingStruct
§impl RefUnwindSafe for SetLpfSettingStruct
§impl Send for SetLpfSettingStruct
§impl Sync for SetLpfSettingStruct
§impl Unpin for SetLpfSettingStruct
§impl UnwindSafe for SetLpfSettingStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html b/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
index d7817f3df..9ab253ff9 100644
--- a/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
@@ -1,11 +1,11 @@
SetStreamRateStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetStreamRateStruct
source · pub struct SetStreamRateStruct {
+ Struct bluerobotics_ping::bluebps::SetStreamRateStruct
source · pub struct SetStreamRateStruct {
pub rate: u32,
}
Expand description
Set the frequency to automatically output state messages.
Fields§
§rate: u32
Rate to stream state
messages. 0~100000Hz
-Trait Implementations§
source§impl Clone for SetStreamRateStruct
source§fn clone(&self) -> SetStreamRateStruct
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 SetStreamRateStruct
source§impl Default for SetStreamRateStruct
source§fn default() -> SetStreamRateStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetStreamRateStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetStreamRateStruct
source§impl PartialEq for SetStreamRateStruct
source§fn eq(&self, other: &SetStreamRateStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetStreamRateStruct
source§fn clone(&self) -> SetStreamRateStruct
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 SetStreamRateStruct
source§impl Default for SetStreamRateStruct
source§fn default() -> SetStreamRateStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetStreamRateStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetStreamRateStruct
source§impl PartialEq for SetStreamRateStruct
source§fn eq(&self, other: &SetStreamRateStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetStreamRateStruct
Auto Trait Implementations§
§impl Freeze for SetStreamRateStruct
§impl RefUnwindSafe for SetStreamRateStruct
§impl Send for SetStreamRateStruct
§impl Sync for SetStreamRateStruct
§impl Unpin for SetStreamRateStruct
§impl UnwindSafe for SetStreamRateStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetStreamRateStruct
Auto Trait Implementations§
§impl Freeze for SetStreamRateStruct
§impl RefUnwindSafe for SetStreamRateStruct
§impl Send for SetStreamRateStruct
§impl Sync for SetStreamRateStruct
§impl Unpin for SetStreamRateStruct
§impl UnwindSafe for SetStreamRateStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html b/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
index 923051098..b686de60b 100644
--- a/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
@@ -1,11 +1,11 @@
SetTemperatureMaxStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetTemperatureMaxStruct {
+ Struct bluerobotics_ping::bluebps::
Struct bluerobotics_ping::bluebps::CellTimeoutStruct
source · pub struct CellTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
index cca422d4e..8e541c4a7 100644
--- a/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CellVoltageMinStruct.html
@@ -1,11 +1,11 @@
CellVoltageMinStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CellVoltageMinStruct
source · pub struct CellVoltageMinStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
index 20baa7408..70d1e9ab7 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentMaxStruct.html
@@ -1,11 +1,11 @@
CurrentMaxStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CurrentMaxStruct
source · pub struct CurrentMaxStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
index a057d2299..f5b08ec31 100644
--- a/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.CurrentTimeoutStruct.html
@@ -1,11 +1,11 @@
CurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::CurrentTimeoutStruct
source · pub struct CurrentTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.Device.html b/bluerobotics_ping/bluebps/struct.Device.html
index 064024959..0ff472edb 100644
--- a/bluerobotics_ping/bluebps/struct.Device.html
+++ b/bluerobotics_ping/bluebps/struct.Device.html
@@ -2,80 +2,80 @@
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 state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
-sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
sourcepub async fn set_temperature_timeout(
+ &self,
+ timeout: u16
+) -> Result<(), PingError>
Set the over-temperature timeout
§Arguments
-limit
[centidegrees Centigrade] - The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
+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 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 temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
-sourcepub async fn cell_voltage_min(&self) -> Result<CellVoltageMinStruct, PingError>
Get the minimum allowed cell voltage
-sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
-sourcepub async fn current_timeout(&self) -> Result<CurrentTimeoutStruct, PingError>
Get the over-current timeout
+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_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
+§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_stream_rate(&self, rate: u32) -> Result<(), PingError>
Set the frequency to automatically output state messages.
§Arguments
-goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
+rate
[Hz] - Rate to stream state
messages. 0~100000Hz
-sourcepub async fn set_cell_voltage_timeout(
+
sourcepub async fn set_lpf_sample_frequency(
&self,
- timeout: u16
-) -> Result<(), PingError>
Set the under-voltage timeout
+ sample_frequency: u32
+) -> Result<(), PingError>the frequency to take adc samples and run the filter.
§Arguments
-timeout
[millisecond] - If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out
+sample_frequency
- sample frequency in Hz. 1~100000
-sourcepub async fn set_cell_voltage_minimum(
+
sourcepub async fn current_max(&self) -> Result<CurrentMaxStruct, PingError>
get the maximum allowed battery current
+sourcepub async fn set_cell_voltage_timeout(
&self,
- limit: u16
-) -> Result<(), PingError>
Set the minimum allowed cell voltage
+ timeout: u16
+) -> Result<(), PingError>Set the under-voltage timeout
§Arguments
-limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
+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_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.
+sourcepub async fn set_temperature_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery temperature
§Arguments
-setting
- 0~999: x = 0~0.999
+limit
[centidegrees Centigrade] - The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V
-sourcepub async fn temperature_timeout(
- &self
-) -> Result<TemperatureTimeoutStruct, PingError>
Get the over-temperature timeout
-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 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
-sample_frequency
- sample frequency in Hz. 1~100000
+setting
- 0~999: x = 0~0.999
-sourcepub async fn set_current_timeout(&self, timeout: u16) -> Result<(), PingError>
Set the over-current timeout
+sourcepub async fn temperature_timeout(
+ &self
+) -> Result<TemperatureTimeoutStruct, PingError>
Get the over-temperature timeout
+sourcepub async fn temperature_max(&self) -> Result<TemperatureMaxStruct, PingError>
Get the maximum allowed battery temperature
+sourcepub async fn reboot(&self, goto_bootloader: u8) -> Result<(), PingError>
reboot the system
§Arguments
-timeout
[millisecond] - If the battery current exceeds the configured limit for this duration of time, the power will be locked-out
+goto_bootloader
- 0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot
-sourcepub async fn reset_defaults(&self) -> Result<(), PingError>
Reset parameter configuration to default values.
-§Arguments
sourcepub async fn set_temperature_timeout(
+
sourcepub async fn set_cell_voltage_minimum(
&self,
- timeout: u16
-) -> Result<(), PingError>
Set the over-temperature timeout
-§Arguments
+ limit: u16
+) -> Result<(), PingError>Set the minimum allowed cell voltage
+§Arguments
-timeout
[millisecond] - If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out
+limit
[millivolt] - The minimum voltage allowed for any individual cell. 0~5000: 0~5V
-sourcepub async fn set_stream_rate(&self, rate: u32) -> Result<(), PingError>
Set the frequency to automatically output state messages.
+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_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
§Arguments
-rate
[Hz] - Rate to stream state
messages. 0~100000Hz
-
-sourcepub async fn set_current_max(&self, limit: u16) -> Result<(), PingError>
Set the maximum allowed battery current
-§Arguments
-
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 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 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 state(&self) -> Result<StateStruct, PingError>
Get the current state of the device
+sourcepub async fn cell_timeout(&self) -> Result<CellTimeoutStruct, PingError>
Get the undervoltage timeout
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>
diff --git a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
index c32f4b24b..4365197ce 100644
--- a/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EraseFlashStruct.html
@@ -1,8 +1,8 @@
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 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
+ 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.EventsStruct.html b/bluerobotics_ping/bluebps/struct.EventsStruct.html
index e3a4cc4d1..32310875a 100644
--- a/bluerobotics_ping/bluebps/struct.EventsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.EventsStruct.html
@@ -1,5 +1,5 @@
EventsStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
+ Struct bluerobotics_ping::bluebps::EventsStruct
source · pub struct EventsStruct {
pub voltage: u16,
pub current: u16,
pub temperature: u16,
@@ -7,9 +7,9 @@
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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.RebootStruct.html b/bluerobotics_ping/bluebps/struct.RebootStruct.html
index 3b3747301..c3884b38d 100644
--- a/bluerobotics_ping/bluebps/struct.RebootStruct.html
+++ b/bluerobotics_ping/bluebps/struct.RebootStruct.html
@@ -1,11 +1,11 @@
RebootStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::RebootStruct
source · pub struct RebootStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
index 088343ea3..5f37a6349 100644
--- a/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
+++ b/bluerobotics_ping/bluebps/struct.ResetDefaultsStruct.html
@@ -1,8 +1,8 @@
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 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
+ 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
index c6e27372c..337d1f4e9 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageMinimumStruct.html
@@ -1,11 +1,11 @@
SetCellVoltageMinimumStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCellVoltageMinimumStruct {
+ 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
index 23d6661af..aa4fd8228 100644
--- a/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCellVoltageTimeoutStruct.html
@@ -1,11 +1,11 @@
SetCellVoltageTimeoutStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCellVoltageTimeoutStruct {
+ 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
index 93187da4b..631650795 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentMaxStruct.html
@@ -1,11 +1,11 @@
SetCurrentMaxStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetCurrentMaxStruct
source · pub struct SetCurrentMaxStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
index eee0d0405..80b1658e5 100644
--- a/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetCurrentTimeoutStruct.html
@@ -1,11 +1,11 @@
SetCurrentTimeoutStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetCurrentTimeoutStruct {
+ 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 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 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 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 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
index e99ed4e25..a9ffef886 100644
--- a/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetLpfSampleFrequencyStruct.html
@@ -1,11 +1,11 @@
SetLpfSampleFrequencyStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetLpfSampleFrequencyStruct {
+ 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 DeserializePayload for SetLpfSampleFrequencyStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetLpfSampleFrequencyStruct
source§fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+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 DeserializePayload for SetLpfSampleFrequencyStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl PartialEq for SetLpfSampleFrequencyStruct
source§fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetLpfSampleFrequencyStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSampleFrequencyStruct
§impl RefUnwindSafe for SetLpfSampleFrequencyStruct
§impl Send for SetLpfSampleFrequencyStruct
§impl Sync for SetLpfSampleFrequencyStruct
§impl Unpin for SetLpfSampleFrequencyStruct
§impl UnwindSafe for SetLpfSampleFrequencyStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetLpfSampleFrequencyStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSampleFrequencyStruct
§impl RefUnwindSafe for SetLpfSampleFrequencyStruct
§impl Send for SetLpfSampleFrequencyStruct
§impl Sync for SetLpfSampleFrequencyStruct
§impl Unpin for SetLpfSampleFrequencyStruct
§impl UnwindSafe for SetLpfSampleFrequencyStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html b/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
index f6074d763..c1aa294f2 100644
--- a/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetLpfSettingStruct.html
@@ -1,11 +1,11 @@
SetLpfSettingStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetLpfSettingStruct
source · pub struct SetLpfSettingStruct {
+ Struct bluerobotics_ping::bluebps::SetLpfSettingStruct
source · pub struct SetLpfSettingStruct {
pub setting: u16,
}
Expand description
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.
Fields§
§setting: u16
0~999: x = 0~0.999
-Trait Implementations§
source§impl Clone for SetLpfSettingStruct
source§fn clone(&self) -> SetLpfSettingStruct
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 SetLpfSettingStruct
source§impl Default for SetLpfSettingStruct
source§fn default() -> SetLpfSettingStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetLpfSettingStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetLpfSettingStruct
source§impl PartialEq for SetLpfSettingStruct
source§fn eq(&self, other: &SetLpfSettingStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetLpfSettingStruct
source§fn clone(&self) -> SetLpfSettingStruct
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 SetLpfSettingStruct
source§impl Default for SetLpfSettingStruct
source§fn default() -> SetLpfSettingStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetLpfSettingStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetLpfSettingStruct
source§impl PartialEq for SetLpfSettingStruct
source§fn eq(&self, other: &SetLpfSettingStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetLpfSettingStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSettingStruct
§impl RefUnwindSafe for SetLpfSettingStruct
§impl Send for SetLpfSettingStruct
§impl Sync for SetLpfSettingStruct
§impl Unpin for SetLpfSettingStruct
§impl UnwindSafe for SetLpfSettingStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetLpfSettingStruct
Auto Trait Implementations§
§impl Freeze for SetLpfSettingStruct
§impl RefUnwindSafe for SetLpfSettingStruct
§impl Send for SetLpfSettingStruct
§impl Sync for SetLpfSettingStruct
§impl Unpin for SetLpfSettingStruct
§impl UnwindSafe for SetLpfSettingStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html b/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
index d7817f3df..9ab253ff9 100644
--- a/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetStreamRateStruct.html
@@ -1,11 +1,11 @@
SetStreamRateStruct in bluerobotics_ping::bluebps - Rust
- Struct bluerobotics_ping::bluebps::SetStreamRateStruct
source · pub struct SetStreamRateStruct {
+ Struct bluerobotics_ping::bluebps::SetStreamRateStruct
source · pub struct SetStreamRateStruct {
pub rate: u32,
}
Expand description
Set the frequency to automatically output state messages.
Fields§
§rate: u32
Rate to stream state
messages. 0~100000Hz
-Trait Implementations§
source§impl Clone for SetStreamRateStruct
source§fn clone(&self) -> SetStreamRateStruct
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 SetStreamRateStruct
source§impl Default for SetStreamRateStruct
source§fn default() -> SetStreamRateStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetStreamRateStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetStreamRateStruct
source§impl PartialEq for SetStreamRateStruct
source§fn eq(&self, other: &SetStreamRateStruct) -> bool
This method tests for self
and other
values to be equal, and is used
+Trait Implementations§
source§impl Clone for SetStreamRateStruct
source§fn clone(&self) -> SetStreamRateStruct
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 SetStreamRateStruct
source§impl Default for SetStreamRateStruct
source§fn default() -> SetStreamRateStruct
Returns the “default value” for a type. Read moresource§impl DeserializePayload for SetStreamRateStruct
source§fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for SetStreamRateStruct
source§impl PartialEq for SetStreamRateStruct
source§fn eq(&self, other: &SetStreamRateStruct) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl StructuralPartialEq for SetStreamRateStruct
Auto Trait Implementations§
§impl Freeze for SetStreamRateStruct
§impl RefUnwindSafe for SetStreamRateStruct
§impl Send for SetStreamRateStruct
§impl Sync for SetStreamRateStruct
§impl Unpin for SetStreamRateStruct
§impl UnwindSafe for SetStreamRateStruct
Blanket Implementations§
source§impl StructuralPartialEq for SetStreamRateStruct
Auto Trait Implementations§
§impl Freeze for SetStreamRateStruct
§impl RefUnwindSafe for SetStreamRateStruct
§impl Send for SetStreamRateStruct
§impl Sync for SetStreamRateStruct
§impl Unpin for SetStreamRateStruct
§impl UnwindSafe for SetStreamRateStruct
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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html b/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
index 923051098..b686de60b 100644
--- a/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
+++ b/bluerobotics_ping/bluebps/struct.SetTemperatureMaxStruct.html
@@ -1,11 +1,11 @@
SetTemperatureMaxStruct in bluerobotics_ping::bluebps - Rust
- pub struct SetTemperatureMaxStruct {
+ Struct bluerobotics_ping::bluebps::