In this tutorial we have explained you about how to use standard peripheral library with STM32L100 discovery board. By using standard periphral library you will come to know about registers using for GPIOs.
amazon india link to buy ST-LINK V2 In-Circuit Programmer Debugger Emulator: https://amzn.to/3htHoE8
amazon india link to buy Sunrobotics ST-LINK V2 STM Programmer: https://amzn.to/3bTGvnv
If you want to buy stm32 discovery board here is the amazon india link: https://amzn.to/2GZ80Az
FB: / embedotronics