example-fs-bb48: ADC use DIV1

This commit is contained in:
NIIBE Yutaka
2016-05-26 09:54:44 +09:00
parent cf81e7a6dc
commit 51cd47c3b7

View File

@@ -114,7 +114,7 @@ static struct ADC *const ADC0 = (struct ADC *const)0x4003B000;
#define ADC_CLOCK_SOURCE ADC_CLOCK_SOURCE_ASYNCH #define ADC_CLOCK_SOURCE ADC_CLOCK_SOURCE_ASYNCH
#define ADC_MODE ADC_MODE_16BIT #define ADC_MODE ADC_MODE_16BIT
#define ADC_ADLSMP ADC_ADLSMP_SHORT #define ADC_ADLSMP ADC_ADLSMP_SHORT
#define ADC_ADIV ADC_ADIV_8 #define ADC_ADIV ADC_ADIV_1
#define ADC_ADLPC ADC_ADLPC_LOWPOWER #define ADC_ADLPC ADC_ADLPC_LOWPOWER
/* CFG2 */ /* CFG2 */