Introduces Si4684/ADAU1701 drivers, TunerService, FrequencyKHz, SeekDirection, /api/tuner routes without file-scope globals, host tests, and firmware blob tooling (binaries remain gitignored). Co-authored-by: Cursor <cursoragent@cursor.com>
45 lines
822 B
C++
45 lines
822 B
C++
/**
|
|
* @file Si4684Error.hpp
|
|
* @brief Typed errors for Si4684 driver operations.
|
|
*
|
|
* DigiRadio firmware — https://github.com/manvalan/DigiRadio
|
|
*
|
|
* Copyright 2026 Michele Bigi
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* @author Michele Bigi
|
|
* @date 2026-07-06
|
|
*/
|
|
#pragma once
|
|
|
|
namespace si4684 {
|
|
|
|
/**
|
|
* @brief Si4684Error — failure causes for Si4684 bring-up and tuning.
|
|
*
|
|
* @dname Si4684Error
|
|
* @return n/a (type)
|
|
* @pubstate n/a
|
|
*
|
|
* @author Michele Bigi
|
|
* @date 2026-07-06
|
|
*/
|
|
enum class Si4684Error {
|
|
SpiInitFailed,
|
|
ResetFailed,
|
|
CtsTimeout,
|
|
PowerUpFailed,
|
|
PatchLoadFailed,
|
|
ImageLoadFailed,
|
|
BootFailed,
|
|
NotBooted,
|
|
WrongBand,
|
|
CommandFailed,
|
|
StcTimeout,
|
|
TuneFailed,
|
|
ReplyTooShort,
|
|
BufferTooSmall,
|
|
};
|
|
|
|
} // namespace si4684
|