Loading...
Searching...
No Matches
example_adc.c File Reference

ADC example. More...

#include <furi.h>
#include <furi_hal.h>
#include <gui/gui.h>
#include <gui/elements.h>
#include <input/input.h>

Data Structures

struct  DataItem
 
struct  Data
 

Macros

#define FONT_HEIGHT   (8u)
 

Typedefs

typedef float(* ValueConverter) (FuriHalAdcHandle *handle, uint16_t value)
 

Functions

int32_t example_adc_main (void *p)
 

Variables

const uint8_t font []
 
const GpioPinRecord item_vref = {.name = "VREF", .channel = FuriHalAdcChannelVREFINT}
 
const GpioPinRecord item_temp = {.name = "TEMP", .channel = FuriHalAdcChannelTEMPSENSOR}
 
const GpioPinRecord item_vbat = {.name = "VBAT", .channel = FuriHalAdcChannelVBAT}
 

Detailed Description

ADC example.