STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
boot_report.c File Reference
#include "boot_report.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "self_test_devices.h"
Include dependency graph for boot_report.c:

Go to the source code of this file.

Classes

struct  text_t

Functions

static const char * device_name (uint16_t id)
static const char * result_name (self_test_result_t r)
const char * boot_verdict_name (boot_verdict_t v)
static void put (text_t *t, const char *fmt,...)
void boot_report_build (boot_report_t *r, const self_test_status_t *s, battery_t battery, uint32_t now_ms)

Function Documentation

◆ boot_report_build()

◆ boot_verdict_name()

const char * boot_verdict_name ( boot_verdict_t v)

Definition at line 49 of file boot_report.c.

References BOOT_READY, and BOOT_WARN.

Referenced by boot_report_build().

◆ device_name()

◆ put()

void put ( text_t * t,
const char * fmt,
... )
static

◆ result_name()

const char * result_name ( self_test_result_t r)
static