General-purpose I/Os (GPIO) RM0351
306/1830 DocID024597 Rev 5
a. (this register only applicable for STM32L475xx/476xx/486xx devices)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res. Res.
1514131211109876543210
ASC15 ASC14 ASC13 ASC12 ASC11 ASC10 ASC9 ASC8 ASC7 ASC6 ASC5 ASC4 ASC3 ASC2 ASC1 ASC0
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 31:16 Reserved
Bits 15:0 ASCy: Port x analog switch control y (y= 0..15)
These bits are written by software to configure the analog connection of the IOs
0: Disconnect analog switch to the ADC input (reset state)
1: Connect analog switch to the ADC input
Note: This bis must be set prior to the ADC conversion.
Only the IO which connect to the ADC input are effective. Other IOs must keep their
reset value