Struct mlx9064x::register::StatusRegister[][src]

pub struct StatusRegister(_);
Expand description

Expose the fields of the status register (0x8000).

Implementations

The subpage which was last updated by the camera. Read-only.

Set when there is new data available in RAM. Read-write.

This flag is enabled by the camera, and can only be reset by the controller.

Reset the data available flag.

Whether data in RAM can be overwritten.

See the documentation for ControlRegister::data_hold for more details on this flag.

Set whether or not data in RAM can be overwritten by the camera.

Whether a step-mode measurement is to be started.

This value must be enabled by the controller, and will then be reset by the camera once the measurement is complete. Each measurement covers one subpage, so if you want to retrieve both subpages you will need to trigger two measurements. This value is only applicable in step mode, and the documentation has been removed from more recent datasheets. See ControlRegister::step_mode for more details.

Signal to the camera that a step mode measurement is to be started.

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

Create a StatusRegister from the raw bytes read from the camera.

This method will panic if there aren’t enough bytes in the slice.

Performs the conversion.

This method only compares non-reserved bits between two registers.

While step mode is no longer documented in the datasheets, it is not considered reserved for this method.

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.