Struct mlx9064x::register::ControlRegister[][src]

pub struct ControlRegister(_);
Expand description

Expose the fields of the control register (0x800D).

Implementations

The default settings (as documented in the datasheet) for the MLX90640.

The default settings (as documented in the datasheet) for the MLX90641.

Check if subpages are enabled.

If subpages are disabled, only one page will be updated.

The default is to use subpages.

Enable or disable the use of subpages.

Check if step mode is enabled.

Melexis no longer includes step mode in the documentation as the cameras are not calibrated to be run in step mode.

In step mode the camera is idle until signalled with StatusRegister::start_measurement, which then starts a single measurement. The default is continuous mode (i.e. step mode disabled).

Enable or disable step mode.

It is not recommended to enable step mode, see step_mode for more details.

Check if data holding is enabled.

By default data is transferred into RAM for each frame, but if this flag is enabled data will only be written into RAM when the StatusRegister::overwrite_enabled flag is set.

Enable or disable data holding.

Check to see if the camera automatically alternates between subpages.

This value only has an effect when use_subpages is enabled. The default is disabled, meaning the camera automatically alternates between subpages.

Enable or disable subpage repetition.

Check which subpage will be written to.

This value only has an effect if both use_subpages and subpage_repeat are enabled. The default is 0.

Set the subpage to update.

The frame rate the camera runs at.

See the note on FrameRate for I²C bus clock rate requirements. The default is 2Hz.

Set the camera’s frame rate.

The resolution to run the internal ADC at.

The default is 18 bits.

Set the camera’s resolution.

The access pattern used by the camera.

The default for the MLX90640 is the chess pattern mode, while the default for the MLX90641 is interleaved.

Set the access pattern to use.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.