Files @ cc569dddb24e
Branch filter:

Location: FeatherHAB/wsprhab/inc/adc.h

Ethan Zonca
Thinks kinda work if we clear the wakeup flags and enable debugging in STOP mode... power usage went up a lot with debug in stop though.
#ifndef __adc_H
#define __adc_H

#include "stm32f0xx_hal.h"


void adc_init(void); 
void adc_start(void);
void adc_stop(void);
uint8_t adc_get_vbatt(void);
int16_t adc_get_dietemp(void);
ADC_HandleTypeDef* adc_gethandle(void);

#endif