5 #ifndef MAX30001G_TYPEDEFS_H
6 #define MAX30001G_TYPEDEFS_H
#define MAX30001_BIOZ_NUM_FREQUENCIES
Definition: max30001g_defs.h:11
BIOZScanPhaseRange
BIOZ scan phase-density selection.
Definition: max30001g_typedefs.h:52
@ BIOZ_SCAN_PHASE_FULL
Definition: max30001g_typedefs.h:53
@ BIOZ_SCAN_PHASE_REDUCED
Definition: max30001g_typedefs.h:54
BIOZScanConfig configuration structure fields:
Definition: max30001g_typedefs.h:77
BIOZScanConfig()
Definition: max30001g_typedefs.h:98
bool use_internal_resistor
Definition: max30001g_typedefs.h:81
uint8_t internal_bist_ahpf
Definition: max30001g_typedefs.h:93
uint8_t freq_end_index
Definition: max30001g_typedefs.h:91
bool fourleads
Definition: max30001g_typedefs.h:80
int32_t initial_current_nA
Definition: max30001g_typedefs.h:94
float high_target_fraction
Definition: max30001g_typedefs.h:85
BIOZScanPhaseRange phase_range
Definition: max30001g_typedefs.h:92
uint8_t settle_samples
Definition: max30001g_typedefs.h:95
float target_fraction
Definition: max30001g_typedefs.h:86
uint8_t freq_start_index
Definition: max30001g_typedefs.h:90
float low_target_fraction
Definition: max30001g_typedefs.h:84
float outlier_sigma
Definition: max30001g_typedefs.h:88
uint8_t outlier_min_samples
Definition: max30001g_typedefs.h:87
uint8_t avg
Definition: max30001g_typedefs.h:78
uint16_t internal_resistor_ohm
Definition: max30001g_typedefs.h:82
uint16_t timeout_margin_ms
Definition: max30001g_typedefs.h:89
bool fast
Definition: max30001g_typedefs.h:79
uint8_t max_retries
Definition: max30001g_typedefs.h:83
uint8_t current_change_settle_samples
Definition: max30001g_typedefs.h:96
ConfigSnapshot structure for storing/restoring MAX30001G register configurations.
Definition: max30001g_typedefs.h:125
uint32_t cnfg_rtor2
Definition: max30001g_typedefs.h:139
uint32_t en_int2
Definition: max30001g_typedefs.h:128
uint32_t cnfg_bioz
Definition: max30001g_typedefs.h:136
uint32_t en_int1
Definition: max30001g_typedefs.h:127
uint32_t cnfg_gen
Definition: max30001g_typedefs.h:131
uint32_t cnfg_emux
Definition: max30001g_typedefs.h:133
uint32_t mngr_dyn
Definition: max30001g_typedefs.h:130
uint32_t mngr_int
Definition: max30001g_typedefs.h:129
uint32_t cnfg_ecg
Definition: max30001g_typedefs.h:134
uint32_t cnfg_bmux
Definition: max30001g_typedefs.h:135
uint32_t cnfg_cal
Definition: max30001g_typedefs.h:132
uint32_t cnfg_bioz_lc
Definition: max30001g_typedefs.h:137
bool valid
Definition: max30001g_typedefs.h:126
uint32_t cnfg_rtor1
Definition: max30001g_typedefs.h:138
HealthCheckResult structure for storing health check results.
Definition: max30001g_typedefs.h:39
bool spi_ok
Definition: max30001g_typedefs.h:40
bool pll_unlocked
Definition: max30001g_typedefs.h:43
uint32_t info_reg
Definition: max30001g_typedefs.h:41
uint32_t status_reg
Definition: max30001g_typedefs.h:42
bool fault_present
Definition: max30001g_typedefs.h:44
ImpedanceModel structure for storing impedance measurement results.
Definition: max30001g_typedefs.h:16
float phase
Definition: max30001g_typedefs.h:18
float magnitude
Definition: max30001g_typedefs.h:17
ImpedanceSpectrum structure for storing one full BIOZ sweep.
Definition: max30001g_typedefs.h:25
float magnitude[MAX30001_BIOZ_NUM_FREQUENCIES]
Definition: max30001g_typedefs.h:27
float phase[MAX30001_BIOZ_NUM_FREQUENCIES]
Definition: max30001g_typedefs.h:28
float frequency[MAX30001_BIOZ_NUM_FREQUENCIES]
Definition: max30001g_typedefs.h:26