STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
SensorSelfTest::AdcSelfTestResult Struct Reference

ADC self-test via internal TDAC. More...

#include <SensorSelfTest.h>

Public Attributes

bool passed
int32_t code
bool checksum_valid

Detailed Description

ADC self-test via internal TDAC.

Sets TDACP to 0.6*VDD and TDACN to 0.5*VDD. Muxes TDAC vs TDAC, uses VDD reference (5V). Reads and checks that the code is near ADC_TDAC_EXPECTED_CODE. Restores original reference, mux, and turns off TDAC after test.

Definition at line 48 of file SensorSelfTest.h.

Member Data Documentation

◆ checksum_valid

bool SensorSelfTest::AdcSelfTestResult::checksum_valid

Definition at line 51 of file SensorSelfTest.h.

◆ code

int32_t SensorSelfTest::AdcSelfTestResult::code

Definition at line 50 of file SensorSelfTest.h.

◆ passed

bool SensorSelfTest::AdcSelfTestResult::passed

Definition at line 49 of file SensorSelfTest.h.

Referenced by test_ota_flash.Results::check().


The documentation for this struct was generated from the following file: