Versions in this module Expand all Collapse all v1 v1.0.0 Aug 10, 2017 Changes in this version + type CameraStatus uint32 + const SystemFlatFieldInProcess + const SystemGoingIntoStandby + const SystemInLowPowerMode + const SystemInitializing + const SystemReady + func (i CameraStatus) String() string + type Dev struct + func New(i i2c.Bus) (*Dev, error) + func (d *Dev) GetFFCModeControl() (*FFCMode, error) + func (d *Dev) GetSerial() (uint64, error) + func (d *Dev) GetShutterPos() (ShutterPos, error) + func (d *Dev) GetStatus() (*Status, error) + func (d *Dev) GetTemp() (devices.Celsius, error) + func (d *Dev) GetTempHousing() (devices.Celsius, error) + func (d *Dev) GetUptime() (time.Duration, error) + func (d *Dev) Halt() error + func (d *Dev) Init() error + func (d *Dev) RunFFC() error + func (d *Dev) WaitIdle() (StatusBit, error) + type FFCMode struct + DesiredFFCPeriod time.Duration + DesiredFFCTempDelta devices.Celsius + ElapsedTimeSinceLastFFC time.Duration + ExplicitCommandToOpen bool + FFCDesired bool + FFCShutterMode FFCShutterMode + ImminentDelay uint16 + ShutterTempLockoutState ShutterTempLockoutState + VideoFreezeDuringFFC bool + type FFCShutterMode uint32 + const FFCShutterModeAuto + const FFCShutterModeExternal + const FFCShutterModeManual + func (i FFCShutterMode) String() string + type FFCState uint8 + const FFCComplete + const FFCInProgress + const FFCNever + func (i FFCState) String() string + type ShutterPos uint32 + const ShutterPosBrakeOn + const ShutterPosClosed + const ShutterPosIdle + const ShutterPosOpen + const ShutterPosUnknown + func (i ShutterPos) String() string + type ShutterTempLockoutState uint32 + const ShutterTempLockoutStateHigh + const ShutterTempLockoutStateInactive + const ShutterTempLockoutStateLow + func (i ShutterTempLockoutState) String() string + type Status struct + CameraStatus CameraStatus + CommandCount uint16 + type StatusBit uint16 + const StatusBootNormal + const StatusBooted + const StatusBusy + const StatusErrorMask + func (s StatusBit) String() string Incompatible versions in this module v2.0.0+incompatible Aug 25, 2017