2018-08-06 21:30:05 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2018-07-29 17:28:59 -03:00
|
|
|
float32 voltage5v_v # peripheral 5V rail voltage
|
2020-10-29 07:07:07 -03:00
|
|
|
float32[4] sensors3v3 # Sensors 3V3 rail voltage
|
|
|
|
uint8 sensors3v3_valid # Sensors 3V3 rail voltage was read (bitfield).
|
2015-05-27 02:47:08 -03:00
|
|
|
uint8 usb_connected # USB is connected when 1
|
2017-06-29 19:22:22 -03:00
|
|
|
uint8 brick_valid # brick bits power is good when bit 1
|
2017-09-29 16:21:13 -03:00
|
|
|
uint8 usb_valid # USB is valid when 1
|
2015-05-27 02:47:08 -03:00
|
|
|
uint8 servo_valid # servo power is good when 1
|
2018-07-29 17:28:59 -03:00
|
|
|
uint8 periph_5v_oc # peripheral overcurrent when 1
|
2020-12-15 04:18:05 -04:00
|
|
|
uint8 hipower_5v_oc # high power peripheral overcurrent when 1
|
2021-01-14 08:59:43 -04:00
|
|
|
uint8 comp_5v_valid # 5V to companion valid
|
|
|
|
uint8 can1_gps1_5v_valid # 5V for CAN1/GPS1 valid
|
2017-06-29 19:22:22 -03:00
|
|
|
|
|
|
|
uint8 BRICK1_VALID_SHIFTS=0
|
|
|
|
uint8 BRICK1_VALID_MASK=1
|
|
|
|
uint8 BRICK2_VALID_SHIFTS=1
|
|
|
|
uint8 BRICK2_VALID_MASK=2
|
|
|
|
uint8 BRICK3_VALID_SHIFTS=2
|
|
|
|
uint8 BRICK3_VALID_MASK=4
|
|
|
|
uint8 BRICK4_VALID_SHIFTS=3
|
2017-07-10 14:14:00 -03:00
|
|
|
uint8 BRICK4_VALID_MASK=8
|