Finished ADC methods

This commit is contained in:
Ea-r-th
2025-09-22 19:36:19 -07:00
parent 9550b1b61d
commit f980e62407
16 changed files with 235 additions and 19 deletions

View File

@@ -22,6 +22,13 @@ void SHAL_init();
//Universal structs and defines ---------------------------
enum class SHAL_Result{
OKAY,
ERROR
};
typedef bool (*condition_fn_t)(void);
#define SHAL_WAIT_FOR_CONDITION_US(cond, timeout_us) \
@@ -31,7 +38,6 @@ typedef bool (*condition_fn_t)(void);
SHAL_wait_for_condition_ms([&](){ return (cond); }, (timeout_ms))
//Currently configures systick to count down in microseconds
void systick_init();