pub struct Model138 {
pub act_crv: u16,
pub mod_ena: ModEna,
pub win_tms: Option<u16>,
pub rvrt_tms: Option<u16>,
pub rmp_tms: Option<u16>,
pub n_crv: u16,
pub n_pt: u16,
pub tms_sf: i16,
pub v_sf: i16,
}
Expand description
HVRTC
HVRT must remain connected
Notes: Ref 4: 11
Fields§
§act_crv: u16
ActCrv
Index of active curve. 0=no active curve.
mod_ena: ModEna
ModEna
HVRT control mode. Enable active curve. Bitfield value.
win_tms: Option<u16>
WinTms
Time window for HVRT change.
Notes: Setting is ignored for HVRT controls.
rvrt_tms: Option<u16>
RvrtTms
Timeout period for HVRT curve selection.
Notes: Setting is ignored for HVRT controls.
rmp_tms: Option<u16>
RmpTms
Ramp time for moving from current mode to new mode.
Notes: Setting is ignored for HVRT controls.
n_crv: u16
NCrv
Number of curves supported (recommend 4).
n_pt: u16
NPt
Number of curve points supported (maximum of 20).
tms_sf: i16
Tms_SF
Scale factor for duration.
v_sf: i16
V_SF
Scale factor for percent VRef.
Implementations§
Source§impl Model138
impl Model138
pub const ACT_CRV: Point<Self, u16>
pub const MOD_ENA: Point<Self, ModEna>
pub const WIN_TMS: Point<Self, Option<u16>>
pub const RVRT_TMS: Point<Self, Option<u16>>
pub const RMP_TMS: Point<Self, Option<u16>>
pub const N_CRV: Point<Self, u16>
pub const N_PT: Point<Self, u16>
pub const TMS_SF: Point<Self, i16>
pub const V_SF: Point<Self, i16>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Model138
impl RefUnwindSafe for Model138
impl Send for Model138
impl Sync for Model138
impl Unpin for Model138
impl UnwindSafe for Model138
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