C# Class Emlid.WindowsIot.Hardware.Components.Ms5611.Ms5611PromData

Defines the PROM of the Ms5611Device.
ファイルを表示 Open project: emlid/Navio-SDK-Windows-IoT Class Usage Examples

Public Methods

Method Description
Read ( byte buffer ) : bool

Validates then reads properties from a PROM data set (bytes read from all coefficients/memory).

Validate ( byte buffer ) : bool

Validates a PROM data set (bytes read from all coefficients/memory).

Private Methods

Method Description
ReadCoefficient ( byte buffer, int offset ) : ushort

Method Details

Read() public method

Validates then reads properties from a PROM data set (bytes read from all coefficients/memory).
public Read ( byte buffer ) : bool
buffer byte PROM data buffer to read.
return bool

Validate() public static method

Validates a PROM data set (bytes read from all coefficients/memory).
public static Validate ( byte buffer ) : bool
buffer byte PROM data buffer to validate.
return bool