xiaoxiang781216 commented on code in PR #7595: URL: https://github.com/apache/incubator-nuttx/pull/7595#discussion_r1024224412
########## arch/arm/src/sama5/hardware/sam_adc.h: ########## @@ -501,6 +523,12 @@ #define ADC_ACR_PENDETSENS_MASK (3 << ADC_ACR_PENDETSENS_SHIFT) # define ADC_ACR_PENDETSENS(n) ((uint32_t)(n) << ADC_ACR_PENDETSENS_SHIFT) +#if defined (ATSAMA5D2) +#define ADC_ACR_IBTL_SHIFT (8) /* Bits 8-9: ADC Bias Current Control */ +#define ADC_ACR_IBCTL_MASK (3 << ADC_ACR_IBTL_SHIFT) Review Comment: ```suggestion # define ADC_ACR_IBCTL_MASK (3 << ADC_ACR_IBTL_SHIFT) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org