All Implemented Interfaces:
SerializableMessage

public class ReadADC
extends BMPRequest<ReadADC.Response>
A request for the board status data from the BMP including voltages, temperatures and fan speeds. The response payload is the board status information structure from the hardware.

Handled in cmd_bmp_info() (in bmp_cmd.c) by reading from the right element of board_stat. The underlying data is synched from the ADC approximately every 80ms by read_adc() in bmp_hw.c, and from the on-board thermometers (LM75B chips) every second by read_temp() in bmp_hw.c (which calls read_ts() in bmp_i2c.c); fan speeds are monitored by counting rotations, under the assumption they significantly less than 60k rpm. The BMP's internal monitoring of these values is done in check_status() in bmp_main.c.