diff options
Diffstat (limited to 'drivers/gadc')
-rw-r--r-- | drivers/gadc/AT91SAM7/gadc_lld_config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gadc/AT91SAM7/gadc_lld_config.h b/drivers/gadc/AT91SAM7/gadc_lld_config.h index 882573c8..8ba71f20 100644 --- a/drivers/gadc/AT91SAM7/gadc_lld_config.h +++ b/drivers/gadc/AT91SAM7/gadc_lld_config.h @@ -60,6 +60,11 @@ */ #define GADC_BITS_PER_SAMPLE AT91_ADC1_RESOLUTION +/** + * @brief The sample format + */ +#define GADC_SAMPLE_FORMAT ARRAY_DATA_10BITUNSIGNED + /* Pull in board specific defines */ #if defined(GADC_USE_CUSTOM_BOARD) && GADC_USE_CUSTOM_BOARD /* Include the user supplied board definitions */ @@ -73,6 +78,6 @@ #endif /* GFX_USE_GADC */ -#endif /* _GDISP_LLD_CONFIG_H */ +#endif /* GADC_LLD_CONFIG_H */ /** @} */ |