Struct amg88::GridEye[][src]

pub struct GridEye<I2C> { /* fields omitted */ }

Implementations

Retrieve the current power mode the sensor is in. See PowerControlValue for a description of the different modes.

This function will panic if the value read from the device is not one of the documented values.

Set the sensor’s power mode. See PowerControlValue for a description of the different settings as well as the process for waking up from PowerControlValue::Sleep.

Reset status flags and the interrupt table.

Perform a soft-reset, clearing status flags, the interrupt table, and re-read calibration data. This should only be used when moving from PowerControlValue::Sleep to PowerControlValue::Normal.

Get the current camera frame rate.

This function will panic if the value read from the device is not one of the documented values.

Set the camera frame rate.

Check if external interrupts are being generated.

Enable external interrupts.

Disable external interrupts.

Get the current interrupt mode. Interrupts are either generated when a pixel’s value exceeds the interrupt levels (absolute mode), or if the change in temperature exceeds the interrupt levels (difference mode).

Set the interrupt mode.

Get the current status flags.

Check if the temperature overflow flag has been set.

Check if the interrupt flag has been set.

Clear both status flags.

Clear the temperature overflow flag.

Clear the interrupt flag.

Check if moving average mode is enabled.

Enable moving average mode. There’re references to it averaging the values of the last 10 frames of a pixel (twice?), but it isn’t clear how this interacts with the frame rate setting.

Disable moving average mode.

Get the current upper interrupt temperature limit in degrees Celsius.

Get the current lower interrupt temperature limit in degrees Celsius.

Get the current interrupt hysteresis level.

Set the upper interrupt temperature limit in degrees Celsius.

Set the lower interrupt temperature limit in degrees Celsius.

Set the interrupt hysteresis level. The format is the same as the upper and lower levels, but the datasheet isn’t clear how it interacts with the interrupt generation.

Get the temperature of the sensor itself using the built-in thermistor. It has a range of -20° to 80° with a resolution of 0.0625° (all units in Celsius).

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 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.