mirror of
https://github.com/rfivet/stm32bringup.git
synced 2025-10-18 17:04:02 -04:00
ADC conversion of temperature and voltage internal sensors
This commit is contained in:
9
system.h
9
system.h
@@ -22,4 +22,13 @@ iolvl_t gpioa_read( int pin) ; /* Read level of GPIOA pin */
|
||||
|
||||
void usleep( unsigned usecs) ; /* wait at least usecs us */
|
||||
|
||||
typedef enum {
|
||||
VNT_INIT,
|
||||
VNT_CAL,
|
||||
VNT_RAW,
|
||||
VNT_VNC
|
||||
} vnt_cmd_t ;
|
||||
|
||||
void adc_vnt( vnt_cmd_t cmd, short *ptrV, short *ptrC) ;
|
||||
|
||||
/* end of system.h */
|
||||
|
Reference in New Issue
Block a user