<p><b>@gschorcht</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/11337#discussion_r278279454">cpu/esp32/periph/adc_ctrl.c</a>:</p>
<pre style='color:#555'>> +
+    /* SAR ADC2 controller configuration */
+    SENS.sar_read_ctrl2.sar2_dig_force = 0;     /* SAR ADC2 controlled by RTC not DIG*/
+    SENS.sar_meas_start2.meas2_start_force = 1; /* SAR ADC2 started by SW */
+    SENS.sar_meas_start2.sar2_en_pad_force = 1; /* pad enable bitmap controlled by SW */
+    SENS.sar_read_ctrl2.sar2_data_inv = 1;      /* invert data */
+    SENS.sar_atten2 = 0xffffffff;               /* set attenuation to 11 dB for all pads
+                                                   (input range 0 ... 3,3 V) */
+    /* set default resolution */
+    SENS.sar_start_force.sar2_bit_width = ADC_RES_12BIT;
+    SENS.sar_read_ctrl2.sar2_sample_bit = ADC_RES_12BIT;
+
+    _adc2_ctrl_initialized = true;
+}
+
+extern const gpio_t _gpio_rtcio_map[];
</pre>
<p>of course</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11337#discussion_r278279454">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYAR63ESZXQDNHJVXNLPSCXELANCNFSM4HDOLO2A">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYCKUV7MD2M76FZCY5TPSCXELANCNFSM4HDOLO2A.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gschorcht commented on #11337"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11337#discussion_r278279454"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11337#discussion_r278279454",
"url": "https://github.com/RIOT-OS/RIOT/pull/11337#discussion_r278279454",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>