pub struct DIGICAM_CONTROL_DATA {
pub extra_value: f32,
pub target_system: u8,
pub target_component: u8,
pub session: u8,
pub zoom_pos: u8,
pub zoom_step: i8,
pub focus_lock: u8,
pub shot: u8,
pub command_id: u8,
pub extra_param: u8,
}Available on crate feature
storm32 only.Expand description
Control on-board Camera Control System to take shots.
ID: 155
Fields§
§extra_value: f32Correspondent value to given extra_param.
target_system: u8System ID.
target_component: u8Component ID.
session: u80: stop, 1: start or keep it up //Session control e.g. show/hide lens.
zoom_pos: u81 to N //Zoom’s absolute position (0 means ignore).
zoom_step: i8-100 to 100 //Zooming step value to offset zoom from the current position.
focus_lock: u80: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus.
shot: u80: ignore, 1: shot or start filming.
command_id: u8Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once.
extra_param: u8Extra parameters enumeration (0 means ignore).
Implementations§
Source§impl DIGICAM_CONTROL_DATA
impl DIGICAM_CONTROL_DATA
pub const ENCODED_LEN: usize = 13usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for DIGICAM_CONTROL_DATA
impl Clone for DIGICAM_CONTROL_DATA
Source§fn clone(&self) -> DIGICAM_CONTROL_DATA
fn clone(&self) -> DIGICAM_CONTROL_DATA
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DIGICAM_CONTROL_DATA
impl Debug for DIGICAM_CONTROL_DATA
Source§impl Default for DIGICAM_CONTROL_DATA
impl Default for DIGICAM_CONTROL_DATA
Source§impl<'de> Deserialize<'de> for DIGICAM_CONTROL_DATA
impl<'de> Deserialize<'de> for DIGICAM_CONTROL_DATA
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageData for DIGICAM_CONTROL_DATA
impl MessageData for DIGICAM_CONTROL_DATA
Source§impl PartialEq for DIGICAM_CONTROL_DATA
impl PartialEq for DIGICAM_CONTROL_DATA
Source§impl Serialize for DIGICAM_CONTROL_DATA
impl Serialize for DIGICAM_CONTROL_DATA
impl StructuralPartialEq for DIGICAM_CONTROL_DATA
Auto Trait Implementations§
impl Freeze for DIGICAM_CONTROL_DATA
impl RefUnwindSafe for DIGICAM_CONTROL_DATA
impl Send for DIGICAM_CONTROL_DATA
impl Sync for DIGICAM_CONTROL_DATA
impl Unpin for DIGICAM_CONTROL_DATA
impl UnwindSafe for DIGICAM_CONTROL_DATA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more