Documentation ¶
Overview ¶
Package internal contains code shared between cci and lepton.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Big16 big16
Big16 translates big endian 16bits words but everything larger is in little endian.
It implements binary.ByteOrder.
Functions ¶
Types ¶
type CentiK ¶
type CentiK uint16
CentiK is temperature in 0.01K
It is an implementation detail of the protocol.
func (CentiK) Temperature ¶
func (c CentiK) Temperature() physic.Temperature
Temperature converts a Kelvin measurement to Temperature.
type DurationMS ¶
type DurationMS uint32
DurationMS is duration in millisecond.
It is an implementation detail of the protocol.
func (DurationMS) Duration ¶
func (d DurationMS) Duration() time.Duration
Duration converts a millisecond based timing to time.Duration.
type FFCMode ¶
type FFCMode struct { FFCShutterMode uint32 // Default: FFCShutterModeExternal ShutterTempLockoutState uint32 // Default: ShutterTempLockoutStateInactive VideoFreezeDuringFFC Flag // Default: Enabled FFCDesired Flag // Default: Disabled ElapsedTimeSinceLastFFC DurationMS // Uptime in ms. DesiredFFCPeriod DurationMS // Default: 300000 ExplicitCommandToOpen Flag // Default: Disabled DesiredFFCTempDelta CentiK // Default: 300 ImminentDelay uint16 // Default: 52 }
FFCMode describes the various self-calibration settings and state.
type TelemetryLocation ¶
type TelemetryLocation uint32
TelemetryLocation is used with SysTelemetryLocation.
const ( Header TelemetryLocation = 0 )
Valid values for TelemetryLocation.
Click to show internal directories.
Click to hide internal directories.