mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
既知の不具合 Vol値が突然不正になることがある。ADCの値がおかしい。 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@3 013db118-44a6-b54f-8bf7-843cb86687b1
16 lines
228 B
C
16 lines
228 B
C
#ifndef __adc__
|
|
#define __adc__
|
|
|
|
#include "jhl_defs.h"
|
|
|
|
#define ADC_SEL_3D 0x06
|
|
#define ADC_SEL_VOL 0x07
|
|
#define ADC_SEL_BATT_TEMP 0x08
|
|
#define ADC_SEL_BATT_DET 0x09
|
|
|
|
|
|
u16 get_adc( u8 ch );
|
|
|
|
|
|
#endif
|