Enum amg88::Register[][src]

#[repr(u8)]
pub enum Register {
Show 14 variants PowerControl, Reset, FrameRate, InterruptControl, Status, StatusClear, Average, AverageData, InterruptLevelHighLower, InterruptLevelLowLower, InterruptHysteresisLower, ThermistorLower, InterruptTableStart, PixelTemperatureStart,
}
Expand description

The registers used to access the Grid-EYE.

Variants

PowerControl

See PowerControlValue for details on values Read/write.

Reset

See ResetValue for details on values. Write-only.

FrameRate

See FrameRateValue for details on values. Read/write.

InterruptControl

See InterruptControlValue for details on values. Read/write.

Status

The status flags for the device. The flags will remain set until cleared by writing to [StatusClear]. Read-only.

StatusClear

Clear one or both of the status flags for the device. Write-only.

Average

Whether or not the pixel values should be overaged or not. Read/write.

AverageData

A semi-documented register that is written to when changing the moving average mode. Write-only.

InterruptLevelHighLower

The upper temperature limit for triggering an interrupt. This is in the pixel temperature format. Read/write.

InterruptLevelLowLower

The lower temperature limit for triggering an interrupt. This is in the pixel temperature format. Read/write.

InterruptHysteresisLower

The hysteresis limit for triggering an interrupt. The datasheet isn’t very clear as to how this value is used. This is in the pixel temperature format. Read/write.

ThermistorLower

The sensor has an on-board thermistor useful for for calibrating the output of the camera. This is in the thermistor temperature format. Read-only.

InterruptTableStart

The first register of the interrupt table. It continues up through 0x17 with each register representing a bitfield of whether or not that pixel in the image has triggered an interrupt. The first bit of the first register is pixel 1, with the rest of the pixels following in order from there (see identifying pixels). Read-only.

PixelTemperatureStart

The lower bits of the temperature of pixel 1. The upper bits are in the register following this one, with the lower bits for pixel 2 after that and so on up through 0xFF. This is in the pixel temperature format.

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.

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

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

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.